Patching hyper-v Hosts
Im wondering what folks are doing for patching hyper V hosts. I think like many, we dont rely on the host to take down the guests properly when a restart is necessary on the host. We are manually patching the hosts now and manually taking down all the guests. My thought is the process would be something like this.
Script forcibly log out all users from Guests (seems like a hung user can cause the guests to come down consistently.. that is just a theory to be fair)
Script taking down all guests, verify not pingable and then continue to Host patch
If one or more not pingable, script bringing up the guests that went down, abort the patch and report there was an issue
Set all guests to restart when host comes up (not part of kace task chain)
Wait X amount of time and run a script to make sure hosts and all guests respond, possibly that a service is running.
If one or more not up, report as such with an urgent message
I have no idea exactly how Id accomplish this, but certainly would involve a task chain and multiple scripts.
Anyone doing anything like this or have any advice?
how about clustering the HV-Hosts, evacuating the guests, patch the host, reboot it and allow it to "play again"?
(I don't use HV but these steps are common with the usual virtualization environments and their vendors you find out there)