SLAC CPE Software Engineering Group
How to setup/configure a UPS with a Smart Card
All LCLS Computers in the MCC Computer room are receiving their power via a SUA3000RMXL3U SMART-UPS with a smart card. This allows one UPS to control multiple servers.
Below are installation instructions and configuration instructions for telnet, web server, and client software.
(When purchasing this unit the smart card is an add-on and must be ordered separately. AP9617 )
i. arp –s ip-address mac-address
1. MAC address is on management card or on quality test sheet taped to anti-static bag the card was delivered in
2. ex. arp –s 22.214.171.124 00:00:3a:04:5b:06
ii. To test: ping ip-address –s 113
Once you setup the network you should be able to configure the rest via the web server. ( https://ip-address )
Configuration via Webserver
Initial web page:
Adminstration tab: SECURITY
Cliclk on NEXT >> (in above menu)
Important Note - The initial configuration of the UPS is done using standard http port #80. Set up the UPS for http port # 80. Save. Configure the client linux machine. After linux client machine is successifully configured it will display following message -
Registering PowerChute Network Shutdown with the management card ...
PowerChute Network Shutdown registration completed successfully.
Ones the client linux machine is successfully registered, you need to again login to ups via web and change web access method to https/443.
Ones the client linux machine is successfully registered, you need to again login to ups via web and change web access method to https/443. After completing the UPS configuration reboot the UPS management interface.
Administration: Notification tab
Administration: General tab
UPS : Configuration
UPS : Powerchute
Reboot the management interface after the configuration -
Administration -> General -> Reset/Reboot -> Reboot Management Interface
|*Note: On the AP9630 card the client software will not load if the AP9630 is setup to use HTTPS. Select HTTP for the cards web server and it will load the client software|
Note - Before configuring client ensure that from client machine you can ping the UPS. At the time of client set up, UPS should be configured for http/Port 80. Set up UPS for http/Port 80 and reboot UPS management card for the changes to come into effect. After the client starts showing up in UPS's web interface then set up UPS for https/Port 443 and reboot the UPS Management Card for changes to take effect. While configuring the client if you get message like "Cannot communicate with management card" , do not configure client. In case for any reason you want to unstall the client use command "/opt/APC/PowerChute/uninstall".
[root@lcls-archsrv Linux]# pwd
[root@lcls-archsrv Linux]# ./install.sh
PowerChute Network Shutdown 3.0.1 for Linux
Copyright (c) 1999-2012 Schneider Electric.
All Rights Reserved.
cp: cannot create regular file `backup.tar.gz': Permission denied
gzip: pcns301.tar: Permission denied
Press any key to display End User License Agreement
PowerChute/group1/apclicense.txt: No such file or directory
Do you agree to the above license terms? [yes or no]
Please enter the installation directory or press enter to install to the default directory (/opt/APC/PowerChute):
Are you sure you want to install PCNS to /opt/APC/PowerChute [Yes|No]?
Creating /opt/APC directory ...
PCNS will be installed to /opt/APC/PowerChute
Please enter java directory if you want to use your system java (example:/usr/local/bin/jre/jre1.6.0_31) or press enter to install the bundled Java:
Copying jre to /opt/APC/PowerChute ...
Extracting jre to /opt/APC/PowerChute/jre ...
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) Server VM (build 20.6-b01, mixed mode)
Copying the installation files ...
Extracting PCNS files ...
PCNS is extracted to /opt/APC/PowerChute
Configuring startup files ...
Updating Linux symbolic link ...
Configuring uninstall script ...
Setup the m11.cfg file
PowerChute Network Shutdown, v3.0.1
Copyright (c) 1999-2012, Schneider Electric. All Rights Reserved.
Installation has completed.
PowerChute Network Shutdown can be accessed through your browser at https://<your_server_ip_address>:6547
Please complete the configuration wizard so that PowerChute Network Shutdown can protect your server.
5. Once the above step is complete, logon to client from web browser - i.e. like https://lcls-dev7:6547/index.html
Select "Configure Events" and check box for following condition -> "Shut Down Server" when "UPS on Battery"
Important - Select "Configure Shutdown" and UNCLICK "Turn off the UPS after the shutdown finishes"
How to find out a server is connected to which ups without tracing power cables ?
Assuming there is a working and online server and you don't know to which ups it's connected. Without tracing power cables you can find it out using tcpdump command.
[root@lcls-dev3 divekar]# tcpdump udp | grep -i apc
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em1, link-type EN10MB (Ethernet), capture size 65535 bytes
12:11:15.490629 IP ups-lcls09.slac.stanford.edu.63474 > lcls-dev3.slac.stanford.edu.apc-3052: UDP, length 571
Programmers' Guides, Users' Guides, Requirements, Design, Papers, Administration, How-To, Hardware, IOC, Database
[SLAC CPE Software Engineering Group][ SLAC Home Page]
Last modified: July 28, 2014