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.

  1. Download VMA (vSphere Management Assistant)
  2. 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
  3. This will create a new VM on the host.
  4. Using the VIC attach a CD Drive to the VMA Virtual Machine
  5. Start the Virtual Machine
  6. 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
  7. The VM will now apply the settings and restart the VM Network
  8. Enter a password for the vi-admin account
  9. Open a terminal emulation application such as Putty and Connect to the VIMA Vm using its IP Address on port 22 (SSH)
  10. Login as vi-admin, using the password you created in the previous step
  11. 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)
  12. Enter the password for the host when prompted (Vm
  13. VMware Host Root User Password)
  14. Enter the following string into the terminal window
    • Vifp listservers
  15. This should return the IP Address and name of the VMware Host that you just added
  16. Enter the following string into the terminal window to enable FastPass to the Host
  17. Vifptarget -s "SERVERNAME – Vmhost Server"
  18. To confirm the above step has worked type
    Vicfg-nics –l This should return a list of NICS
  19. Install the UPS, configure the Network management card and configure your settings with the UPS Management Console (browser)
  20. Insert your media into the VMHost and attach it to the VMA Virtual Machine (ie CD)
  21. Connect to the VMA management console via Terminal Emulator
  22. Login to the Management Console
  23. Create a mount point : sudo mkdir /mnt/cdrom
  24. 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
  25. Accept the licence agreement
  26. Press enter to keep default PowerChute Instance
  27. Press enter to keep default installation directory
  28. Confirm the installation
  29. This will install the Java Runtime
  30. Type: CD /opt /APC/PowerChute/group1Enter
  31. Type: sudo ./PCNSConfig.sh
  32. Enter your root Password
  33. Select your UPS Configuration Option
  34. Enter the Management Card IP Address
  35. Select yes at the do you want to register these settings
  36. Select Yes to starting the Powerchute Network Shutdown Service
  37. You will then be show a configuration
  38. Download VMA (vSphere Management Assistant)
  39. 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
  40. This will create a new VM on the host.
  41. Using the VIC attach a CD Drive to the VMA Virtual Machine
  42. Start the Virtual Machine
  43. 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
  44. The VM will now apply the settings and restart the VM Network
  45. Enter a password for the vi-admin account
  46. Open a terminal emulation application such as Putty and Connect to the VIMA Vm using its IP Address on port 22 (SSH)
  47. Login as vi-admin, using the password you created in the previous step
  48. When you are connected you will be presented with a terminal.
  49. Enter the following string into the terminal window
    • vifp addserver "name of server" or "IP Address" (name of server preferred)
  50. Enter the password for the host when prompted (VMware Host Root User Password)
  51. Enter the following string into the terminal window
    • Vifp listservers
  52. This should return the IP Address and name of the VMware Host that you just added
  53. Enter the following string into the terminal window to enable FastPass to the Host
    • Vifptarget -s "SERVERNAME – Vmhost Server"
  54. To confirm the above step has worked type
    Vicfg-nics –l
    This should return a list of NICS
  55. Install the UPS, configure the Network management card and configure your settings with the UPS Management Console (browser)
  56. Insert your media into the VMHost and attach it to the VMA Virtual Machine (ie CD)
  57. Connect to the VMA management console via Terminal Emulator
  58. Login to the Management Console
  59. Create a mount point : sudo mkdir /mnt/cdrom
  60. 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
  61. Accept the licence agreement
  62. Press enter to keep default PowerChute Instance
  63. Press enter to keep default installation directory
  64. Confirm the installation
  65. This will install the Java Runtime
  66. Type: CD /opt/APC/PowerChute/group1 Enter
  67. Type: sudo ./PCNSConfig.sh
  68. Enter your root Password
  69. Select your UPS Configuration Option
  70. Enter the Management Card IP Address
  71. Select yes at the do you want to Register these settings
  72. Select Yes to starting the Powerchute Network Shutdown Service
  73. You will then be show a configuration

Comments are closed for this post.