APC UPS

Installing APC Powerchute Network Shutdown 3 on VMWare ESXi

APC Powerchute Network Shutdown (PCNS) version 3 is much improved from the older versions.
The instructions to install in ESXi are still not the greatest, but I managed to get through it easy enough with hardly any Linux skills.

The new version can be downloaded from here: http://www.apc.com/tools/download/index.cfm

Filter by Software and Firmware > select powerchute network shutdown

Download the program, compatability chart and install and configure guides.

Once downloaded I make an ISO with the pcns300esxi.tar.gz file in the root and upload this to my ISO’s kept on a VMWare datastore.

Configure the Network card (NMC) on the APC UPS, Set IP, password, low battery duration, return delay, Auth phrase.  See instrutions downloaded from APC above for more info.

Download vMA 4.1 from VMWare: http://www.vmware.com/support/developer/vima/

In vMA by selecting file > “Deploy OVF Template” in the vSphere Client.  Set IP, password etc.

Once installed attach PCNS ISO created above and boot.

Logon to vMA as vi-admin

sudo mkdir /mnt/cdrom

enter the vi-admin password

sudo chmod 666 /mnt/cdrom

sudo mount -t iso9660 /dev/cdrom /mnt/cdrom

cd /mnt/cdrom    *Note* my file is in root of cdrom

sudo cp pcns300esxi.tar.gz /tmp

cd /tmp

sudo gunzip pcns300esxi.tar.gz

sudo tar -xvf pcns300esxi.tar

cd ESXi

sudo ./install_en.sh

Install will now run….

EULA

Choose install paths

Enter IP address of the ESXi host (target server), username and password

Install completes.  Now connect to https://vMA_ip_address:6547 and run through the new wizard which is a great improvement on previous versions.

Configure and test.

Note: The 1st time setting this up I used an @ in the password.  I could not log back into the PCNS after the initial setup.  To resolve this I had to add “username = apc” and “password = apc” lines under [NetworkManagementCard] in the pcnsconfig.ini file on the vMA VM’s.  Restart the powerchute service.  Could then logon.  Changed password to one without @ symbol and also changed password to be the same on NMC.

Be the first to comment - What do you think?
Posted by Admin - May 31, 2011 at 5:15 pm

Categories: APC UPS, VMware ESXi   Tags:

Installing APC Powerchute Network Shutdown 2.2.4 on VMWare ESXi

Update 31/05/2011 – PCNS version 3 is now out. This is much easier to install and configure.
See new post here

This requires a vMA virtual machine to be installed and then APC Powerchute Network Shutdown installed into that.

On an ESXi 4.0.0 175625 server I was getting the following error when doing the install:

This version of Powerchute Network Shutdown only supports VMware ESXi

A patch with updates scripts was required to resolve that.  I updated the files, created a new iso, uploaded to the datastore, mounted and installed.

Links for info needed to do install:

APC install doc: http://emea-en.apc.com/app/answers/detail/a_id/10309/kw/11144/related/1/session/L2F2LzEvdGltZS8xMzAzMjUzNTI1L3NpZC9CQWo2alZyaw%3D%3D

Patch info: http://emea-en.apc.com/app/answers/detail/a_id/11144/kw/11144

More info on error: http://communities.vmware.com/message/1622927

Be the first to comment - What do you think?
Posted by Admin - April 20, 2011 at 11:18 am

Categories: APC UPS, VMware ESXi   Tags: