I am integrating UPS EATON with our ESXi 4.1 cluster. Eaton provides shutdown script for one particular ESXi host (shutdownESXi.pl) The problem was, after manual execution of shutdownESXi.pl script on vMA with
shutdownESXi.pl --server ServerName --username .. --password ..
the host was shut down but the VMs were migrated to another hosts (HA is enabled). BUT, what would happen if all the hosts would undergo the shutdown process ? I am afraid the VMs will start to migrate across the other ESXi hosts and it will never shut down properly.
1) Is there some other best-practice how to shutdown the cluster with the script on the vMA ? (disable HA firstly? maintenance mode?)
2) If someone integrated the Eaton shutdown script, is there any way how to hide the root pass within the Intelligent Power Protector ? It seems to be quite dumb to store it somewhere on the vMA in the plaintext..