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,

Michael

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 ===

Tagged with: ,
Posted in How To
6 comments on “Zerto and ESXi host patching – be aware!
  1. Stan says:

    What about?
    Get-VM Z-VRA* | ShutdownVMGuest
    or
    Get-VM Z-VRA* | Stop-VM
    also
    Get-VM Z-VRA* | Start-VM

  2. Barrie says:

    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

  3. Hi Michael,
    Here is a good one that also round robin balances the workloads. http://blog.davotronic5000.co.uk/replacing-zerto-maintenance-mode-with-powershell/

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: