Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 User's Guide   

VCS Environment Variables

VCS environment variables can be defined in the file vcsenv, which is located at the path /opt/VRTSvcs/bin/. These variables are set for VCS when the hastart command is invoked.

Variable Definition and Default Value

VCS_CONF

Root directory for VCS configuration files.

Default: /etc/VRTSvcs



Note    If this variable is added or modified you must reboot the system to apply the changes.

VCS_ENABLE_LDF

Designates whether or not log data files (LDFs) are generated. If set to 1, LDFs are generated. If set to 0, they are not.

VCS_HOME

Root directory for VCS executables.

Default: /opt/VRTSvcs

VCS_HOST

VCS node on which ha commands will be run.

VCS_GAB_PORT

GAB port to which VCS connects.

Default: h

VCS_GAB_TIMEOUT

Timeout in milliseconds for HAD to send heartbeats to GAB.

Default: 15000



Note    If the specified timeout is exceeded, GAB kills HAD, and all active service groups on system are disabled.

VCS_HAD_RESTART_TIMEOUT

Set this variable to designate the amount of time the hashadow process waits (sleep time) before restarting HAD.

Default: 0

VCS_LOG

Root directory for log files and temporary files.

Default: /var/VRTSvcs



Note    If this variable is added or modified you must reboot the system to apply the changes.

VCS_SERVICE

Name of configured VCS service.

Default: vcs



Note    The specified service should be configured before starting the VCS engine (HAD). If a service is not specified, the VCS engine starts with port 14141.

VCS_TEMP_DIR

Directory in which temporary information required by, or generated by, hacf is stored.

Default: /var/VRTSvcs



Note    This directory is created in /tmp under the following conditions:
  • The variable is not set.
  • The variable is set but the directory to which it is set does not exist.
  • The utility hacf cannot find the default location.
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 User's Guide  
VERITAS Software Corporation
www.veritas.com