Solved

ESXi 4.1 server shutdown with APCUPSD

Posted on 2013-02-06
5
1,192 Views
Last Modified: 2013-02-11
I have a standalone ESXi server.  I have installed the apcupsd software and configured the the apcupsd.conf file as below
UPSCABLE ether
UPSTYPE pcnet
DEVICE ipaddr:user:passphrase
LOCKFILE /var/lock
UPSCLASS standalone
UPSMODE disable

When I run apcaccess I get this output.  At frist the status is blank, then I get a message from root that comm has been lost and then the status goes to commlost.
The UPS is an SU2200RM with a AP9619 management card.

APC      : 001,018,0473
DATE     : 2013-02-06 08:05:00 -0800
HOSTNAME : vMA-XXXX
VERSION  : 3.14.10 (13 September 2011) redhat
UPSNAME  : vMA-XXXX
CABLE    : Ethernet Link
DRIVER   : PCNET UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2013-02-06 08:04:41 -0800
STATUS   : COMMLOST
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
STATFLAG : 0x07000100 Status Flag
END APC  : 2013-02-06 08:28:56 -0800

I am at the end of my rope on this.  ANY help is greatly apprecieated.
0
Comment
Question by:asrvwiz
[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
  • 2
  • 2
5 Comments
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 250 total points
ID: 38860260
normally, you would install the Network Shutdown Software on the vMA server.

The best solution is to use the free Powerchute Network Shutdown Software

here for ESXi

http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=SFPCNS301

you will also need to download the vMA from VMware.

the complete step by step guide is here

Check here for more details:
http://www2.schneider-electric.com/resources/sites/SCHNEIDER_ELECTRIC/content/live/FAQS/159000/FA159780/en_US/PCNS%203.0.1%20on%20ESXi-vMA%205.pdf
0
 

Author Comment

by:asrvwiz
ID: 38860350
Hanccocka,

I tried the PCNS from APC and it would not work either.  I have a case open with them as they escalated it to tier 2.  I have 4 other hosts/vMA’s running the apcupsd without any issues.  So while I was waiting for APC to get back to me I thought I would set this up as the others.  Guess I was wrong.

 I had a few issues with the PCNS.  The web interface would quit working on the vMA.  A reboot would fix it.  The other was it would not shutdown the host.  The UPS would log that it was going to shut it down but never did.

The apcupsd software is currently installed on the vMA. Everything looks to be correct, but again I get the comm lost status message.
0
 
LVL 121
ID: 38860654
Powerchute Network Shutdown Software is the correct software to use and implement, and it's supported.
0
 
LVL 8

Assisted Solution

by:piyushranusri
piyushranusri earned 250 total points
ID: 38862637
0
 

Author Closing Comment

by:asrvwiz
ID: 38875947
I want to thank both of you for your input.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
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:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

705 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