Solved

ESX & ESXi UPS Monitoring

Posted on 2010-08-20
5
1,546 Views
Last Modified: 2012-05-10
Is there any APC monitoring software that can be installed within ESX / ESXi environments that will can interact with the UPS?

I'm particuarly interested in the capabiilty to shutdown the ESX / ESXi hosts gracefully in the event of power loss.
0
Comment
Question by:Hypervizor
5 Comments
 
LVL 2

Assisted Solution

by:deniszb
deniszb earned 166 total points
Comment Utility
0
 
LVL 28

Assisted Solution

by:bgoering
bgoering earned 167 total points
Comment Utility
If you don't want to "roll your own" solution, APC Offers a version of the PowerChute software for VMware - see http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=SSPCNSV

Good Luck
0
 
LVL 28

Expert Comment

by:bgoering
Comment Utility
I knew I had it here somewhare - here is the list of APC products that support virtualization environments: http://www.apc.com/products/family/index.cfm?id=127&tab=models#anchor1
0
 
LVL 1

Accepted Solution

by:
adambird79 earned 167 total points
Comment Utility
essentially you will need a network ready UPS. then:

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
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 (IMHO)
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

This step is EXTREMELY important, otherwise once this server has shutdown it will power off the UPS regardless of other servers connected to the UPS.
0
 
LVL 2

Expert Comment

by:N3admin
Comment Utility
I would like to add that EATON has a full software setup to manage the VM's from within VMware!  It will hibernate any running VMs then shut down the system. Once power is restored it will power the system back on and bring any VM's in a hibernation state back up and running!   So far this is the best and smoothest way of doing a UPS in a VMware setup.

I just wanted to add this info for people looking for this info here on EE.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now