Home Datacenter Patching VCSA 6.5 to Update 1 in a vCenter HA configuration

Patching VCSA 6.5 to Update 1 in a vCenter HA configuration

by Philip Sellers

One of the best things included in the vCenter Server Appliance is the automatic update feature in the Appliance Manager.  This handy feature makes updates to a VCSA simple and quick.  Unfortunately, using vCenter HA, included in the VCSA 6.5, breaks this patching for most users.  Why?  The simple answer is that the secondary and witness appliances exist on a non-routable IP range for customer who have chosen

Patching a vCenter Server Appliance (VCSA) in a vCenter HA configuration is a little different than patching, but its still easy.

Get the Patch Needed

  1. Login to My VMware
  2. Go to View & Download Products
  3. Select Download Patches on the right sidebar
  4. Select VC and 6.5 under the menus and then click Search
  5. Locate the update in the list and select Download.

Update the VCSA’s

Maintenance Mode

With a VCSA in HA configuration, you need to put the HA cluster into maintenance mode.  Before you can do this, the HA cluster must be healthy.  To check for this, navigate to the vCenter root on the left tree of vCenter Web Client, then click on Configure and then select vCenter HA.  Under the vCenter HA is enabled label, look for a green indicator.  If it is green, you’ll see the “All vCenter HA nodes are accessible and replication is enabled. Automatic failover protection is enabled.” message and you’re good to go.

Click Edit and select Maintenance Mode and click OK.  This puts the cluster into maintenance mode so it will not automatically failover.

Upload the Patch to Datastore

The easiest way to access the patch ISO for me was to upload it directly to a datastore.  To do this, browse to a datastore accessible to all of the nodes running the VCSAs.  Go to Files on the datastore and then upload to the datastore.  You will use this later in the process.

You could also use the ISO as a client device or from the Content Library.  I think the Content Library is overkill for an ISO that will be used once and then discarded, but it is an option, too.

Patch the Nodes

The rough plan for updating is to :

  1. Take a snapshot of all three vCenter VMs
  2. Patch the Witness node
  3. Patch the Secondary node
  4. Failover the cluster to Secondary
  5. Patch Primary node
  6. Failover back to the Primary node

On each node, you will do the following steps:

  1. Attach the Patch ISO as a Datastore ISO on the VM
  2. Open console and press ALT+F1 to go to the login page
  3. Login to the VCSA as root ** DO NOT go into the BASH shell
  4. Execute <code>software-packages install –iso –acceptEulas</code>
  5. The patches will all be loaded and you will be prompted to reboot
  6. Execute <code>shutdown reboot -r “ESXi 6.5 Patching”</code>
  7. Repeat for next node

Simple, easy & quick.

You may also like