apc network shutdown on esx - all the stuff you should know
so here comes the stuff you should be aware of when using apc network shutdown on esx and the installation instructions including this mysteriuos password ;-) check it out:
if you want to use two management cards (recommended):
Firstly open the firewall ports
esxcfg-firewall -o 80,tcp,out,"APC PowerChute Port 80"
esxcfg-firewall -o 3052,tcp,out,"APC PowerChute Port 3052"
esxcfg-firewall -o 3052,tcp,in,"APC PowerChute Port 3052"
esxcfg-firewall -o 3052,udp,out,"APC PowerChute Port 3052"
esxcfg-firewall -o 3052,udp,in,"APC PowerChute Port 3052"
Then install the APC Network Shutdown Software
rpm -ihv pcns-2.2.1-100.i386.rpm
Then configure the software
/usr/local/bin/PowerChute/PCNSConfig.sh
Type 3 and press enter
Type in the IP address of the Management Card and press enter
Port 80
Enter the Username, Password and Authentication Phrase
...and the standard phrase is...."admin user phrase"
Repeat for the second management card
Answer No to registering another management card
Answer Yes to starting the service
Now you can configure the event actions etc by pointing your web browser to
http://servername :3052/
Other commands
/etc/rc.d/init.d/PowerChute stop
/etc/rc.d/init.d/PowerChute start
To uninstall, type rpm -e pcns
MOST IMPORTANT SETTING OF ALL
Once logged on to the web interface
Click the ComputerName link
Specify the Configure Shutdown settings
UNTICK Turn off the UPS after the shutdown finishes .
Click Apply
if you want to use just one card select the approriate option when
starting the install script.
4 comments:
Why do you recommend Untick-ing the shutdown UPS after the server has shutdown?
Any reason you're leaving port 80 open after the initial config? As far as I can tell it can be safely closed after initial setup.
dear fujigus, because it would be fatal when there are several physical servers are connected to the apc, the apc would suddenly turn off exactly when the FIRST server shutdown would be complete.
dear ben_13, you are right, after initial setup it can be closed.
best regards
Joerg
I've also found that in our setup we only need to allow tcp and udp 3052 in, not out.
Eg
before running PCNSConfig.sh
esxcfg-firewall -o 80,tcp,out,http
esxcfg-firewall -o 3052,tcp,in,PowerChute
esxcfg-firewall -o 3052,udp,in,PowerChute
After running PCNSConfig.sh
esxcfg-firewall -c 80,tcp,out,http
Post a Comment