vMA - Using HP Power Protector agent to shutdown virtual hosts
Goal was to create a vMA which would send a shutdown signal to all the virtual hosts it knows about. I’ve assumed that ESX and management agents that live within the service console will eventually be phased out.
The steps…
- Download and install the vMA from vmware - fire up the vm and setup the basic networking required
- Create trusts within the vMA to each of the vmware hosts you wish to manage (sudo vifp addserver
) - Install HP Power Protector (linux agent) - you could substitute for your UPS client software
- Modify the shutdown script (may differ per vendor) to shutdown the esxboxs- “SDScript” (hostops.pl)
The 1st step is easy enough. Find the download at vmware and install (Deploy OVF Template…)