VCS 6.1 : Understanding VCS Environment Variables

vcs-how-to Understanding VCS default Environmental Variables and their Default values will help us troubleshooting performance related issues.

PERL5LIB :

Root directory for Perl executables. (applicable only for Windows)
Default: Install Drive:\Program Files\VERITAS\cluster server\lib\perl5.
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_DEBUG_LOG_TAGS :

Enables debug logs for the VCS engine, VCS agents, and HA commands. You must set VCS_DEBUG_LOG_TAGS before you start HAD or before you execute HA commands.
You can also export the variable from the /opt/VRTSvcs/bin/vcsenv file.
VCS_DOMAIN : The Security domain to which the VCS users belong. Symantec Product Authentication Service uses this environment variable to authenticate VCS users on a remote host.
Default: Fully qualified host name of the remote host as defined in the VCS_HOST environment variable or in the .vcshost file.

VCS_DOMAINTYPE :

The type of Security domain such as unixpwd, nt, nis, nisplus, ldap, or vx. Symantec Product Authentication Service uses this environment variable to authenticate VCS users on a remote host.
Default: unixpwd

VCS_DIAG :

Directory where VCS dumps HAD cores and FFDC data.

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: 30000 (denotes 30 seconds)
Range: 30000 to 300000 (denotes 30 seconds to 300 seconds)
If you set VCS_GAB_TIMEOUT to a value outside the range, the value is automatically reset to 30000 or 300000, depending on the proximity of the value to the lower limit or upper limit of the range. For example, the value is reset to 30000 if you specify 22000 and to 300000 if you specify 400000.
Irrespective of the values set, VCS_GAB_TIMEOUT_SECS overrides VCS_GAB_TIMEOUT if both are specified.
Note:  If the specified timeout is exceeded, GAB kills HAD, and all active service groups on the system are disabled.

VCS_GAB_TIMEOUT_SECS :

Timeout in seconds for HAD to send heartbeats to GAB under normal system load conditions.
Default: 30 seconds
Range: 30 seconds to 300 seconds
If you set VCS_GAB_TIMEOUT_SECS to a value outside the range, the value is automatically reset to 30 or 300, depending on the proximity of the value to the lower limit or upper limit of the range. For example, the value is reset to 30 if you specify 22 and to 300 if you specify 400. Irrespective of the values set, VCS_GAB_TIMEOUT_SECS overrides VCS_GAB_TIMEOUT if both are specified.
Note: If the specified timeout is exceeded, GAB kills HAD, and all active service groups on the system are disabled.

VCS_GAB_PEAKLOAD_TIMEOUT_SECS :

Timeout in seconds for HAD to send heartbeats to GAB under peak system load conditions.
Default: 30 seconds
Range: 30 seconds to 300 seconds
To set the GAB tunables in adaptive mode, you must set VCS_GAB_PEAKLOAD_TIMEOUT_SECS to a value that exceeds VCS_GAB_TIMEOUT_SECS.
If you set  CS_GAB_PEAKLOAD_TIMEOUT_SECS to a value that is lower than VCS_GAB_TIMEOUT_SECS, it is reset to VCS_GAB_TIMEOUT_SECS.
Note: If the specified timeout is exceeded, GAB kills HAD, and all active service groups on the system are disabled.

VCS_GAB_RMTIMEOUT :

Timeout in milliseconds for HAD to register with GAB.
Default: 200000 (denotes 200 seconds)
If you set VCS_GAB_RMTIMEOUT to a value less than 200000, the value is automatically reset to 200000.

VCS_GAB_RMACTION :

Controls the GAB behavior when VCS_GAB_RMTIMEOUT exceeds.
You can set the value as follows:
panic – GAB panics the system

SYSLOG:

GAB logs an appropriate message
Default: SYSLOG

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-app
Note: Before you start the VCS engine (HAD), configure the specified service. If a service is not specified, the VCS engine starts with port 14141. The cluster-level attribute OpenExternalCommunicationPort determines whether the port is open or not.

VCS_TEMP_DIR :

Directory in which temporary information required by, or generated by, hacf is stored.
Default: /var/VRTSvcs
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.

Environment variables to start and stop VCS modules

AMF_START :

Startup mode for the AMF driver. By default, the AMF driver is enabled to start up after a system reboot.
This environment variable is defined in the following file:
/etc/default/amf
Default: 1

AMF_STOP :

Shutdown mode for the AMF driver. By default, the AMF driver is enabled to stop during a system shutdown.
This environment variable is defined in the following file:
/etc/default/amf
Default: 1

LLT_START :

Startup mode for LLT. By default, LLT is enabled to start up after a system reboot.
This environment variable is defined in the following file:
/etc/default/llt
Default: 1

LLT_STOP :

Shutdown mode for LLT. By default, LLT is enabled to stop during a system shutdown.
This environment variable is defined in the following file:
/etc/default/llt
Default: 1

GAB_START :

Startup mode for GAB. By default, GAB is enabled to start up after a system reboot.
This environment variable is defined in the following file:
/etc/default/gab
Default: 1

GAB_STOP :

Shutdown mode for GAB. By default, GAB is enabled to stop during a system shutdown.
This environment variable is defined in the following file:
/etc/default/gab
Default: 1

VXFEN_START :

Startup mode for VxFEN. By default, VxFEN is enabled to start up after a system reboot.
This environment variable is defined in the following file:
/etc/default/vxfen
Default: 1

VXFEN_STOP :

Shutdown mode for VxFEN. By default, VxFEN is enabled to stop during a system shutdown.
This environment variable is defined in the following file:
/etc/default/vxfen
Default: 1

VCS_START :

Startup mode for VCS engine. By default, VCS engine is enabled to start up after a system reboot.
This environment variable is defined in the following file:
/etc/default/vcs
Default: 1

VCS_STOP :

Shutdown mode for VCS engine. By default, VCS engine is enabled to stop during a system shutdown.
This environment variable is defined in the following file:
/etc/default/vcs
Default: 1
Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us