I’ve been waiting for APC to create a VIMA ready package of their PowerChute Network Shutdown software for a while now. It’s supposed to be released soon but I haven’t heard a release date yet.
For everyone that can’t wait VMTN User “jholland” created this PDF “How to configure ESXi to shutdown using an APC SmartUPS“. It’s a great creative solution that shuts down your vm’s and host when a power failure occurs keep in mind you need a UPS with network management capabilities. In short:
- add a script to your ESXi box and enable ssh with public key authentication
- add a debian VM
- install APC UPS daemon
- edit the APC UPS daemon config file which calls the script(1.) via ssh/public key
I guess the APC solution will work in a similar way by the way, but the APC solution will be full supported and this solution clearly isn’t cause you would need to alter ESXi. (The APC solution will use the RCLI/Perl toolkit probably)
I can imagine you would want to use it anyway. Thanks to jholland for creating this PDF, it’s his first post I hope there’s more to come! (By the way, it isn’t that difficult to apply this information on VIMA. I might test it out this week and update you guys)