A VCS cluster is formed between virtual machines (VMs) and one of the virtual machines is migrated from one host to another host. During a virtual machine migration, if the VM takes more than 16 seconds to migrate to the target node, one of the VMs panics. In this case, 16 seconds is the default value of the LLT peerinact parameter. You can increase the peerinact value to allow sufficient time for the VM to migrate. You can adjust this time based on the environment in which you initiate the VM migration.
To avoid false failovers for virtual machine migration, you can change the peerinact value using the following methods:
To set the peerinact value dynamically using lltconfig command
If not, increase the peer inactive timeout to an appropriate value on all the nodes in the cluster before beginning the migration.
For example, to set the LLT peerinact timeout to 20 seconds, use the following command:
# lltconfig -T peerinact:2000
The value of the peerinact command is in .01 seconds.
# lltconfig -T query
Current LLT timer values (.01 sec units): heartbeat = 50 heartbeatlo = 100 peertrouble = 200 peerinact = 2000 oos = 10 retrans = 10 service = 100 arp = 30000 arpreq = 3000 Current LLT flow control values (in packets): lowwater = 40
To make the LLT peerinact value persistent across reboots:
/etc/llttab
file to set the LT peerinact value to 20 seconds:set-timer peerinact:2000
After appending the above line, /etc/llttab
file should appear similar to the following:
# cat /etc/llttab set-node sys1 set-cluster 1234 link eth2 eth-00:15:17:48:b5:80 - ether - - link eth3 eth-00:15:17:48:b5:81 - ether - - set-timer peerinact:2000
For more information on VCS commands, see the Cluster Server Administrator's Guide.
For attributes related to migration, see the Cluster Server Bundled Agents Reference Guide.