Enabling VTS L2 High Availability
To enable VTC L2 HA, VTC1 and VTC2 must be on the same subnet.
Spawn two VTC VMs. At a minimum, you would need to have three IP addresses for VTC. One for VTC1, One for VTC2, one for the public Virtual IP (VIP). If you are using VTFs, you will also need one for the private VIP, which other devices on the private network such as the VTF can reach.
Note |
Cisco VTS supports dual stack clusters for L2 HA. Have both the VTCs (vts01 and vts02) installed and configured with IPv6 & IPv4 address for dual stack to be supported. Both of the VTCs should be reachable by any means with IPv6 address or IPv4 address. |
Note |
Before enabling HA, make sure that both VTC 1 and VTC 2 have the same password. If not, go to the VTC GUI and do a change password on newly brought up VTC, to make the password identical with that of the other VTC . When you upgrade a VTC / bring up a new VTC / do a hardware upgrade of VTC host, you should make sure that password is the same. |
Enabling VTS L2 HA involves:
Setting up the VTC Environment
You need to set up the VTC environment before you run the high availability script.
Procedure
Step 1 |
Create a copy of cluster.conf file from cluster.conf.tmpl, which is under the /opt/vts/etc directory. For example:
|
||
Step 2 |
Specify the VIP address and the details of the two nodes in cluster.conf file . For example:
|
Enabling VTC High Availability
You must run the cluster_install.sh script on both VTCs to enable high availability.
Procedure
Step 1 |
Run the cluster installer script /opt/vts/bin/cluster_install.sh on both VTC1 and VTC2 . For example:
|
Step 2 |
Check the status on both the nodes to verify whether both nodes online, and node which got installed first is the master, and the other, slave. For example:
|
Registering vCenter to VTC
To do this:
Procedure
Step 1 |
Log in to VCSA. |
||
Step 2 |
Go to Networking > Distributed Virtual Switch > Manage > VTS.
|
||
Step 3 |
Click on System Configuration |
||
Step 4 |
Enter the following:
|
||
Step 5 |
Click Update. |
Enabling VTSR High Availability
You need to enable VTSR HA, if you have VTFs in your setup. For information about enabling VTSR HA, see Installing VTSR in High Availability Mode.