HP 3PAR OS 3.1.3 Command Line Interface Reference
The following example displays the detailed status of the battery using the showbattery –s
command:
cli% showbattery -state
Node PS Bat -State- -Detailed_State-
0 0 0 OK Normal
0 1 0 OK Normal
1 0 0 OK Normal
1 1 0 OK Normal
• Node. The controller node number.
• PS. The power supply number.
• Bat. The battery ID.
• State. The current status of the battery and can be one of the following:
OK. The battery is operating normally.◦
◦ Failed. The battery is operating abnormally.
◦ Degraded. The battery is in degraded state.
◦ Not Present. The battery is missing.
• Detailed_State. The detailed state of the battery and can be one of the following:
Not Present. The battery is missing.◦
◦ Expired. The battery is already expired.
◦ Failed. The battery is operating abnormally.
◦ InvalidFirmware. The battery has invalid firmware.
◦ Unknown. The battery state is unknown.
◦ Undefined. The battery state cannot be determined.
NOTES
• Battery information is set by issuing the setbattery command. See “setbattery” (page 266)
for more information.
• For the E-Class and F-Class Storage Servers, the Power Supply 0's primary node is 0 and its
secondary node is 1. The Power Supply 1's primary node is 1 and its secondary node is 0.
The primary node can read and modify the power supply's properties. The secondary node
can only read the power supply's properties. Therefore, for the E-Class and F-Class, with the
-old option, the battery information for Node 0 Power Supply 0 is the same as the battery
information for Node 1 Power Supply 0. The battery information for Node 1 Power Supply
1 is the same as the battery information for Node 0 Power Supply 1.
346 Show Commands