We are running Horizon 7.12. When putting a VMHost into maintenance mode, it strands replica VMs from a desktop pool on that host. When trying to recover an instant clone VM, it fails with this error:
Unable to communicate with the remote host, since it is disconnected.
Is there a way to force a refresh of the replica/parent/template VMs? The goal is to get all instant clone desktops back in sync, so there aren't any issues creating VMs while also bypassing VMHosts that are offline.
You need to 'Disable provisioning' while doing any maintenance activity on a host in horizon cluster. Additionally if you want to continue the provisioning during maintenance, make sure you first remove the host in maintenance out of the horizon cluster so that horizon doesn't try to create any VM on that host.
Once the host is out of cluster, you can do a push operation with same snapshot and it will rebuild all the cp-parent VMs on remaining hosts.
I disabled provisioning on all desktop and farm pools then entered maintenance mode on the target VMHost. After entering maintenance mode, there are still replica and parent VMs on the VMHost.
I moved the VMHost out of the cluster while in maintenance mode, and then reran a push image. It generated these errors:
How do you clean up the replica/template/parent VMs from the VMHost properly?
This is the solution: https://kb.vmware.com/s/article/2144808