Solved

Monitor apc ups on esxi vmware?

Posted on 2014-09-03
9
649 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 119
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 119
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
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.

 
LVL 62

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
 

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 62

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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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 62

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

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 step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
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…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

786 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