How to install APC PowerChute Network Shutdown software on ESX Server
In this Article I will cover the simple process of making sure your Virtual environment is protected during power outages & is safely shuts down all the virtual machines and the Host & guest vm's are powered on when power resumes.
Step 1 : Upload Install Files.
Browse local data store and upload the Power chute network shutdown installation files from the cd media / download URL provided by APC.
Step 2 : Open firewall ports
esxcfg-firewall -o 3052,udp,in,apcups
esxcfg-firewall -o 3052,udp,out,apcups
esxcfg-firewall -o 3052,tcp,in,apcups
esxcfg-firewall -o 3052,tcp,out,apcups
esxcfg-firewall -o 6547,tcp,in,apcups
Step 3 : create temp directory
Step 4 : Change to root directory
Step 5 : Find the location of the Install files i.e. local datastore or SAN Lun location
find –name jre*
Note: You need to do this only if you are unaware of the path. I genrally run the above command and copy and paste the path in my next step to avoid mistakes.
Step 6 : copy the install files to the temp directory
cp /vmfs/volumes/4c20e143-b448c7f0-e90b-d8d385be3d78/APCUPS/*.* /tmp/APCUPS/
Step 7 : change directory to install directory
Step 8 : Change permissions on the installation files
so install can be performed by root
chmod 777 install.sh
Step 9 : Start the installation
default group 1
install java bundle enter
Step 10 : Change Directory to installed area
Step 11 : Start the configuration wizard
start the service once the wizard is complete
If service fails to start automatically you run the following commands manually OR simply restart the ESX host.
Now you need to configure your shutdown options according to your requirements by connecting to your host on port 6547. In my case the ip address used for the host was 192.168.10.31.
That's all your UPS configuration up and running within minutes. :)