Hello vComunnity,

I’d like to share with you my favorite way to patch vCenter appliances, this also can be applied to  PSC if you still have it

It is important to remember that if you’ll be patching you’ll need the patch iso (VMware-vCenter-Server-Appliance-x.x.x.xxxxx-xxxxxxxx-patch-FP.iso) and not the full VC iso (normally used for installations).

Download the required path file from Product Patches – You’ll have to log in to download the files

For example VMware-vCenter-Server-Appliance-6.7.0.51000-18831133-patch-FP.iso

Important: Make sure to have a recent backup of your vCenter/PSC, a snapshot would work for going back to the pre-patch state if needed, but it is better to be safe than sorry.

Upload the patch iso to a shared/local datastore within your cluster/esxi host.

  1. Map the ISO to the VM
  2. Log through SSH (do not enter in the shell)

If logs in straight to shell, run: chsh -s /bin/appliancesh root ; su –

Make sure to insert the root’s credentials again.

Once finished, revert the configuring by running this: chsh -s /bin/bash root

  1. Run the following commands (one by one)
  • software-packages stage –iso –acceptEulas
  • software-packages list –staged
  • software-packages install –staged
  • Enter in the shell and run the reboot command

Once up, continue with the other VM.

Hope this was a cool post for you guys to know,

Do now hesitate in contacting me if you have any comments,

Jorluis

Buy me a coffeeBuy me a coffee