How to change the default gab timeout value (VCS_GAB_TIMEOUT) in VCS

Article: 100023188
Last Published: 2011-04-19
Ratings: 0 0
Product(s): InfoScale & Storage Foundation

Problem

By default, the VCS_GAB_TIMEOUT is set for 15 seconds (15000 milliseconds).This indicates that if, after 15 seconds GAB has not responded, the High Availability Daemon (HAD)  will be restarted. This would occur in environments where the systems are heavily taxed by excessively high CPU and system resource usage. In some instances, it may be necessary to modify the default timeout value to alleviate the issues. Please be advised that while this will eliminate or allow for longer gaps in response time for GAB, it will NOT correct the underlying resource issue on the client's system.

Solution

VCS_GAB_TIMEOUT value by default is 15000 milliseconds
 
You may increase the VCS_GAB_TIMEOUT from 15000 msec (15 sec)  to 30000 msec (30 sec)  by editing " /opt/VRTSvcs/bin/vcsenv"
 

Example: increase the value from 15 sec to 30 sec.

- Edit the file   /opt/VRTSvcs/bin/vcsenv
- Add the following lines to change the gab timeout value to 30000 ms.
------------------------------------------
VCS_GAB_TIMEOUT=30000; export VCS_GAB_TIMEOUT  
------------------------------------------

Note: Cluster needs to be restarted for this change to take effect.
 
Stop VCS on all nodes:
# hastop -all -force

Start VCS on all nodes:
# hastart


You can verify from the engine_A.log the value was changed once you started HAD.
-------------------------------------------
2009/07/15 12:43:19 VCS NOTICE V-16-1-10619 'HAD' starting on: system-02
2009/07/15 12:43:20 VCS INFO V-16-1-10125
GAB timeout set to 30000 ms
-------------------------------------------
 

 

 

 

Was this content helpful?