How to configure PowerChute Network Shutdown Used with a MasterSwitch to Loadshed
PowerChute Network Shutdown
All support OS
PowerChute Network Shutdown works with MasterSwitch to provide graceful shutdown of servers powered by a UPS without turning off all loads attached to the UPS.
PowerChute Network Shutdown (PCNS) must be installed on the server that you want to gracefully shut down. The server must be plugged into an APC MasterSwitch outlet that is powered by an APC UPS that has a Network Management card installed to communicate with PowerChute Network Shutdown.
To gracefully shut down the server, either manually or as the result of a power event, use PCNS to configure a command file to run whenever the server shuts down. For information on how to run a command file using PCNS, see Configure Shutdown in the PowerChute Network Shutdown Help document that was included with the product.
Install a Command Line SNMP Tool
See the table below to determine which tool to use.
|Operating System||Tool Name||Where to Get It|
|Linux||ucd-snmp-x.x.x.rpm||Any site which has Linux RPMs|
Note: A different command-line SNMP tool may be used, but the command-line syntax may be different.
|snmpset is the name of the command to perform the SNMP set.|
|ms_ip is the IP address of the MasterSwitch powering the server.|
|private is the SNMP write community name.|
|OID is the SNMP object identifier that causes the outlet to turn off after a delay. See the table below to determine which OID to use.|
|If you have this product||Use this OID|
|Switched Rack PDU||.220.127.116.11.4.1.318.104.22.168.22.214.171.124.4.|
Outlet is the number of the outlet that powers the server that you want to shut down.
|If you have this product||Use instances in the following ranges|
|Switched Rack PDU||1-8 (1 to 24 on the 24 outlet PDUs)|
|MasterSwitch VM||Switch 1 outlets 1 to 8 (1.1.1 - 1.1.8) through switch 4 outlets 1 through 8 (4.1.1 - 4.1.8)|
|MasterSwitch Plus||Switch 1 outlets 1 to 8 (1.1.1 - 1.1.8) through switch 4 outlets 1 through 8 (4.1.1 - 4.1.8)|
|If you have this product||Use this delay command number|
|Switched Rack PDU||5|
*MasterSwitch Plus only
- "Restart Delay"": Must be set to ""Remain Off".
- "Outlet Control Mode": Must be in "Graceful Shutdown" mode.
Configure the MasterSwitch with appropriate "Power Off Delays."
The server is powered from outlet 2 of the 3rd switch connected to the MasterSwitch VM controller. The MasterSwitch VM's IP address is 126.96.36.199 and its SNMP write community name is private.
C:\usr\bin\snmpset -v 1 -c private 188.8.131.52 .184.108.40.206.4.1.3220.127.116.11.18.104.22.168.3.1.2 i 5
The server is powered from outlet 5 of a MasterSwitch. The MasterSwitch IP address is 22.214.171.124 and its SNMP write community name is private.
/usr/bin/snmpset -v 1 -c private 126.96.36.199 .188.8.131.52.4.1.3184.108.40.206.220.127.116.11.5 i 6
The command file executes at the same time the server starts its shut down. The MasterSwitch turn off delay must be greater than the time it takes the server to shut down. Perform a test shutdown to determine how much time the server requires to shut down. Add a safety factor (approximately twice the server shutdown time) to the server shutdown time, and use this total for the MasterSwitch "Power Off Delay".
Microsoft Windows OS
The command file must be an executable file and must start with the following line: