Zerto and ESXi host patching – be aware!

Hello all,

Just something to be aware of.  When you have Zerto installed, you will generally have it installed to each of the hosts in your cluster.  Meaning the Zerto appliance (VRA) is on each host.  This works well and does good replication with a small footprint.  However what is not immediately apparent is those appliances are pinned to the host they are working with.  This means those hosts will not go into maintenance mode successfully.  This also means you will not be successful in patching your hosts using VMware Update Manager (VUM) which is one of my favorite patch tools.

What I do is to shut down each of the appliances before I patch.  They are all in a folder called Zerto but it seems I cannot do a shutdown of them at the same time.  So I shut them down one by one.  However, I can highlight them all and use Power On to get them all on with the minimum of fuss.

I would like to script this out but it turns out to be much harder in PowerCLI to turn off all VMs that start with Z-VRA*.  I don’t have a lot of time right now to fight with scripts.  But having a script that turned off the VMs with that prefix, or turned them on would be nice.  I will try to get to that script.

I hope that this helps,


Update: 10/5/14 – I have a draft script that I think will do a very good job on dealing with this – will see and if it works as good as I think it will I will have the author publish it.  This script will deal with VUM and Zerto, and make sure everything keeps working and yet gets patched too!

=== END ===

6 thoughts on “Zerto and ESXi host patching – be aware!

  1. You could also get more granular with:

    get-vm | Where-Object {$_.Name -like “Z-VRA*”} | Shutdown-VMGuest

    Then you could target the member properties like VM name or folder or description etc

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.