Monday, 12 March 2007

PowerChute Network Shutdown agent for VMWare ESX v3.01

First things first, get the software and install it.

Soft ware available here :

Installation guide available here:
PowerChute Network Shutdown : Installation v.2.2.1 (

What isn't mentioned in the install notes, is that the esx firewall will not let your register the device with the UPS.

Open port 80
/usr/sbin/esxcfg-firewall -o 80,tcp,out,http

Now proceed with the install and then close the port.
/usr/sbin/esxcfg-firewall -c 80,tcp,out,http

Ok, after this you should see the new client device listed in the UPS's management web pages.
Now if you leave this as is, you will carry on your busy life feeling you have a slightly less risk of something awful happening should there be a significant power failure.

The port used by the UPS to communicate the shut down event, is closed, your lovely ESX server will never know.

Open the port.
/usr/sbin/esxcfg-firewall -o 3052,tcp,in,PowerChute

Strictly speaking this not no APC's fault, but they could at least put a note, "Check port 3052 is not blocked!".

There is no way to really simulate a Shutdown event for only one device, the agents are devout believers and will not ignore the command to shutdown.
The UPS signals each listed device and also broadcasts it too.
You could shutdown the agent on all other devices and send a Shutdown signal from the management pages. Don't for get to enable the agents after though.

Use nmap to test the port is open :

nmap host -p3052

Starting Nmap 4.11 ( ) at 2007-03-12 12:19 EST
Interesting ports on (nnn.nnn.nnn.nnn):
3052/tcp open PowerChute
MAC Address: hh:hh:hh:hh:hh:hh (VMWare)

That's it, Good luck.


Paul said...

Thanks Matt!! :-)

Anonymous said...

I didn't see a specific agent for VMware on APC's site. I presume we just want the Linux version?

Matt Joyce said...

VMWare ESX is based on a customised Red Hat.

Anonymous said...

Our website are wow gold the reliable or wow power leveling and wow gold

katty said...

I have been some problem with my connection and I thought could be my network card, how ever i wasn´t sure. So, I decided to looking for information by internet and try to understand the network problem. I am happy because all the solution which advice this blog are very useful and interesting.
costa rica investment opportunities gave me another alternatives to do the best investment, but of course i always will need a good network.