UPS on ESXI Server

Hi all,

I have an APC1000 UPS, when there is loss of power I would like it to shutdown all vm's and then shutdown the physical ESXi box.

Is this possible? or what options are there?

2 Replies
VMware Employee
VMware Employee

See If this helps https://communities.vmware.com/docs/DOC-11482

Do consider awarding points by choosing correct answer Smiley Happy

------------------------------------------------------------------------------------------------------------------------------------ If you find this or any other answer useful please mark the answer as correct or helpful. Abhilash B | Blog : http://vpirate.in | Twitter : @abhilashhb | LinkedIn : https://www.linkedin.com/in/abhilashhb/ |

The other possibility is to install NUT (network ups tool) as "client" on ESXi-server (and all but one VMs), and NUT "server" on one master-VM (can be VMa). This one VM will "listen" to UPS (using usb pass-through), and when there is power interruption, issues shutdown-commands to all NUT-clients (including the one running on ESXi). NUT-client on ESXi can be configured with "timeout" value, so it waits till NUT-clients on other VMs (and NUT-server on "master-VM") shut down all VMs, and then finally shutdown of ESXi-server is started.

The advantage of this approach is you do not need to keep ssh-pasword (or keyfile) on VMa, so that it could shutdown ESXi per ssh-script...

You can find NUT-client for ESXi (and some info) here. Use google-translate, if you do not speak french...

_____________________________________________ If you found my answer useful please do *not* mark it as "correct" or "helpful". It is hard to pretend being noob with all those points! 😉
0 Kudos