Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231085

DRS cluster - evacuate all VMs on a host and enter maintenance mode

$
0
0

Hi,

 

I am looking to script evacuating all VMs on a host to other hosts in  a DRS cluster, and enter maintenance mode just like the vsphere client does. I  have looked at hostops.pl and hostevacuate.pl, but they dont do this. has anyone scripted this? i was looking at EnterMaintenanceMode, and there is an evacuatepoweroffVMs property, but that is only for powered of VMs? any idea how to do this


Viewing all articles
Browse latest Browse all 231085

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>