Powerchute Network Shutdown – ESXi/vMA install
26 Aug 2010 by Simon Greaves
Powerchute Network Shutdown version 3.0.0 software for ESXi is now free when you purchase a network shutdown management card from the APC website.
- Download VMA (vSphere Management Assistant)
- Highlight VM Host> File> Deploy OVF Template> Browse to VMA Folder and Select the OVF> Next> Accept Licence> Next> Keep Default Disk Configuration> Next> Finish
- This will create a new VM on the host.
- Using the VIC attach a CD Drive to the VMA Virtual Machine
- Start the Virtual Machine
- Follow the Wizard (Default Option is show in Brackets)
- Step1) Configure IP Address, Subnet, Gateway/DHCP or Static
- Step2) Configure DNS Servers/DHCP or Static
- Step3) Configure Hostname for the VIMA VM ie VIMA.domainname.local
- Step 4) Confirm the settings
- The VM will now apply the settings and restart the VM Network
- Enter a password for the
vi-admin
account
- Open a terminal emulation application such as Putty and Connect to the VIMA Vm using its IP Address on port 22 (SSH)
- Login as
vi-admin
, using the password you created in the previous step
- When you are connected you will be presented with a terminal
- Enter the following string into the terminal window
Vifp addserver "name of server" or "IP Address"
(name of server preferred)
- Enter the password for the host when prompted (Vm
- VMware Host Root User Password)
- Enter the following string into the terminal window
- This should return the IP Address and name of the VMware Host that you just added
- Enter the following string into the terminal window to enable FastPass to the Host
Vifptarget -s "SERVERNAME – Vmhost Server"
- To confirm the above step has worked type
Vicfg-nics –l
This should return a list of NICS
- Install the UPS, configure the Network management card and configure your settings with the UPS Management Console (browser)
- Insert your media into the VMHost and attach it to the VMA Virtual Machine (ie CD)
- Connect to the VMA management console via Terminal Emulator
- Login to the Management Console
- Create a mount point
: sudo mkdir /mnt/cdrom
- Change the permissions on the mount point
: sudo chmod 666 /mnt/cdrom
Type: sudo mount –t iso9660 /dev/cdrom /mnt/cdrom
Type: cd /mnt/cdrom/ESXi
Type: sudo cp /etc/vma-release /etc/vima-release
Type: sudo ./install.sh
- Accept the licence agreement
- Press enter to keep default PowerChute Instance
- Press enter to keep default installation directory
- Confirm the installation
- This will install the Java Runtime
- Type:
CD /opt /APC/PowerChute/group1
Enter
- Type:
sudo ./PCNSConfig.sh
- Enter your root Password
- Select your UPS Configuration Option
- Enter the Management Card IP Address
- Select yes at the do you want to register these settings
- Select Yes to starting the Powerchute Network Shutdown Service
- You will then be show a configuration
- Download VMA (vSphere Management Assistant)
- Highlight VM Host> File> Deploy OVF Template> Browse to VMA Folder and Select the OVF> Next> Accept Licence> Next> Keep Default Disk Configuration> Next> Finish
- This will create a new VM on the host.
- Using the VIC attach a CD Drive to the VMA Virtual Machine
- Start the Virtual Machine
- Follow the Wizard (Default Option is show in Brackets)
- Step1) Configure IP Address, Subnet, Gateway/DHCP or Static
- Step2) Configure DNS Servers/DHCP or Static
- Step3) Configure Hostname for the VIMA VM ie VIMA.domainname.local
- Step 4) Confirm the settings
- The VM will now apply the settings and restart the VM Network
- Enter a password for the vi-admin account
- Open a terminal emulation application such as Putty and Connect to the VIMA Vm using its IP Address on port 22 (SSH)
- Login as vi-admin, using the password you created in the previous step
- When you are connected you will be presented with a terminal.
- Enter the following string into the terminal window
vifp addserver "name of server"
or "IP Address"
(name of server preferred)
- Enter the password for the host when prompted (VMware Host Root User Password)
- Enter the following string into the terminal window
- This should return the IP Address and name of the VMware Host that you just added
- Enter the following string into the terminal window to enable FastPass to the Host
Vifptarget -s "SERVERNAME – Vmhost Server"
- To confirm the above step has worked type
Vicfg-nics –l
This should return a list of NICS
- Install the UPS, configure the Network management card and configure your settings with the UPS Management Console (browser)
- Insert your media into the VMHost and attach it to the VMA Virtual Machine (ie CD)
- Connect to the VMA management console via Terminal Emulator
- Login to the Management Console
- Create a mount point :
sudo mkdir /mnt/cdrom
- Change the permissions on the mount point:
sudo chmod 666 /mnt/cdrom
Type: sudo mount –t iso9660 /dev/cdrom /mnt/cdrom
Type: cd /mnt/cdrom/ESXi
Type: sudo cp /etc/vma-release /etc/vima-release
Type: sudo ./install.sh
- Accept the licence agreement
- Press enter to keep default PowerChute Instance
- Press enter to keep default installation directory
- Confirm the installation
- This will install the Java Runtime
- Type:
CD /opt/APC/PowerChute/group1
Enter
- Type:
sudo ./PCNSConfig.sh
- Enter your root Password
- Select your UPS Configuration Option
- Enter the Management Card IP Address
- Select yes at the do you want to Register these settings
- Select Yes to starting the Powerchute Network Shutdown Service
- You will then be show a configuration