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.
Posted: 2021-06-30 12:30 AM . Last Modified: 2024-03-11 04:04 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:30 AM . Last Modified: 2024-03-11 04:04 AM
Hi everybody, Hi Bill,
what is the best practice to adding a lot of UPS without clicking the "Powerchute setup"?
can I import a CSV or something else? Script the NMC2 with powerchute clients?
The solution with INI Utility sounds great to me.
thanks in advance
best regards
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: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:03 AM
Hi,
PowerChute Network Shutdown is designed to react to signals sent from the network management card based on the status of the UPS. PowerChute Network Shutdown is not designed to be a monitoring or management tool. Its purpose is to shutdown the OS when the UPS is on battery, at low battery etc. A list of possible shutdown variables will be found in the PowerChute User's Guide under configurable events.
If you need a tool to monitor and manage the UPS at multiple location through the network card you should look at EcoStruxure. Another option is through a SNMP Agent. An example of an SNMP Agent is SolarWinds.
Another note: you pointed to an old thread concerning the PowerChute VM. We do not support Advanced Redundant UPS configuration when PowerChute is running on a VM. Also, we list in the User's Guide that we tested PowerChute in Advanced Redundant UPS configuration with 16 UPS / NMCs. The User's Guide does states that you can add more to allow users to determine their own best practices.
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: 2021-06-30 12:30 AM . Last Modified: 2024-03-11 04:04 AM
Hi,
Do you want to add UPS to the PCNS client or do you want to add PCNS clients to the UPS?
In the pcnsconfig.ini there is a section that represents the UPS/s the PCNS client is registered with. See Schneider Electric FAQ FA159757
To add PCNS clients to the NMC you can edit the NMC config.ini file.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Hi Bill,
thanks for you answer, sorry for my late answer I was busy with other tasks.
first I tried to add all NMC to PCNS, the APCs were listed in the PCNS, but it wasn't pushed to the UPSs
Then I tried to edit the NMC Config, but in the config is the IP address, and if I want to reupload a NMC Config, I hoped that its possible to uploade only a few settings. The problem is, that if I create and upload a config with IP, every NMC get the same IP address, the 2nd way to upload a NMC config without the section IP address will overwrite it to blank, and the APC is lost.
I know I got very dumb questions.
Thanks a lot for helping me all the time.
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: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Hi,
Do you want to add multiple PCNS clients to a NMC. If that is the case you would add the PCNS client IPs to a NMC config.ini and then push that file to the NMC.
Schneider Electric FAQ FA156117 discusses mass configuration of NMC. I followed the steps to add just PowerChute client to the config.ini and the clients were added to the config.ini when I copied the PowerChute.ini to the NMC. I have attached the test PowerChute.ini file.
NOTE: I had to change the name to PowerChute.txt to attach to this post. If you want to use the file you will need to change the extension to .ini
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Hi Bill,
this worked perfectly thanks a lot, I updated all my NMCs.
But now I'm looking for a faster way to add all NMC(APCs) to the central PCNS, with editing the pcnsconfig.ini
1. in this section:
IP_1 = 10.xx.xx.xxx
IP_2 = 10.xx.xx.xxx
IP_3 = 10.xx.xx.xxx
IP_4 = 10.xx.xx.xxx
IP_5 = 10.xx.xx.xxx
IP_6 = 10.xx.xx.xxx
and 2. section
[advanced_ups_setup_4]
setup_name = namexyz
ip_addresses = 10.xx.xx.xxx
ups_required_for_load = 1
shutdownCommandFileEnabled = false
shutdownCommandFileDuration = 0
shutdownOnLostRedundancy = false
turnOffUps = false
turnOffSOG = false
executeCommandFileAfterHostShutdown = false
shutdownCommandFileDelay = 0
hostlist = xxxxxxxxxxxxxxxxxxxx&0
force_VApp_shutdown = false
enable_guest_vm_migration = true
guest_vm_migration_duration = 270
enable_custom_target_vm_migration = false
custom_target_hosts =
enable_guest_vm_shutdown = true
guest_vm_shutdown_duration = 270
enable_guest_vm_startup = true
guest_vm_startup_duration = 360
enable_VApp_shutdown = false
VApp_shutdown_duration = 120
enable_VApp_startup = false
VApp_startup_duration = 120
vm_startup_delay_duration = 0
ShutdownVirtualHosts = false
shutdownPowerchuteServer = false
and then the entries are listed on the PCNS Webinterface on the left site with Error Accessing(see embedded screenshot), but then I have to do the Powerchute Setup again to enable the communication.
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: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Hi,
How I have done this in the past is to install PCNS on a system and configure for VMware and Advanced Redundant UPS through the web interface. Then on the secondary system I installed PCNS silently configuring for basic setup e.g. single UPS. When the silent install has completed I stop the PCNS service, copy the pcnsconfig.ini file from the original system to the secondary system, edit it as needed, and then restart PCNS. The secondary system is now configured for VMware with Advanced Redundant UPS.
NOTE: Advanced Redundant UPS configuration is not support when PCNS is running on a VM.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
perfect!
sorry for the dumb question, I put all my APC in the pcnsconfig.ini with IP = xx.xx.xx.xxx and IP_xx_Outlet
im totally a beginner in scripting and powershell, I want to script the advanced setup, I got all entries of my APCs in an excel sheet,
and I only want to count the number at[advanced_ups_setup] +1, and fill the setup_name and ip_adresses from the excel sheet....
[advanced_ups_setup_6]
setup_name = namexyz
ip_addresses = 10.xx.xx.xxx
ups_required_for_load = 1
shutdownCommandFileEnabled = false
shutdownCommandFileDuration = 0
shutdownOnLostRedundancy = false
turnOffUps = false
turnOffSOG = false
executeCommandFileAfterHostShutdown = false
shutdownCommandFileDelay = 0
hostlist = xxxxxxxxxxxxxxxxxxxx&0
force_VApp_shutdown = false
enable_guest_vm_migration = true
guest_vm_migration_duration = 270
enable_custom_target_vm_migration = false
custom_target_hosts =
enable_guest_vm_shutdown = true
guest_vm_shutdown_duration = 270
enable_guest_vm_startup = true
guest_vm_startup_duration = 360
enable_VApp_shutdown = false
VApp_shutdown_duration = 120
enable_VApp_startup = false
VApp_startup_duration = 120
vm_startup_delay_duration = 0
ShutdownVirtualHosts = false
shutdownPowerchuteServer = false
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Nevermind got it already... but now I got the same problem, like my first request here...
if I put about 150 APCs to my central PCNS appliance it runs again with 100% CPU...
is there a best practice amount of APCs connected to a PCNS?
Thanks a lot
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: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Hi,
What are you attempting to accomplish with this configuration? Also, are all of the UPS at the same location?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:04 AM
Hi Bill of course not, they are at different locations.
see my old post "http://forums.apc.com/spaces/7/ups-management-devices-powerchute-software/forums/general/84347/pcns-..."
I thought this appliance should be a central management for all APCs with advanced config in all locations.
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: 2021-06-30 12:31 AM . Last Modified: 2024-03-11 04:03 AM
Hi,
PowerChute Network Shutdown is designed to react to signals sent from the network management card based on the status of the UPS. PowerChute Network Shutdown is not designed to be a monitoring or management tool. Its purpose is to shutdown the OS when the UPS is on battery, at low battery etc. A list of possible shutdown variables will be found in the PowerChute User's Guide under configurable events.
If you need a tool to monitor and manage the UPS at multiple location through the network card you should look at EcoStruxure. Another option is through a SNMP Agent. An example of an SNMP Agent is SolarWinds.
Another note: you pointed to an old thread concerning the PowerChute VM. We do not support Advanced Redundant UPS configuration when PowerChute is running on a VM. Also, we list in the User's Guide that we tested PowerChute in Advanced Redundant UPS configuration with 16 UPS / NMCs. The User's Guide does states that you can add more to allow users to determine their own best practices.
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.