APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-07 12:11 PM
I am deploying the APC Powerchute Network Shutdown OVA appliance in a VMWare environment to multiple remote locations. I am trying to find out if it is possible to automate the deployment, rather than have to input the VM settings and the PowerChute configuration items manually for each one. If so, is there a document that outlines how to do that. I'm assuming it can be done through Powershell/Powercli.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-11 02:57 PM
I did manage to figure out the answer to my original question. Here is what I found, in case anyone else struggles to determine how to pre-populate the PowerChute Network Shutdown OVA appliance provided by Schneider...
Prerequisites:
1. Download the .ova file (PCNS_en_5.1.0.ova)
2. Must have PowerShell connection to VMWare vCenter to run the needed commands
3. Must have PowerCLI also installed, in addition to Powershell
Steps:
1. Create a copy of the .ova file and name it according to your deployment needs.
2. Save copied file to a workstation/server that has Powershell and Powercli installed, with access to VMWare vCenter.
3. Open PowerShell as Administrator
4. Type command: connect-viserver "ipaddress of VMWare vCenter"
5. Enter credentials for VMWare vCenter connection when prompted
6.Type Command: $ovfPath = "in quotes type the path of the OVA file (example C:\Temp\PCNS_en_1.5.0.ova)"
7. Type Command: $ovfconfig = get-ovfconfiguration -ovf $ovfpath
8. Enter the following information to set the parameters for the virtual appliance .ova file. In PowerShell, type the following commands...
9.Type Command: $ovfconfig.Common
10. Type Command: $ovfconfig.NetworkMapping
11. Type command: import-vapp -Source $ovfPath -name $ovfconfig.Common.Hostname -ovfconfiguration $ovfconfig -Datastore "Enter datastore you want to install on" -DiskStorageFormat Thin -VMhost "Enter FQDN Hostname of ESXi server you want to deploy your .ova to"
12. Once the deployment activities complete and BEFORE you boot for the first time, select the virtual machine you deployed in VMWare vSphere
13. Wait for 5 minutes to ensure changes are applied
14. Boot VM and open a console window to view the boot process
15. VM should now be configured and boot straight to a login prompt
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.