Skip navigation
VMware
19,842 Views 30 Replies Last post: Nov 25, 2008 11:38 AM by mfoley@prainc… RSS
1 2 3 Previous Next
ITThies Hot Shot 209 posts since
Dec 20, 2005
Currently Being Moderated

Feb 12, 2007 9:20 AM

APC Network Shutdown for ESX 3.x - General Question

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.

kucharski Master 982 posts since
Sep 13, 2004
Currently Being Moderated
1. Feb 12, 2007 9:25 AM in response to: ITThies
Re: APC Network Shutdown for ESX 3.x - General Question

Here is a File regarding APC Network Shutdown from the VMGURU.COM site:

 

http://www.vmguru.com/files/10/whitepapers/entry8.aspx

 

Michael

Azrial Novice 6 posts since
Aug 16, 2006
Currently Being Moderated
3. Feb 12, 2007 6:57 PM in response to: ITThies
Re: APC Network Shutdown for ESX 3.x - General Question

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.

doomdevice Enthusiast 98 posts since
Dec 4, 2005
Currently Being Moderated
5. Feb 13, 2007 4:19 AM in response to: ITThies
Re: APC Network Shutdown for ESX 3.x - General Question
VI PowerScripter [http://www.powerscripter.net] Every Click can be a customized function within VI client
Box293 Hot Shot 231 posts since
Jul 7, 2006
Currently Being Moderated
6. Feb 13, 2007 10:48 PM in response to: doomdevice
Re: APC Network Shutdown for ESX 3.x - General Question

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

VCP3 & VCP4 32846 VSP4 VTSP4
Han Enthusiast 90 posts since
Aug 30, 2005
Currently Being Moderated
7. Feb 14, 2007 7:58 AM in response to: Box293
Re: APC Network Shutdown for ESX 3.x - General Question

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.

Box293 Hot Shot 231 posts since
Jul 7, 2006
Currently Being Moderated
8. Feb 14, 2007 2:02 PM in response to: Han
Re: APC Network Shutdown for ESX 3.x - General Question

Thanks for the feedback, I'll make sure I update our documentation and change it on the servers.

 

Cheers Troy

VCP3 & VCP4 32846 VSP4 VTSP4
gwelsh123 Novice 19 posts since
Apr 26, 2006
Currently Being Moderated
9. Mar 21, 2007 3:02 AM in response to: Box293
Re: APC Network Shutdown for ESX 3.x - General Question

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....

sc_2111@vmtn Hot Shot 219 posts since
Feb 20, 2007
Currently Being Moderated
10. Mar 21, 2007 6:07 AM in response to: gwelsh123
Re: APC Network Shutdown for ESX 3.x - General Question

got the same problem .

tried to open all the ports but the agent couldn't register

Box293 Hot Shot 231 posts since
Jul 7, 2006
Currently Being Moderated
11. Mar 21, 2007 3:19 PM in response to: sc_2111@vmtn
Re: APC Network Shutdown for ESX 3.x - General Question

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.

VCP3 & VCP4 32846 VSP4 VTSP4
biekee Expert 370 posts since
Nov 15, 2004
Currently Being Moderated
12. Mar 21, 2007 4:39 PM in response to: gwelsh123
Re: APC Network Shutdown for ESX 3.x - General Question

Did you use the right passphrase ?

 

bk

chrisbuzby Enthusiast 66 posts since
Jan 27, 2005
Currently Being Moderated
13. Mar 26, 2007 3:31 PM in response to: biekee
Re: APC Network Shutdown for ESX 3.x - General Question

I think the default  Authentication Phrase is: "admin user phrase"

 

what error message do you get when it fails?

Han Enthusiast 90 posts since
Aug 30, 2005
Currently Being Moderated
14. Mar 27, 2007 4:35 AM in response to: sc_2111@vmtn
Re: APC Network Shutdown for ESX 3.x - General Question

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.

Bookmarked By (0)

Share This Page

Communities