This procedure describes how to patch the Active, Passive, and Witness node if your vCenter Server Appliance is configured in a vCenter High Availability (HA) cluster.
A vCenter High Availability cluster consists of three vCenter Server Appliances that act as an Active, Passive, and Witness node. For information about configuring vCenter High Availability, see vSphere Availability.
You patch the three nodes in a sequence and use a manual failover so that you always patch a non-Active node. For patching the nodes, you must use the software-packages utility from the appliance shell. For information about patching the appliance from the appliance shell, see Patching the vCenter Server Appliance by Using the Appliance Shell.
Prerequisites
-
Verify that patching a vCenter HA configuration is supported for your version of vCenter Server Appliance. For certain vCenter Server 6.7 patch releases, you must remove the vCenter HA configuration and update the vCenter Server Appliance using either the vCenter Server Appliance Management Interface or the software-packages utility in the appliance shell of a vCenter Server Appliance. To learn if your version of vCenter Server Appliance can be patched using this procedure, see Knowledge Base article KB 55938.
- If you are using a proxy, you must configure it in the appliance management interface. See Configure the DNS, IP Address, and Proxy Settings.
Procedure
- Place the vCenter HA cluster in maintenance mode.
- In the vSphere Client inventory, click the Configure tab.
- Under Settings, select vCenter HA and click Edit.
- Select Maintenance Mode and click OK.
- Log in as root to the appliance shell of the Active node by using the public IP address.
- Patch the Witness node.
- From the appliance shell of the Active node, access the Bash shell and establish an SSH session to the Witness node.
ssh root@Witness_node_IP_address
- Patch the Witness node.
Use the
software-packages utility.
- Exit the SSH session to the Witness node.
exit
- Patch the Passive node.
- From the appliance shell of the Active node, access the Bash shell and establish an SSH session to the Passive node.
ssh root@Passve_node_IP_address
- Patch the Passive node.
Use the
software-packages utility.
- Exit the SSH session to the Passive node.
exit
- Log out from the appliance shell of the Active node.
- Initiate a vCenter HA failover manually.
- Log in to the Active node with the vSphere Client and click Configure.
- Under Settings, select vCenter HA and click Initiate Failover.
- To start the failover click Yes.
A dialog box offers you the option to force a failover without synchronization. In most cases, performing synchronization first is best.
You can see in the vSphere Client that the Passive node has become the Active node and the Active node has become the Passive node.
- Log in as root to the appliance shell of the new Active node by using the public IP address.
- Patch the new Passive node.
- From the appliance shell of the Active node, access the Bash shell and establish an SSH session to the Passive node.
ssh root@Passve_node_IP_address
- Patch the Passive node.
Use the
software-packages utility.
- Exit the SSH session to the Passive node.
exit
- Log out from the appliance shell of the Active node.
- Exit the maintenance mode.
- In the vSphere Client inventory, click the Configure tab.
- Under Settings, select vCenter HA and click Edit.
- Select Turn On vCenter HA and click OK.