Solved

ESX & ESXi UPS Monitoring

Posted on 2010-08-20
5
1,552 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
ID: 33484088
0
 
LVL 28

Assisted Solution

by:bgoering
bgoering earned 167 total points
ID: 33484296
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
ID: 33484310
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
ID: 33501593
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
ID: 36544874
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…

832 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