Site icon Default Reasoning

How to configure vCenter High Availability

vCenter High Availablity - 01

One of the coolest features in vSphere 6.5 is the vCenter High Availability. This solution provides automated failover from active to passive vCenter node with expected RTO < 5 mins. The mechanism uses synchronous replication so there is no data loss and it operates in an Active/Passive configuration with a Witness node. vCenter High Availability feature is only available on the vCenter Server Appliance.

Requirements for vCenter High Availability

Enable vCenter High Availability

When you click the Configure button you will be presented with 2 options:

Before you continue, I assume you have created a dedicated, private portgroup for vCenter High Availability. Also, SSH must be enabled on the vCenter Server Appliance.

  1. Login to the vCenter Server Appliance with the administrator account.
  2. From Home, go to Hosts and Clusters. Make sure the vCenter Server object is selected on the left pane. Click the Configure tab and under Settings, select vCenter HA. Click the Configure.
  3. For sake of simplicity, select Basic as the configuration option and click Next.
  4. Provide the IP address, subnet mask and select the vCenter HA network.
  5. Next, enter the IP address for the Passive and the Witness node. Note that you can change some additional settings like DNS etc. after the failover when you click the Advanced button.
  6. Select the location, network and storage for each node. Click Next.
  7. Review the configuration and click Finish to start the deployment process.

Cloning the passive and witness nodes, configuring the vCenter HA cluster will take some time.

The next step is configuring the anti-affinity rules. Make sure that all nodes are separated and running on a separate ESXi host. Enforce this setting with the DRS VM/Host rule.

Test vCenter High Availability

If you want to simulate a host failure, you can use this blog post that I wrote some time ago. It is used to test the dump collector but the test procedure remains the same.

Cheers!

– Marek.Z

Exit mobile version