I am currently working as a Senior Field Consultant. I started my professional career in 1999 in India. In the year 1999 I decided to transition from the Retail Industry to hard core Information Technology, which was always my strength and desire. I realised my strengths and keen interest when I worked on Dbase III Plus a few years back but due to various constraints I could not pursue my career at that point in time. I have worked in various capacities in the fields of Software Technology, as Systems administrator, Systems Support Engineer, Implementations Engineer and Senior Implementation Engineer. Currently, I am based as Senior Field Consultant for a Microsoft Gold Partner in Oxford, U.K.
I am certified in various disciplines
CCIE # 23368
CCNP
CCNA
CCA
MCSE NT, 2k & 2k3
MCSA 2k & 2k3
MCSE 2k & 2k3 (Messaging & Security)
MCSA 2k & 2k3 (Messaging & Security)
I devote my free time to the technology communities. I believe knowledge grows by sharing and I love to share my knowledge. I believe it is important to be passionate and really enjoy whatever you do. I am also the founder and maintain Ahmedgroup (http://www.ahmedgroup.co.uk)
In this Article I will cover the simple process of making sure your Virtual environment is protected during power outages & is safely shuts down all the virtual machines and the Host & guest vm's are powered on when power resumes.
Step 1 : Upload Install Files.
=====================
Browse local data store and upload the Power chute network shutdown installation files from the cd media / download URL provided by APC.
Step 2 : Open firewall ports
=====================
esxcfg-firewall -o 3052,udp,in,apcups
esxcfg-firewall -o 3052,udp,out,apcups
esxcfg-firewall -o 3052,tcp,in,apcups
esxcfg-firewall -o 3052,tcp,out,apcups
esxcfg-firewall -o 6547,tcp,in,apcups
esxcfg-firewall –q
Step 3 : create temp directory
=======================
mkdir /tmp/APCUPS
Step 4 : Change to root directory
=========================
cd /
Step 5 : Find the location of the Install files i.e. local datastore or SAN Lun location
======================================
find –name jre*
Note: You need to do this only if you are unaware of the path. I genrally run the above command and copy and paste the path in my next step to avoid mistakes.
Step 6 : copy the install files to the temp directory
=====================================
cp /vmfs/volumes/4c20e143-b448c7f0-e90b-d8d385be3d78/APCUPS/*.* /tmp/APCUPS/
Step 7 : change directory to install directory
================================
cd /tmp/APCUPS/
Step 8 : Change permissions on the installation files
so install can be performed by root
======================================
chmod 777 install.sh
Step 9 : Start the installation
=====================
./install.sh
default group 1
default directory
install java bundle enter
Step 10 : Change Directory to installed area
=================================
cd /opt/APC/PowerChute/group1/
Step 11 : Start the configuration wizard
==============================
./PCNSConfig.sh
start the service once the wizard is complete
If service fails to start automatically you run the following commands manually OR simply restart the ESX host.
/etc/rc.d/init.d/PowerChute stop
etc/rc.d/init.d/PowerChute start
Now you need to configure your shutdown options according to your requirements by connecting to your host on port 6547. In my case the ip address used for the host was 192.168.10.31.
https://192.168.10.31:6547
That's all your UPS configuration up and running within minutes. :)
Enjoy :)