Solved

Monitor apc ups on esxi vmware?

Posted on 2014-09-03
9
630 Views
Last Modified: 2014-09-09
Hi,

I have this esxi 5.5 with some vm s on it. I also have an ups (apc). The ups has software to install on windows machines in order to monitor the ups and bring machines down if ups goes active for some time. I don t have any physical machines. How can I still monitor this ups?

J.
0
Comment
Question by:janhoedt
  • 3
  • 3
  • 3
9 Comments
 
LVL 118
ID: 40301931
If the UPS has a USB port, you can use USB Passthrough to monitor the UPS using APC PowerChute software.

pass the APC USB via passthrough to the VM using USB.

see my EE Article

HOW TO: Add and Connect a USB Device to a Virtual Machine, hosted on VMware vSphere Hypervisor ESX 4.1 ESXi 4.1, ESXi 5.0

BUT the correct method with VMware vSphere Hypervisor (ESXi)  is to use the APC PowerChute® Network Shutdown, and a Smart-UPS with Network Management card, which is implemented using the vMA.

APC have now released the software - PowerChute® Network Shutdown for free, it's here

Download and see here

http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=SFPCNS31-V

Installing the APC Powerchute Network Shutdown software on VMware ESXi hosts (1007036)
0
 

Author Comment

by:janhoedt
ID: 40301988
Thanks! This is the type of ups: APC BK650-EI Back UPS CS 650.
What would you advise?
I could spend some euro s but it s only my lab environment so not that critical to really invest.
0
 
LVL 118
ID: 40302082
This is a USB model, so would have to connect to a VM, via USB, and then create a script in the VM, to shutdown the VMs on the Host.
0
 
LVL 61

Expert Comment

by:gheist
ID: 40303037
You must check if ESXi catches power button signal via USB. If yes you need to set VM startup order to power them off politely when that signal arrives.
0
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.

 

Author Comment

by:janhoedt
ID: 40303054
> You must check if ESXi catches power button signal via USB.
Thanks. And how would I do that?
0
 
LVL 61

Expert Comment

by:gheist
ID: 40303065
Connect it to nonessential ESXi and wait for battery to discharge
0
 

Author Comment

by:janhoedt
ID: 40303079
Battery discharge? You mean switch to ups?
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 40303086
ESXi will not be able to detect anything from your UPS!

ESXi has no software that interfaces to a UPS.

You will have to connect a VM to your UPS via USB, use Powerchute to detect events, and then use Powerchute to run External Scripts.
0
 
LVL 61

Expert Comment

by:gheist
ID: 40303438
UPS presses power button on USB multimedia keyboard.
That would shut down windows 95+ without any drivers.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

910 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

24 Experts available now in Live!

Get 1:1 Help Now