HP Advanced Power Manager User Guide Abstract This guide provides installation and operation guidance for the HP Advanced Power Manager. This guide is for the person who installs, administers, and troubleshoots servers and storage systems.
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Confidential computer software.
Contents Introduction .................................................................................................................................. 8 HP APM overview ........................................................................................................................................ 8 HP APM kit contents ........................................................................................................................... 9 HP APM front view ......................................
Showing a RADIUS server ................................................................................................................. 38 Power capping ........................................................................................................................... 39 Power capping overview............................................................................................................................. 39 Power capping requirements ...................................................
SNMP overview ......................................................................................................................................... 64 Enabling SNMP ......................................................................................................................................... 64 Displaying SNMP parameters ...................................................................................................................... 64 Setting the SNMP read-only community string..........
Reset ......................................................................................................................................................... 79 Reset buddy ............................................................................................................................................... 79 Reboot ...................................................................................................................................................... 79 Reboot CM ...................
Reset keys ................................................................................................................................................. 92 Add RADIUS server .................................................................................................................................... 93 Enable RADIUS .......................................................................................................................................... 93 Disable RADIUS ...........................
Introduction HP APM overview HP APM is a rack-level point of contact for HP ProLiant Scalable System and HP Apollo administration. For a full description of HP APM features and support, see the Quick Specs on the HP website (http://h18000.www1.hp.com/products/quickspecs/14189_div/14189_div.pdf).
HP APM kit contents Item Description 1 HP APM 2 Mounting brackets (2) 3 Terminal blocks (2) 4 Power cords (2) 5 Bracket mounting screws, T-20 (2)* 6 Rack mounting screws, 10-32 (2)* 7 Cage nuts (2)* 8 This document* *Not shown The following cables are required to connect the HP APM to the system: • Consolidated Management cable • Micro DB9 to DB9 cable or Micro DB9 to Micro DB9 cable • Ethernet cable All cables are sold separately.
HP APM front view Item Description 1 Consolidated Management Ports 1 through 10 (RDM1) 2 Power LED 3 Serial management for top of rack switch 4 RDM3 port for HP APM distribution module 5 RDM2 port for HP APM distribution module 6 iLO port 7 UID 8 Health LED 9 Reset button 10 Ethernet Management port 11 Service port 12 Serial console port 13 Micro SD slot 14 Power Distribution Module ports NOTE: HP recommends configuring the HP APM so that it controls only one rack.
HP APM rear view Item Description 1 Power plugs 1 and 2 2 On-Generator and AUX signals 3 Redundant reset HP APM connections HP APM offers new rack level management solutions that consolidate IT control, monitoring, and console access to hosted server, storage, fabric, and power resources to a single wire at the chassis level. • 10 Consolidated Management Ports, which include ethernet, serial, and hardware signaling ports, connect to each SL chassis mounted rack.
Depending on the product being connected to the HP APM, the HP APM connects to the system components using various cables. All cables required for connecting the HP APM to the system must be purchased separately.
Item Component Connects To 10 Terminal Serial console port on the HP APM 11 RDM • • RDM2 or RDM3 port on the HP APM RDM/HP APM* port on the product chassis *Some products may identify this as the SL APM port. NOTE: HP APM considers the10 Consolidated Management Ports as RDM1.
Identifying the RDM2 and RDM3 ports Consolidated management ports (RDM1) are used only for products designed to work with HP APM when a separate RDM is not required. When connecting the HP APM module to an RDM, always use either the RDM2 or RDM3 ports. Item Description 1 RDM2 port 2 RDM3 port HP SL Advanced Power Manager Distribution Module The distribution module includes a connector bay for the HP APM and cables for SL Scalable Series servers. It is backwards compatible with SL APM.
Item Description 1 Connector port to the RDM2 or RDM3 ports on HP APM 2 SL Scalable Series server connectors 3 Power (green) LED, which indicates connection to port 4 Activity (amber) LED, which indicates activity to HP APM Distribution Module The HP Apollo a6000 Chassis connects directly to the Consolidated Management Ports (RDM1). For more information, see "Naming and numbering conventions (on page 16).
Using RJ-45 connections You can have one HP APM per power network (one CLI interface over an Ethernet). One HP APM can connect up to two HP APM Rack Distribution Modules. Each SL APM Rack Distribution Module can connect up to 10 SL chassis with an RJ-45 connection or an 8-pin standard connector that comes with the RDM. Naming and numbering conventions The following figure shows an example of the basic HP APM configuration and node numbering convention on a scalable system enclosure.
Item Description 3 HP ProLiant SL Series Chassis 4 HP Moonshot 1500 Chassis 5 Power Distribution Unit 6 HP Intelligent Modular PDU Managed Extension Bar 7 SL APM Distribution Module When entering commands that require specific port and node numbers, use the HP APM port number, SL APM Distribution Module port number, and the SL server node number.
Item Description 3 Connections to SL series enclosures The HP APM commands SHOW TOPOLOGY and SHOW RACK displays the SL chassis connected with number, based on the HP APM port connection.
The discovery process also has a simple fault detection mechanism. If any node has faults detected (for example, power supply failure), the discovery response data reports the fault. For a list of alert messages, see "Alert messages (on page 74)".
Installation and configuration Prerequisites for installation The HP APM can be administered through the serial console. Initial configuration requires a serial terminal set to 115200. Preparing for installation 1. If you are not using a DHCP server, have your necessary IP address information available that will be used to access the HP APM. 2. Secure a serial terminal, which is required for the initial setup of the HP APM. 3.
• Duplicate the configuration. For more information, see "Duplicating the configuration (on page 23)." Using the configuration wizard When you enter CONFIG, you are prompted to complete the following tasks. 1. Set the onboard clockIf you select Y, you will be prompted for the following information: o MonthEnter a value between 1 to 12. Press Enter. o DayEnter a value between 1 to 31. Press Enter. o YearEnter the year (value must be four digits). Press Enter. o HourEnter a value between 0-23.
Serial port configuration Verify that the client matches the following settings: • Baud rate115200 • Data bits8 • Stop bits1 • ParityNone • Flow controlNone To set a different serial baud rate, enter SET SERIAL , where is the baud rate setting to be used. You must reboot before baud rate takes effect. You must change the settings on your client to match the settings on the HP APM.
Security configuration The network interface is disabled when password protection is removed. For more information about passwords, see "Working with passwords (on page 54)". Protocol configuration HP APM supports SSH and Telnet. Working with SSH configuration To enable SSH access, enter ENABLE SSH. To disable SSH access, enter DISABLE SSH. Working with the Telnet configuration To enable Telnet access, enter ENABLE TELNET. To disable Telnet, enter DISABLE TELNET.
Command Line Interface Command line conventions CLI input is case insensitive except when otherwise noted. The CLI uses a simple, case insensitive verb noun "" syntax. Each command follows the conventions listed in the following table. Symbol Description Denotes the variable within the symbols that must be substituted with a value, such as a user name. Symbols must be removed. UPPER CASE Denotes input to be entered as shown. Unless noted, symbol is not case-sensitive.
2. When prompted, enter the assigned IP address or FQDN name of HP APM. 3. Enter Administrator. 4. Enter a valid password. The CLI command prompt appears. 5. Enter commands for HP APM. 6. To terminate the remote access Telnet session, close the communication software or enter EXIT, LOGOUT, or QUIT at the CLI command prompt. Accessing the HP APM through the serial port You can also access the HP APM through the serial port. For more information, see "Serial Port Configuration (on page 22).
6 : Compute node (active) 7 : Compute node (active) 8 : Compute node (active) Power supply slot 1 is occupied, status good Power supply slot 2 is occupied, status good Power supply slot 3 is occupied, status good Power supply slot 4 is empty Fan slot 1 status good Fan slot 2 status good Fan slot 3 status good Fan slot 4 status good Fan slot 5 status good Fan slot 6 status good Fan slot 7 status good Fan slot 8 status good 2: 3: 4: 5: 6: 7: 8: 9: 10: (vacant) (vacant) (vacant) (vacant) (vacant) (vacant) (va
1 : Compute node (active) 2 : Compute node (active) 3 : Compute node (active) 4 : Compute node (active) 5 : Compute node (active) 6 : Compute node (active) 7 : Compute node (active) 8 : Compute node (active) Power supply slot 1 is occupied, status good Power supply slot 2 is occupied, status good Power supply slot 3 is occupied, status good Power supply slot 4 is empty Fan slot 1 status good Fan slot 2 status good Fan slot 3 status good Fan slot 4 status good Fan slot 5 status good Fan slot 6 status good Fa
Serial Number: ADFV0000083 Asset Tag : SCI Lab PDU Part Number : QL192A Firmware Rev : 1.0a Switched Outlets: 1: enabled 2: enabled 3: enabled 4: enabled 5: enabled 6: enabled Input Feeds: 1: Amps Drawn : 0.840000 Infeed Status : On Infeed Load Status : Normal 2: Amps Drawn : 0.860000 Infeed Status : On Infeed Load Status : Normal 3: Amps Drawn : 0.800000 Infeed Status : On Infeed Load Status : Normal 4: Amps Drawn : 2.
Showing assetinfo To list all the chassis in the rack in a report format, enter SHOW ASSETINFO. For example, the following text might appear: slapm> show assetinfo 1 7 1: Dist.
2: enabled 3: enabled 4: enabled 5: enabled 6: enabled Input Feeds: 1: Amps Drawn Infeed Status Infeed Load Status 2: Amps Drawn Infeed Status Infeed Load Status 3: Amps Drawn Infeed Status Infeed Load Status 4: Amps Drawn Infeed Status Infeed Load Status : 0.860000 : On : Normal : 0.870000 : On : Normal : 0.830000 : On : Normal : 2.590000 : On : Normal Showing the MAC address To show the MAC address, enter SHOW MACADDR. The MAC address appears.
Fan slot 7 status good Fan slot 8 status good To show a particular MAC address, enter SHOW MACADDR and then the HP APM port or both the HP APM port and HP APM Distribution Module port.
Logging Overview of logging Logging enables you to see the following information in HP APM: • Actions taken • Events • Time when the action was taken or event occurred HP APM has the following types of logs: • Event logs, where HP APM records events • Fault logs, where HP APM records internal errors. These internal errors create alerts in which the red LED illuminates. For a list of alert messages, see "Alert messages (on page 74)." You can issue commands for both internal and external logging.
Nov 6 11:51:25 SLAPM system.0: Server found in chassis at Dist. Module #2, port 3, slot 8 Nov 6 11:51:25 SLAPM system.0: Power supply found in chassis at Dist. Module #2, port 3, slot 1 Nov 6 11:51:25 SLAPM system.0: Power supply found in chassis at Dist. Module #2, port 3, slot 2 Nov 6 11:51:25 SLAPM system.0: Power supply found in chassis at Dist. Module #2, port 3, slot 3 Nov 6 11:51:25 SLAPM system.0: Power supply in chassis at Dist. Module #2, port 3, slot 1 status is good Nov 6 11:51:25 SLAPM system.
Nov 6 11:51:26 SLAPM system.0: Server found in chassis at Dist. Module #2, port 6, slot 7 Nov 6 11:51:26 SLAPM system.0: Server found in chassis at Dist. Module #2, port 6, slot 8 Nov 6 11:51:26 SLAPM system.0: Power supply found in chassis at Dist. Module #2, port 6, slot 1 Nov 6 11:51:26 SLAPM system.0: Power supply found in chassis at Dist. Module #2, port 6, slot 2 Nov 6 11:51:26 SLAPM system.0: Power supply found in chassis at Dist. Module #2, port 6, slot 3 Nov 6 11:51:26 SLAPM system.
Showing and clearing the fault log To show the fault log, enter SHOW FAULTS. As an example, the following text might appear on screen: > show faults May 4 19:43:43 APM-D4C9EFCB01CA system.0: Power Manager Power Supply 1 is non operational May 5 01:42:20 APM-D4C9EFCB01CA system.0: Timeout waiting for Dist. Module mutex on Power Manager port 3 May 6 03:51:16 APM-D4C9EFCB01CA system: Failed login attempt with user 'Administrator' from 192.168.1.1 To clear the fault log, enter CLEAR FAULTS.
Fault logged message Description Fans: Fans failed or removed. There is a 20 second delay in detecting a fan status change. • • • • • Power Manager Fan 2, failed Both fans failed One or more Fan rotor(s) failed One or more Fan(s) failed One or more Fan health status improved User config corruption detected, using backup copy. The user configuration is corrupted, and HP APM is using the backup copy. Remove all accounts, and then add a new account and password.
XML-related fault messages The following XML-related fault messages might appear in your fault log: • Failed to allocate memory for XML parser. • Failed to create a XML Output File for writing. • Failed to create a XML Output. • XML Rear Error To attempt to resolve these error messages, first "Disable XML," and then "Enable XML" or "Enable XML Secure." Working with RADIUS servers The HP APM firmware supports the RADIUS authentication protocol.
Showing a RADIUS server To show the currently configured RADIUS server, enter SHOW RADIUS. To show the currently configured RADIUS parameter, use the SHOW CONFIG command.
Power capping Power capping overview HP Scalable System products, including HP ProLiant SL Series, HP Moonshot Series, and HP Apollo Series provide a power capping feature that operates at the server enclosure level. The capping feature can be activated using a stand-alone utility called PPIC.EXE that runs in the environment of one of the resident servers in the chassis to be power capped.
installed), then the HP APM detects this change and invalidates the current power baseline. This invalidation prevents any new caps from being set, but does not disable any existing caps that are set.
Power baseline The power baseline is a calibration that indicates the range of how little power the chassis can consume at their maximum allowable power cap and how much power they can consume when completely uncapped. The minimum value is derived by capping the servers at their maximum internally allowable cap setting, running the enclosure fans up to 90% of capacity, and then measuring the power consumption of the chassis at the power supply level.
To remove baseline data from the EEPROM, use the SET POWER BASELINE NONE command. After this command is used, the only way to re-establish a power baseline is to use the SET POWER BASELINE command. If a power cap is currently in place, the SET POWER BASELINE NONE command cannot be used. The power cap must first be removed (SET POWER CAP NONE), then the baseline can be removed.
Setting power capping Use the SET POWER CAP command to specify a power cap. The command takes an AC wattage range that must be between the minimum and maximum values that were set with the SET POWER BASELINE command and are shown with the SHOW POWER BASELINE command. The following example illustrates the Consolidated Management Ports 1 through 10 (RDM1) and Power Distribution Module ports.
1 1 1 1 1 1 1 1 1 1 1 watts) 1 1 1 1 1 1 1 1 1 1 1 1 watts) 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 4 5 6 7 8 3 3 3 3 3 3 3 3 3 3 3 2 3 4 5 6 7 8 Fans 257 242 232 265 259 240 258 20 n/a n/a n/a n/a n/a n/a n/a 340 324 315 351 344 325 346 (DC watts) (DC watts) (DC watts) (DC watts) (DC watts) (DC watts) (DC watts) (DC watts) 2036 (Chassis total - DC watts) 2151 (Chassis total - AC watts) 2247 (Chassis cap - AC 4 4 4 4 4 4 4 4 4 4 4 4 1 2 3 4 5 6 7 8 Fans 91 (empty) 115 (empty) (empty) (empty) (empty) (emp
---718 The following example uses the power distribution module. > show power pdm PDM port 1 PDM ---1 1 1 1 1 Port ---1 2 3 4 5 Load ---93 140 11 228 50 ---522 (AC (AC (AC (AC (AC watts) watts) watts) watts) watts) PDM port 2 PDU: STI Serial TrueRMS PDU Part Number: QL192A Serial Number: ADFV0000083 Asset tag: SCI Lab PDU Firmware rev: 1.0a Infeed Amps: 60 Number of Infeeds: 4 Switched Outlets: 6 Infeeds: 01: Amps drawn: 0.850000 Status: On Load: Normal 02: Amps drawn: 0.
Total system wattage = 2033 (DC watts) Total system wattage = 2148 (AC watts) > show power baseline All values listed are in AC watts APMPort DMPort Serial Number Min Cap Max Cap Set Cap Slots Populated ------- ------ ------------- ------- ------- ------- ----- ---------------1 3 0000000000 2242 4744 0 (8) 1 2 3 4 5 6 7 8 1 4 845 4744 0 (8) 1 3 ------- ------- ------3087 9488 0 > show power MDM Port ------1 1 1 2 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 watts) 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4
3 4 5 6 7 8 Total Total Total Total Total PDM ---1 1 1 1 1 2 (no (no (no (no (no (no Dist. Dist. Dist. Dist. Dist. Dist.
Defining zones is an optional function, and is useful for applying power caps to some chassis while excluding others or applying different power caps to different groups or single SL chassis. Since HP APM zones are merely definitions of user defined HP APM group boundaries (and by extension any chassis that are plugged into those ports), they ignore the actual physical presence of enclosures as they are being defined in the HP APM CLI. Empty HP APM ports can be included in a zone.
APMPort DMPort Serial Number Min Cap Max Cap Set Cap Slots Populated ------- ------ ------------- ------- ------- ------- ----- ---------------1 1 0 0 0 (8) 1 2 CNK71600K4 585 2372 1500 (8) 2 3 5 7 ------- ------- ------585 2372 1500 > set power cap 2000 blue New cap represents 84 percent of the max cap of eligible entities. Apply cap (Y/N) -> The above output sets a power cap only to those chassis that are in the zone defined as BLUE.
In the following figure, the HP APM port 2 is connected to the HP APM Distribution Module port 4. The distribution module port is connected to the SL enclosure and server node 8. Item Description 1 HP APM 2 HP APM Distribution Module 3 SL series enclosure 4 Bay 4 of a 4U chassis SL6500 Scalable System enclosure with eight 1U half-width nodes Displaying the rack power status Enter SHOW POWER, and then optionally the specific HP APM port, or both the HP APM and the HP APM Distribution Module ports.
• A total count of all the servers and chassis listed • Total fan wattage for the listing • Total system wattage in DC watts • Total system wattage in AC watts For example, the following text might appear on screen: MDM Port Node Avg Min Max ---------------------1 (no Dist.
To turn an SL server node on or off, use the SET POWER command: SET POWER {ON|OFF|ENABLE|DISABLE} {ALL | {|ALL}} where: ALL is used when the command applies to all nodes. You can also use ALL when the command applies to all the server nodes in a particular SL server enclosure. refers to the HP APM, PDM1, or PDM2 port numbers. refers to the HP APM Distribution Module port number or the HP Intelligent Modular PDU Extension Bar outlet number.
Disabling the polling of servers for power values To disable the background process that is polling each server for power usage, enter DISABLE POLLPOWER. The DISABLE POLLPOWER setting is the default.
General commands Working with passwords HP APM has a password recovery mechanism through the reset switch. If you press the reset switch for more than 5 seconds, the board reboots and proceeds in the password recovery mode. In the password recovery mode, the board boots up without asking for a password. All network interface is disabled. HP APM has only one login account. This account is the “Administrator” account.
When entering a password in this manner, you must include quotation marks around the password being set. This form of command is useful for scripted setup. Disabling HP APM passwords To disable the password, enter DISABLE PASSWORD. This command disables the password protection feature. If the password is disabled, all network interfaces are also disabled. Changing HP APM passwords To change the password of the current user, enter SET PASSWORD "".
Account MyLogin123 enabled myslapm> The account name must be between2-32 characters. If you attempt to use more than 32 characters, you will receive an error message: myslapm> add account "adkfjklsdjflsdjflsjflksdjfkljsdkljfklsdjfkljsdklfjsdljfklsdj" Account name has invalid character or is reserved Account name must be 2-32 characters Valid characters are A-Z,a-z,0-9,_,and -. After you enter this command with a valid new username, a prompt asking for a password appears. Enter the password.
ADD ZONE [[ ]] | [ ALL] | [ALL] where: • is the zone name. • is the port number. • is the distribution module port number. • is the port number. For example: myslapm> add zone red 1 2 Zone RED does not exist, would you like to create it? (Y/N) -> Yes Note: there currently is no physical chassis plugged into Power Manager port 1, Dist.
Removing zones To remove one or more chassis from a zone definition, enter REMOVE ZONE [[ ]] | [ ALL] | [ALL] where: • is the zone name. • is the port number. • is the distribution module port number. • is the port number. If no more chassis exist in the zone after the target chassis is removed, then the zone is automatically deleted.
Showing configurations To show the configuration, enter SHOW CONFIG. A list of commands representing the configuration of HP APM appears. Using the help To access the help, enter HELP.
the power manager name, press Enter. Naming the HP APM is optional. This is the name that appears in log entries on the syslog server as well as the CLI prompt. Setting the time To set the time, enter SET TIME where: • is the month. • is the day. • is the year. • is the hour, in 24-hour format. For example, enter 3:00 p.m. as 15. • is the minute. HP APM does not automatically adjust for Daylight Savings Time.
• Serial Number • FRU File ID The power manager is the bottom board, and the connector module is the top board that has all the display port connections.
For example, the following text appears: APM-D4C9EFCB00B4> show version HP Advanced Power Manager (c) Copyright 2014 Hewlett-Packard Development Company, L.P. All rights reserved Version 2.00 Build time was Apr 21 2014, 11:58:04 To show the HP Power Management Controller Utility hardware and firmware versions as well as the license status of all servers in the enclosures, enter SHOW VERSION ALL. Rebooting and resetting factory settings To reboot, enter REBOOT. Unsaved configuration settings are lost.
All configuration and password settings will be lost. Password access will be disabled. Network access will be prevented due to disabled password. Exiting, logging out, or quitting HP APM To exit enter one of the following: EXIT, LOGOUT, enter QUIT. Connecting and setting ports To connect the current CLI session to the specified serial port, enter CONNECT PORT. To configure a single or all serial ports, enter SET PORT. Ports 1 through 10 refer to the display ports, and 11 and 12 refer to the serial ports.
Using SNMP SNMP overview The architectural model for SNMP contains these components: • At least one network management station with manager software. A network management station is a host running an application that manages the network. The network management applications request information from the agents, put the information into a database, and then translate messages into a readable format. • Network Agents. Network agents are managed devices containing agent software.
Setting the SNMP read-only community string To set the SNMP read-only community string, enter SET SNMP RO "". For example, enter: SET SNMP RO "alphabravo" Setting the SNMP read-write community string To set the SNMP read-write community string, enter SET SNMP RW "". For example, enter: SET SNMP RW "alphabravo" Setting the SNMP contact To set the sysContact field, enter SET SNMP CONTACT "".
• cpqRackPowerSupplyOK • cpqRackPowerSupplyRemoved • cpqRackPowerSupplyInserted • cpqRackServerBladeRemoved • cpqRackServerBladeInserted * Not supported on HP ProLiant s6500 Chassis SNMP support of cpqHoSwRunningTable The first element of this SNMP table lists the HP APM base firmware itself under cpqHoSwRunningName and cpqHoSwRunningDesc with cpqHoSwRunningVersion listing the correct version of the HP APM firmware.
Using XML XML overview XML scripting provides a standard programmatic means for data center tools to interact with the HP APM. You can configure many of the same components available with the HP APM CLI only in a format that is more favorable to the many tools that use XML as a scripting medium. In addition to configuration capabilities, you can also draw information from the HP APM, based on an XML query/response paradigm, such as querying a rack for all available power loads on that rack.
Response definitions Every command sent to HP APM generates a response. The response tells whether the command succeeded or failed. Some commands generate additional information. The additional information appears in execution sequence, provided that no errors occurred. For example, a successful response might appear as follows: A fail response might appear as follows: PAGE 69MSG This element contains a message describing the error that occurred. If no error occurred, the message No error appears. Depending on the XML information sent, the element might return more than one error. For example, giving an invalid XML and an incorrect username/password generates two error messages. Enabling XML To enable the XML interface and make XML queries available on the network using port 80 (HTTP), enter ENABLE XML.
Requesting information with XML commands You can request the firmware version, rack topology, and rack information with XML commands. Requesting firmware version To request the firmware information, enter . For example: PAGE 71
To request SL Power Management Controller to turn on all nodes attached to HP APM, enter . For example, to turn on all nodes: PAGE 72For example: PAGE 73Firmware Upgrading the firmware You can perform firmware upgrades using either FTP or TFTP. To perform an upgrade: 1. Place the firmware image file onto a system that provides an FTP or TFTP server and is accessible from the HP APM network. 2. Log in to the HP APM CLI interface using a serial port, Telnet, or SSH connection. 3. Depending on which protocol you choose, enter either of the following commands:.
Troubleshooting Alert messages The following messages appear in HP APM. Message Where this issue occurs Firmware upgrade There was an error transferring the file, image upgrade not performed. Firmware upgrade Error upgrading firmware image. Dist. Module on Power Manager Chassis port <#> has excessive errors and has been marked as failed. Power Manager Chassis port <#> on Dist. Module <#> has excessive errors and has been marked as failed.
CLI commands Clear faults • Command: CLEAR FAULTS • Description: Clears the fault log to have 0 entries. Clear log • Command: CLEAR LOG • Description: Clears all previous event logs. Clear screen • Command: CLEAR SCREEN • Description: Clears a VT100/ANSI compatible terminal of all characters. Places cursor at position 1,1. Disable Ethernet NOTE: This command can only be run from the serial console.
Enables network access. Requires a password to be set and enabled. SSH and Telnet access must be enabled or disabled separately. Also enables remote syslog support. Disable telnet • Command: DISABLE TELNET • Description: Turns off telnet access to the HP APM board. Existing sessions will not be logged out. Enable telnet • Command: ENABLE TELNET • Description: Turns on Telnet access to the HP APM. Disable SSH • Command: DISABLE SSH • Description: Turns off SSH access to the HP APM.
NOTE: Only an Administrator can add or enable a new user account. • Command: ADD ACCOUNT "" • Description: o Adds a new user to the system. o A single HP APM is capable of supporting up to 10 added accounts. The built-in Administrator account is the default and cannot be deleted. o All user accounts have the same permissions. o Each user account has its own login credentials. — After a command is entered with a valid username, you are prompted to enter a password for the new account.
• Description: o Configures the Administrator account password. Until a password is set, both Telnet and SSH are disabled. The password must be between 8 and 40 characters, and can include: — Uppercase letters — Lowercase letters — Underscores (_) — Dashes (-) — At signs (@) — Pound signs (#) — Carets (^) — Ampersands (&) — Exclamation points (!) — Plus symbols (+) — Equal symbols (=) — Tilde (~) — Numerical values between 0–9 NOTE: Only the Administrator can add or remove an account.
Same as LOGOUT. Help • Command: HELP • Description: Displays a list of available commands. Logout • Command: LOGOUT • Description: Exits the CLI. Exiting terminates SSH or Telnet network connections. Exiting a connection through the serial port will return the user to the Login prompt. Quit • Command: QUIT • Description: Same as LOGOUT. Reset • Command: RESET • Description: Reboots HP APM. Unsaved configuration settings are lost.
• Description: Same as RESET. Reboot CM • Command: REBOOT CM where: refers to the HP APM port. refers to the HP APM Distribution Module port. • Description: Reboots the HP Moonshot 1500 Chassis CM module. Reset factory WARNING: When you enter RESET FACTORY, HP APM erases your entire configuration. Before resetting factory defaults, consider saving your configuration.
Set IP • Command: SET IP {DHCP | } • Description: Assigns static IP address and subnet mask or can be used to configure DHCP. If setting IP address and subnet mask, both must be specified. Accepts the NONE token to disable IPv4 access to HP APM. Set gateway • Command: SET GATEWAY {NONE | } • Description: Assigns or removes gateway IP address.
Set serial • Command: SET SERIAL • Description: o Configure the serial console baud rate. o Serial access to the CLI will be by default 115200 bits/s, no parity, 8 data bits, and one stop bit (“115200 N 8 1”). You can configure these parameters through the CLI. o Valid baud rates are 300, 1200, 2400, 4800, 9600, 14400, 19200, and 115200. Set syslog • Command: SET SYSLOG {|NONE} • Description: Sets or clears the sending of HP APM log messages to a remote syslog server.
SET TIMEOUT 30 If you specify NONE, then no session timeouts are set. For example, enter: SET TIMEOUT NONE • Description: Sets the SSH and Telnet inactivity timeout. Set power baseline • Command: SET POWER BASELINE • Description: Baseline or calibrate all servers that are connected to the HP APM. After you have established a baseline for the configuration, it is saved into the EEPROM on the HP APM and the configuration monitored for changes from the baseline configuration.
Show accounts • Command: SHOW ACCOUNTS • Description: Shows the existing defined accounts, including the reserved Administrator account. Show config • Command: SHOW CONFIG • Description: Displays a re-playable script to reproduce the current HP APM configuration. Show faults • Command: SHOW FAULTS • Description: Shows the fault log entries.
Shows the current syslog IP address configuration. This command does not show the actual contents of the syslog. Show name • Command: SHOW NAME • Description: Displays the rack name. Show power • Command: SHOW POWER SHOW POWER SHOW POWER SHOW POWER PDM SHOW POWER ALL where: refers to the HP APM, PDM1, or PDM2 port numbers. refers to the HP APM Distribution Module port number or the HP Intelligent Modular PDU Extension Bar outlet number.
Show servers • Command: SHOW SERVERS SHOW SERVERS SHOW SERVERS where: refers to the HP APM port. refers to the HP APM port. • Description: Shows the same information as the SHOW RACK and SHOW TOPOLOGY commands. Show topology • Command: SHOW TOPOLOGY SHOW TOPOLOGY SHOW TOPOLOGY SHOW TOPOLOGY ALL where: refers to the HP APM port. refers to the HP APM Distribution Module port.
Show MAC address • Command: SHOW MACADDR SHOW MACADDR SHOW MACADDR where: refers to the HP APM port. refers to the HP APM Distribution Module port. • Description: Shows the contents of the rack, including the MAC addresses of the individual SL server nodes, if available. Show time • Command: SHOW TIME • Description: Displays the currently set system time.
UPGRADE IMAGE TFTP "" o If using FTP protocol for upgrading HP APM, enter: UPGRADE IMAGE FTP "" "" "" • Description: o Updates HP APM firmware using the specified protocol. Protocol can be either FTP or TFTP. refers to the IP address of a server that contains the file to be transferred, and filename is the file to be transferred. Following the transfer, HP APM will be upgraded and reset to run the new image.
Save zones • Command: SAVE ZONES • Description: o Commits the defined zones and their member chassis to the on-board EEPROM. o You can define and save up to four zones. These zones are automatically loaded from the EEPROM when the board is reset. Show zones • Command: SHOW ZONES • Description: Displays all the currently defined zones and their respective member chassis.
DISABLE POLLPOWER • Description Disables background process that polls each server for power usage. Enable SNMP • Command: ENABLE SNMP • Description: Turns on SNMP protocol and agent in HP APM. Disable SNMP • Command: DISABLE SNMP • Description: Turns off the SNMP protocol stack and agent. HP APM no longer responds to SNMP. This state is the default.
Set SNMP contact • Command: SET SNMP CONTACT "" • Description: Sets the MIB II sysContact field. Set SNMP location • Command: SET SNMP LOCATION "" • Description: Sets the MIB II sysLocation field. Set SNMP trapdest • Command: SET SNMP TRAPDEST <|NONE> • Description: o Sets the IP addresses where SNMP traps are sent. You can set up to four SNMP trap destinations. For example, enter: SET SNMP TRAPDEST x.x.x.x y.y.y.y z.z.z.z a.a.a.
— cpqRackServerBladeInserted Enable XML • Command: ENABLE XML • Description: Turns on XML interface and makes XML queries available on the network using port 80 (HTTP). You can enable XML, or enable XML secure, but you cannot enable both concurrently. Enable XML secure • Command: ENABLE XML SECURE • Description: Turns on XML interface and makes XML queries available on the network using port 443 (HTTPS). This command uses an encrypted secure socket connection.
Add RADIUS server • Command: ADD RADIUS SERVER • Description: Specifies an initial, or additional RADIUS server to HP APM’s list of authentication servers. The authentication proceeds in the same order that these servers were added to the configuration. Enable RADIUS • Command: ENABLE RADIUS • Description: Enables HP APM as a RADIUS client. Disable RADIUS • Command: DISABLE RADIUS • Description: Turns off RADIUS authentication on HP APM.
SET RADIUS POLLNUM • Description: Number of times HP APM polls each of the radius server indicated in the ADD RADIUS SERVER command. This setting can only be set globally and cannot be applied to each individual RADIUS server. Set RADIUS pollsec • Command: SET RADIUS POLLSEC • Description: Number of seconds HP APM waits for a reply from the RADIUS server. This setting can only be set globally and cannot be applied to each individual radius server.
Show NTP poll • Command: SHOW NTP POLL • Description: Indicates the time in minutes to poll for time from the configured NTP server. Disable NTP • Command: DISABLE NTP • Description: Disables NTP operation. No NTP request is sent out following the DISABLE NTP command. Connect port • Command: CONNECT PORT {1-13} [FORCE] • Description: Connects the current CLI session to the specified serial port.
XML commands Login • Command: where USER_LOGIN is the login name of the user account. This parameter is case sensitive and must never be blank. PASSWORD is the password associated with the user. • Description: This XML command provides the information used to authenticate the user. Modify user • Command: PAGE 97 where USER_LOGIN is the login name of the user account. This parameter is case sensitive and must never be blank. PASSWORD is the password associated with the user. • Description: This command, executed in XML, requests firmware information. Get rack topology • Command: PAGE 98 where USER_LOGIN is the login name of the user account. This parameter is case sensitive and must never be blank. PASSWORD is the password associated with the user. • Description: This command, executed in XML, requests SL Power Management Controller to turn a node on or off.
where USER_LOGIN is the login name of the user account. This parameter is case sensitive and must never be blank. PASSWORD is the password associated with the user. • Description: This command, executed in XML, requests the power status of a node. Get all compute node power • Command: PAGE 100Supported MIB objects Supported cpqRack MIB objects Object name Object identifier Notes Compaq 1.3.6.1.4.1.232 — cpqRackInfo 1.3.6.1.4.1.232.22 — cpqRackMibRev 1.3.6.1.4.1.232.22.1 — cpqRackMibRevMajor 1.3.6.1.4.1.232.22.1.1 — cpqRackMibRevMinor 1.3.6.1.4.1.232.22.1.2 — cpqRackMibCondition 1.3.6.1.4.1.232.22.1.3 — cpqRackComponent 1.3.6.1.4.1.232.22.2 — cpqRackAsset 1.3.6.1.4.1.232.22.2.2 — cpqRackAssetTable 1.3.6.1.4.1.232.22.2.2.1 — cpqRackAssetEntry 1.3.6.1.4.1.232.22.2.2.
Object name Object identifier Notes cpqRackCommonEnclosureSerialNumPrev 1.3.6.1.4.1.232.22.2.3.1.1.1.24 — cpqRackCommonEnclosureSerialNumNext 1.3.6.1.4.1.232.22.2.3.1.1.1.25 — cpqRackCommonEnclosureAddress 1.3.6.1.4.1.232.22.2.3.1.1.1.26 Always returns -1. cpqRackCommonEnclosureProductId 1.3.6.1.4.1.232.22.2.3.1.1.1.27 Always returns an empty string "". cpqRackCommonEnclosureProductIdPrev 1.3.6.1.4.1.232.22.2.3.1.1.1.28 Always returns an empty string "".
Object name Object identifier Notes cpqRackServerBlade 1.3.6.1.4.1.232.22.2.4.1 — cpqRackSystemTime 1.3.6.1.4.1.232.22.2.4.1.0 — cpqRackServerBladeTable 1.3.6.1.4.1.232.22.2.4.1.1 — cpqRackServerBladeEntry 1.3.6.1.4.1.232.22.2.4.1.1.1 — cpqRackServerBladeRack 1.3.6.1.4.1.232.22.2.4.1.1.1.1 — cpqRackServerBladeWidth 1.3.6.1.4.1.232.22.2.4.1.1.1.10 — cpqRackServerBladeDepth 1.3.6.1.4.1.232.22.2.4.1.1.1.11 Always returns -1. cpqRackServerBladePresent 1.3.6.1.4.1.232.22.2.4.1.1.1.
Object name Object identifier Notes exception of HP ProLiant s6500 Chassis cpqRackEnclosureFanInserted 1.3.6.1.4.1.232.22012 Supported with exception of HP ProLiant s6500 Chassis cpqRackPowerSupplyFailed 1.3.6.1.4.1.232.22013 — cpqRackPowerSupplyOk 1.3.6.1.4.1.232.22015 — cpqRackPowerSupplyRemoved 1.3.6.1.4.1.232.22016 — cpqRackPowerSupplyInserted 1.3.6.1.4.1.232.22017 — cpqRackServerBladeRemoved 1.3.6.1.4.1.232.22028 — cpqRackServerBladeInserted 1.3.6.1.4.1.232.
Object name Object identifier sysContact 1.3.6.1.2.1.1.4 sysName 1.3.6.1.2.1.1.5 sysLocation 1.3.6.1.2.1.1.6 sysServices 1.3.6.1.2.1.1.7 transmission 1.3.6.1.2.1.10 snmp 1.3.6.1.2.1.11 snmpInPkts 1.3.6.1.2.1.11.1 snmpInBadValues 1.3.6.1.2.1.11.10 snmpInReadOnlys 1.3.6.1.2.1.11.11 snmpInGenErrs 1.3.6.1.2.1.11.12 snmpInTotalReqVars 1.3.6.1.2.1.11.13 snmpInTotalSetVars 1.3.6.1.2.1.11.14 snmpInGetRequests 1.3.6.1.2.1.11.15 snmpInGetNexts 1.3.6.1.2.1.11.16 snmpInSetRequests 1.3.6.
Object name Object identifier ifNumber 1.3.6.1.2.1.2.1 ifNumber 1.3.6.1.2.1.2.1 ifTable 1.3.6.1.2.1.2.2 ifEntry 1.3.6.1.2.1.2.2.1 ifIndex 1.3.6.1.2.1.2.2.1.1 ifInOctets 1.3.6.1.2.1.2.2.1.10 ifInUcastPkts 1.3.6.1.2.1.2.2.1.11 ifInNUcastPkts 1.3.6.1.2.1.2.2.1.12 ifInDiscards 1.3.6.1.2.1.2.2.1.13 ifInErrors 1.3.6.1.2.1.2.2.1.14 ifInUnknownProtos 1.3.6.1.2.1.2.2.1.15 ifOutOctets 1.3.6.1.2.1.2.2.1.16 ifOutUcastPkts 1.3.6.1.2.1.2.2.1.17 ifOutNUcastPkts 1.3.6.1.2.1.2.2.1.
Object name Object identifier ipReasmFails 1.3.6.1.2.1.4.16 ipFragOKs 1.3.6.1.2.1.4.17 ipFragFails 1.3.6.1.2.1.4.18 ipFragCreates 1.3.6.1.2.1.4.19 ipDefaultTTL 1.3.6.1.2.1.4.2 ipAddrTable 1.3.6.1.2.1.4.20 ipAddrEntry 1.3.6.1.2.1.4.20.1 ipAdEntAddr 1.3.6.1.2.1.4.20.1.1 ipAdEntIfIndex 1.3.6.1.2.1.4.20.1.2 ipAdEntNetMask 1.3.6.1.2.1.4.20.1.3 ipAdEntBcastAddr 1.3.6.1.2.1.4.20.1.4 ipAdEntReasmMaxSize 1.3.6.1.2.1.4.20.1.5 ipRouteTable 1.3.6.1.2.1.4.21 ipRouteEntry 1.3.6.1.2.1.4.21.
Object name Object identifier ipRoutingDiscards 1.3.6.1.2.1.4.23 ipInReceives 1.3.6.1.2.1.4.3 ipInHdrErrors 1.3.6.1.2.1.4.4 ipInAddrErrors 1.3.6.1.2.1.4.5 ipForwDatagrams 1.3.6.1.2.1.4.6 ipInUnknownProtos 1.3.6.1.2.1.4.7 ipInDiscards 1.3.6.1.2.1.4.8 ipInDelivers 1.3.6.1.2.1.4.9 icmp 1.3.6.1.2.1.5 icmpInMsgs 1.3.6.1.2.1.5.1 icmpInTimestamps 1.3.6.1.2.1.5.10 icmpInTimestampReps 1.3.6.1.2.1.5.11 icmpInAddrMasks 1.3.6.1.2.1.5.12 icmpInAddrMaskReps 1.3.6.1.2.1.5.13 icmpOutMsgs 1.3.
Object name Object identifier icmpInEchoReps 1.3.6.1.2.1.5.9 tcp 1.3.6.1.2.1.6 tcpRtoAlgorithm 1.3.6.1.2.1.6.1 tcpInSegs 1.3.6.1.2.1.6.10 tcpOutSegs 1.3.6.1.2.1.6.11 tcpRetransSegs 1.3.6.1.2.1.6.12 tcpConnTable 1.3.6.1.2.1.6.13 tcpConnEntry 1.3.6.1.2.1.6.13.1 tcpConnState 1.3.6.1.2.1.6.13.1.1 tcpConnLocalAddress 1.3.6.1.2.1.6.13.1.2 tcpConnLocalPort 1.3.6.1.2.1.6.13.1.3 tcpConnRemAddress 1.3.6.1.2.1.6.13.1.4 tcpConnRemPort 1.3.6.1.2.1.6.13.1.5 tcpInErrs 1.3.6.1.2.1.6.
PDU identity table Two new tables are supported in the PDU section of the CPQ POWER MIB. These two tables are supported for both the 30- and 60-amp PDUs, but not for the HP Intelligent Modular PDU Managed Extension Bar. The PDU identity table has general PDU information. The table contains two rows that match the two PDM ports on the HP APM. If a port is not populated with the PDU, then that row in the SNMP table contains blanks or zeros, depending on whether it is a string or a numeric value.
Regulatory information Safety and regulatory compliance For safety, environmental, and regulatory information, see Safety and Compliance Information for Server, Storage, Power, Networking, and Rack Products, available at the HP website (http://www.hp.com/support/Safety-Compliance-EnterpriseProducts). Belarus Kazakhstan Russia marking Manufacturer Hewlett-Packard Company, Address: 3000 Hanover Street, Palo Alto, California 94304, U.S.
Valid date formats include the following: • YWW, where Y indicates the year counting from within each new decade, with 2000 as the starting point. For example, 238: 2 for 2002 and 38 for the week of September 9. In addition, 2010 is indicated by 0, 2011 by 1, 2012 by 2, 2013 by 3, and so forth. • YYWW, where YY indicates the year, using a base year of 2000. For example, 0238: 02 for 2002 and 38 for the week of September 9.
Support and other resources Before you contact HP Be sure to have the following information available before you call HP: • Active Health System log (HP ProLiant Gen8 or later products) Download and have available an Active Health System log for 3 days before the failure was detected. For more information, see the HP iLO 4 User Guide or HP Intelligent Provisioning User Guide on the HP website (http://www.hp.com/go/ilo/docs).
Acronyms and abbreviations CM chassis management DHCP Dynamic Host Configuration Protocol FQDN Fully Qualified Domain Name LLDP Link Layer Discovery Protocol MIB management information base NTP network time protocol PDU power distribution unit RADIUS Remote Authentication Dial-In User Service SSH Secure Shell TFTP Trivial File Transfer Protocol UID unit identification XML extensible markup language Acronyms and abbreviations 113
Documentation feedback HP is committed to providing documentation that meets your needs. To help us improve the documentation, send any errors, suggestions, or comments to Documentation Feedback (mailto:docsfeedback@hp.com). Include the document title and part number, version number, or the URL when submitting your feedback.
Index A ADD ACCOUNT 76 ADD ZONE 56, 88 alert messages 74 authorized reseller 112 automatic discovery 18 B before you contact HP 112 C cabling 11, 13, 40 CLI commands 75 Command Line Interface (CLI) 24 command line syntax 24 command, 70, 97 command, ADD RADIUS SERVER 37, 93 command, CLEAR FAULTS 35, 75 command, CLEAR LOG 32, 75 command, CLEAR SCREEN 62, 75 command, CONNECT PORT 63, 95 command, DISABLE ETHERNET 75 command, DISABLE KEYS 69, 92 command, DISABLE NTP 95 command, DISABLE PASSWORD 55, 77 command
command, SHOW CONFIG 59, 84 command, SHOW FAULTS 32, 35, 84 command, SHOW INFO 60, 84 command, SHOW KEYS 69, 92 command, SHOW LOG 32, 84 command, SHOW MACADDR 87 command, SHOW NAME 61, 85 command, SHOW NTP POLL 95 command, SHOW NTP SERVER 94 command, SHOW POWER 50, 85 command, SHOW RACK 25, 85 command, SHOW RADIUS 38, 93 command, SHOW SERVERS 28, 86 command, SHOW SNMP 64, 90 command, SHOW SYSLOG 35, 84 command, SHOW TIME 61, 87 command, SHOW TOPOLOGY 86 command, SHOW VERSION 61, 87 command, UPGRADE IMAGE 73
SHOW KEYS 69, 92 SHOW POWER 50 SHOW POWER BASELINE 41, 87 SHOW ZONES 58, 89 SNMP (Simple Network Management Protocol) SNMP traps 65, 91 SSH session 24 support 112 supported cpqHostOs MIB objects 100, 103 supported cpqRack MIB objects 100 supported rfc1213 MIB items 100, 103 supported servers 20, 74 P password settings 54, 55 passwords 54, 55, 58 PDU identity table 109 PDU input table 109 phone numbers 112 power baseline 41 POWER BASELINE 39, 43, 83 power baselines and zones 49 power capping 39, 43 power ca