Solved

Monitor apc ups on esxi vmware?

Posted on 2014-09-03
9
697 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
9 Comments
 
LVL 120
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 120
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 120

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
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…

738 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