Platform-specific documentation/ServerTech
ServerTech CDUs are smart power supplies with support for power and environmental monitoring, and (some models) outlet control.
Issues
- After the IP address of the (S)NTP server changes, either in DNS or by an explicit configuration change, the CDU needs to be restarted for this to take effect.
Initial Setup
- You will need to be on the datacenter's LAN to use the ServerTech GUI
- Adding items to scs
- using a browser go to the scs example:scs-a1-sdtpda.mgmt.pmtpa.wmnet
- add the pdu to the appropriate port
- connect the pdu to the scs switch (be sure to use cisco wire cfg)
- From terminal go to root@scs-a1-sdtpa.mgmt connect to the port using commands
- #pmshell
- #“port #”
- Run the following commands be sure to set the ip address to the appropriate ip address
- set dhcp disabled
- set ipaddress “10.1.5.21”
- set subnet 255.255.0.0
- set gateway “10.1.0.1”
- restart
After the pdu restarts
- Using a web browser go to the web page and accept the security certificate (you can use the IP Adress in the address bar)
- Login to the pdu with the default user/passwd admn/admn
- Go to users and create user "root" and give it the management password. Then click apply
- Under the action link use edit and select admin as the role and click apply.
- Logout of the pdu and then login again as user: root with the mgmt password
- go to users and delete the admn user.
Setting up the Configuration
- go to config_system
- change 'area footprint' to 3.3 meters
- set the 'display' to normal or inverted (depends on location)
- click apply
- Go to SNTP/SYSLOG
- Under SNTP set 'Primary Host' ntp.eqiad.wmnet.pmtpa (or eqiad)
- click apply
- UNDER SYSLOG set 'Primary Host" syslog.eqiad.wmnet
- click apply
- Under SNMP/Thresholds
- set GET to wKFVEQud
- set SET to YfzCUC
- Set the system name ps#—row/rack-<site> (ps1-c1-pmtpa)
- set the sys location row/rack-site
- set Sys contact Wikimedia <noc@wikimedia.org>
- click apply
- go to SENSOR TRAPS (Same Page)
- set low temp to 15
- set high temp to 40
- set low humidity to 25%
- set high humidity to 75%
- click apply
- Logout
Other Info
powering off and on outlets
These instructions are good for Sentry Switched CDU 6.0 firmware. (Manuals here, see the manuals for Firmware Version 6.0). They may well work for other versions of the firmware but haven't been tested there.
Please Note: We have a very limited number of switched powerstrips in place. Only the network racks (A1-sdtpa, A1-eqiad, A8-eqiad) and B1-sdtpa have these. The rest have normal non-switched powerstrips. The reasoning behind this is that the switched strip has more parts and complexity and can have issues more easily than the more simple strips. Networking kit does not normally have full out of band lights management, so those racks have them. B1-sdtpa is a legacy rack to have older servers that do not have full lights out management remote reboot capabilities.
- Find the pdu for your rack and your server. racktables
- It will have a name like ps1-b1-sdtpa.mgmt.pmtpa.wmnet (powerstrip-n, rack m, dc name...)
- ssh in, use standard credentials for the manangement network.
- Check what outlets or groups of outlets you want. You can list those by:
list user
- At the "Username:" prompt, type
root
. The outlets are first, the groups at the bottom.
- To power the outlet off, do
off name-of-outlet-or-group-here
- Example:
off .BC6
oroff dataset1-all
- To power the outlet on, do
on name-of-outlet-or-group-here
Sample successful output from a power off command:
Switched CDU: off dataset1-all Group: dataset1-all Outlet Outlet Outlet Load Power Control ID Name Status (Amps) (Watts) State .AC6 dataset1_a:xz:6 Off 0.00 0 Off .AC7 dataset1-array1_z:xz:7 Off 0.00 0 Off .BC6 dataset1_b:xz:6 Off 0.00 0 Off .BC7 dataset1-array1_b:xz:7 Off 0.00 0 Off Command successful Switched CDU:
Power on gives similar results.
Note that there's a five minute timeout so if you idle too long you'll have to reconnect.
summary of other commands
A few other useful commands:
- From the command line, hitting return/enter will show you a list of commands it knows.
- Check the version of the firmware by
show system
. It also announces the firmware version when you login. - Some commands for displaying various statuses: show ports/network/options/towers/infeeds/traps/system
- A couple monitoring commands: istat, envmon, sysstat
- Listing user info: list user (you will be prompted for a specific user), list users (you will be shown a list of all users)