Hi.
This is no "howto shutdown my esx host" question.
Does anybody know, if the PCNS is supported by vmware?
I´m looking for a solution to use a network shutdown without violating the vmware support restrictions.
Thanks for any information.
Here is a File regarding APC Network Shutdown from the VMGURU.COM site:
http://www.vmguru.com/files/10/whitepapers/entry8.aspx
Michael
Hi Michael,
I know how to use it.
I´ve tested that in a few test environment.
My question was, if this it supported by vmware in any support case!
APC have now released a version of PowerChute specifically designed to be installed on ESX.
So there is no need to go through the process of that document any longer.
Thank you.
Can you send me a link to that software?
How is it called?
Here can you find the APC PowerChute Software for VMware ESX 2 and 3.
Seeing as the documentation on this isn't all that extensive (especially for a non-linux user) I'm providing the steps to make it all work ... well it does for me and that's all that matters ;o)
All these commands are performed at the command line on the console or by using a SSH client (using SSH client allows some nice copy and paste action).
Firstly open the firewall ports
Re: APC Network Shutdown for ESX 3.x - General Questionesxcfg-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"[/b]
Then install the APC Network Shutdown Software
Re: APC Network Shutdown for ESX 3.x - General Questionrpm -ihv pcns-2.2.1-100.i386.rpm[/b]
Then configure the software
Re: APC Network Shutdown for ESX 3.x - General Question/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
Repeat for the second management card
Answer No to registering another management card
Answer Yes to starting the service[/b]
Now you can configure the event actions etc by pointing your web browser to Re: APC Network Shutdown for ESX 3.x - General Questionhttp://[i]servername[/i]:3052/[/b]
Other commands
Re: APC Network Shutdown for ESX 3.x - General Question/etc/rc.d/init.d/PowerChute stop
/etc/rc.d/init.d/PowerChute start
To uninstall, type rpm -e pcns[/b]
Re: APC Network Shutdown for ESX 3.x - General QuestionMOST IMPORTANT SETTING OF ALL[/b] (IMHO)
Once logged on to the web interface
Re: APC Network Shutdown for ESX 3.x - General QuestionClick the ComputerName link
Specify the Configure Shutdown settings
Re: APC Network Shutdown for ESX 3.x - General Question[i]UNTICK[/i][/u] Re: APC Network Shutdown for ESX 3.x - General QuestionTurn off the UPS after the shutdown finishes[/i].
Click Apply[/b]
This step is Re: APC Network Shutdown for ESX 3.x - General QuestionEXTREMELY[/b] important, otherwise once this server has shutdown it will power off the UPS regardless of other servers connected to the UPS.
Anways let me know if I've missed something or if I've opened too many ports etc. Always willing to help out.
Troy
Very good summary of the steps needed. Did this recently for 2 customers and yes indeed non of the available documentation is complete.
I do have one remark. The line esxcfg-firewall -o 3052,tcp,out,"APC PowerChute Port 3052" is not necessary.
Port 3052 tcp in is necessary for configuration of PCNS through a web browser.
Port 3052 udp in is necessary for communication from the Network Management Card to PCNS, e.g. in the case of a power failure.
Port 3052 udp out is necessary for communication from PCNS to the Network Management Card and for broadcasting a shutdown to other PCNS clients on the same subnet. Remember that you can have only 50 PCNS clients registered on one Network Management Card. To address more clients the broadcast feature is used.
Port 80 is where the Network Management Card listens for communication.
Han.
Thanks for the feedback, I'll make sure I update our documentation and change it on the servers.
Cheers Troy
attempting to install the vmware version of PCNS software on an ESX3.01 host (connected to a single APC UPS) , everything goes fine until it attempts to register the agent with the management card, at which point it times out, and im back to square one
port 3052 is opened, in and out, port 80 is open outbound....
got the same problem .
tried to open all the ports but the agent couldn't register
Here's some general tips for troubleshooting, it's always good to go back to basics.
Can you ping the UPS management cards from the ESX hosts?
If not are they in the same subnet?
If different subnet do they have a default gateway defined?
Have you installed the windows version on a windows machine to ensure that the same settings you are using actually work?
Perhaps a reboot of the ESX host may be required after you make the firewall changes.
Is there a firewall between the UPS management cards and the ESX servers?
Hopefully one of these points you in the right direction.
Did you use the right passphrase ?
bk
I think the default Authentication Phrase is: "admin user phrase"
what error message do you get when it fails?
The Network Management Card has room for only 50 clients. Look in the configuration of the NMC to see if your client table is full.