vCenter HA is a high availability option for vCenter appliance which introduced with vSphere 6.5
vCenter HA is different from vSphere HA:
vCenter High Availability (vCenter HA) protects vCenter Server against host and hardware failures. The active-passive architecture of the solution can also help you reduce downtime significantly when you patch vCenter Server.
vSphere HA provides high availability for virtual machines by pooling the virtual machines and the hosts they reside on into a cluster. Hosts in the cluster are monitored and in the event of a failure, the virtual machines on a failed host are restarted on alternate hosts.
There is 3 nodes consists of the VCHA architecture called, Active, Passive and Witness.
Active Node: This is the active appliance that serve all the client requests and appliance that expose to the end users via the vSphere web client. This node will be communicating with passive node for replication and with witness node for cluster status monitoring over the dedicated vCenter HA network.
Passive Node: This is initially a clone of the active vCenter and then continuously sync with the active node over the vCenter HA network. If any failures occurs in the active node, this will immediately take over the active node role.
Witness Node: This lightweight clone from the active node provide the quorum to the cluster.
Software and Hardware Requirements:
To configure VCHA the ESXi version should be 5.5 or higher and it's strongly recommended 3 ESXi node cluster. Also it's recommended to use DRS rules to put these 3 modes in separate ESXi hosts as well.
As I mentioned earlier the minimum vCenter version is 6.5 and this requires only one vSphere standard license. The recommended deployment size is small or bigger ones as tiny is not recommended for production environments. vCenter HA is supported and tested with VMFS, NFS, and vSAN datastores.
The vCenter HA network must be on separate subnet than the management network and the latency between active, passive and witness node must be less than 10ms.
vCenter 7.0 HA Configuration - Step by Step:
Note: HA configuration needs a dedicated network for HA related traffic so I'm going to add a new NIC for the VCSA.
- Log in to the vCenter and find the VCSA appliance. Edit VM settings and add new NIC card and assign the vLAN created for the VCHA network.
- Login to VCSA appliance management interface using below URL > https://<<your VC IP or FQDN>>:5480/#/login
- Navigate to networking tab from the left hand side menu and click edit link on the top right side for the newly added NIC.
- Once you click the edit link, it will ask you to select which interface you need to change and select the NIC added for the VCHA network.
- These select Either automatic DNS and IP reservation or enter both details manually depending on your network configuration.
- Then it will show the summary and click finish if you are happy with the network configuration.
- Then NIC settings will show as follows.
- Once VCSA appliance additional NIC configured for VCHA, navigate to vCenter web interface and select the vCenter from inventory menu in Left hand side, select Configure tab , vCenter HA and Click SET UP VCENTER HA button.
- Then it will go through the guided process of configuring the VCHA. When configuring VCHA you can clone the vCenter appliance by your self for Passive and Witness nodes or you can simply let the vCenter to do that for you. in earlier versions this was called as Basic and Advanced mode. But with the vSphere 7 it's just a checkbox for you to select that automatic process. Since I'll be doing it that way tick the check box to automatically clone passive and witness node and then it will ask the relevant details for passive and witness nodes
- To configure the required settings for passive node click Edit Icon as shown in below.
- Then it will ask the name for the passive node, I'll leave it with default chosen name and we need to specify the location for this VM.
- Then we need to select the compute resource for the passive node. As I mentioned earlier, it is recommended to separate these 3 nodes from each other so select a ESXi host which is currently the active VCSA is not running.
- Select the datastore or datastore cluster. Also make sure the 3modes will not sitting on the same datastore to avoid single point of failures.
- Then select the correct port groups for both management network interface and VCHA network interface.
- Then review the settings and click Finish to save the settings.
- Then Click the Edit button next to Witness node details to enter the details for witness node as well. In the witness node configuration it will not ask for management network interface as it will not take over the load during a failure, it's just here for quorum purpose only.
- Click Next button to enter the IP settings for both passive and witness nodes. The IP settings will require only for the VCSA HA network and same Management IP will be used by the passive node during a failure.
- Then click Finish to start the configurations.
- The progress will be shown in the same vCenter HA tab and also you can see the current progress in recent task list as well.
- Once the HA setup is finished you can see the summary of current status of the VCHA and some other available options as well.
Comentarios