Loading ...
Home » Spaces » UPS Management Devices & PowerChute Software » discussion » General » Adding a list of UPS to PCNS

Adding a list of UPS to PCNS

Discussion in UPS Management Devices & PowerChute Software started by Danny , 5/3/2018 8:26 AM
Login to follow, share, and participate in this space.
Not a member?Join now
  • dannymueller
    Danny
    Novice Novice
    Danny 5/3/2018 8:26 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

  • wpasquil
    Bill
    =S= Representative
    Bill 5/4/2018 2:13 PM (in response to Danny)

    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

    [NetworkManagementCard]
    mode = single
    IP_1 = 192.168.1.11
    port = 80
    protocol = http
    enrolWithNMC = true
    acceptCerts = false
    IP_1_Outlet = 1
    Note: you can only add 4 UPS to a single PCNS client unless you are configuring for Advanced Redundant UPS. 

    To add PCNS clients to the NMC you can edit the NMC config.ini file. 

    [PowerChute]
    ;   PowerChute Network Shutdown, provides reliable network based shutdown of 
    ;   multiple computer systems to enhance the manageability of APC UPSs in 
    ;   datacenter environments. To add a client server, simply list the IP as such:
    ;   CurrentPCNSClientIP0=192.168.0.1
    ;   To associate an outlet group with a client where the groups are numbered 
    ;   0 to n with 0 being the main outlet group (if present on UPS)
    ;   PCNSClientIPGroup= 0
    ;   To remove a specific client, list the client using the keyword:
    ;   RemovePCNSClientIP=192.168.0.2
    ;   To remove all configured clients, use the keyword, value pair:
    ;   RemoveALLPCNSClientIP=yes
    ;   To change the Authentication Phrase, use the AuthPhrase keyword 
    ;   i.e., AuthPhrase=apc auth passphrase
    OnBatteryShutdownBehavior=Reboot On Line Return
    PCNSUserName=apc
    CurrentPCNSClientIP1=192.168.1.10
    PCNSClientIPGroup1=1
    OutletGroup1PCNSShutdownControl=enabled
    OutletGroup2PCNSShutdownControl=enabled
    OutletGroup3PCNSShutdownControl=enabled
    OutletGroup1PCNSOffDelayControl=enabled
    OutletGroup2PCNSOffDelayControl=enabled
    OutletGroup3PCNSOffDelayControl=enabled
    OnBatteryShutDownStatus=disabled
    OnBatteryShutDownDelay=120
  • dannymueller
    Danny
    Novice Novice
    Danny 7 days ago (in response to Bill)

    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.

  • wpasquil
    Bill
    =S= Representative
    Bill 7 days ago (in response to Danny)

    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

    Attachments
  • dannymueller
    Danny
    Novice Novice
    Danny 2 days ago (in response to Bill)

    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 = dur06esx0430001.khof.com&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

    [advanced_ups_setup_5]
    setup_name = namexyz2
    ip_addresses = 10.xx.xx.xx
    ups_required_for_load = 1
    shutdownCommandFileEnabled = false
    shutdownCommandFileDuration = 0
    shutdownOnLostRedundancy = false
    turnOffUps = false
    turnOffSOG = false
    executeCommandFileAfterHostShutdown = false
    shutdownCommandFileDelay = 0
    hostlist = dur06esx0430001.khof.com&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.

  • Page 1 of 1 (5 items)
Choose your language:  
powered by Communifire
Version 5.2.6420.11692