APC/APCUPSD ESX/ESXi Host shutdown script

From VI-Toolkit
Jump to: navigation, search

Download script: ghettoShutdown.pl

Download script: upsVIShutdown.pl

Compatible with: ESX/ESXi 3.5+

Please find more details located at: http://communities.vmware.com/docs/DOC-9531

This script is similar to Joseph’s work How to configure ESXi to shutdown using an APC SmartUPS although it will not necessitate enabling the unsupported SSH console on the ESXi hosts. This is made possible by utilizing the VI Perl Toolkit to communicate with the ESXi hosts. The only possible drawback however is that next revision of ESXi may disallow write operations and require that the user purchase ESXi license(s) to make full use of the VI API (read/write).