4.5.1 Viewing Status and Setting the In-Service Date With Sun StorEdge CLI

http://docs.oracle.com/cd/E19673-01/816-7326-23/ch04_battery.html#91807

The show battery-status commanddisplays the status of the battery modules, which preserve the contents of the write cache in each RAID controller. For redundant controllers, status for both batteries is shown. Status values include: Warning, Not present, Bad, N/A, Expired, and OK. A status of Warning indicates that the battery will expire within 21 days.

If you run the show battery-status command and the battery in-service date is not set, run the show battery-status -u command. Early model battery boards were not programmed with an in-service date. The show battery-status -u command sets the in-service date to the battery board manufacturing date and prompts the user to verify the date.


Note – If the battery type is an early board module (FRU ID 370-5545 REVB), then battery expiration monitoring is not supported. In this case, a message displays, “battery board type is not supported.” If your configuration requires the battery expiration feature, consult your sales representative to obtain a new battery.

 

The following example shows one good battery and one expired battery.

sccli> show battery-status
 Upper Battery Type: 1
 Upper Battery Manufacturing Date: Fri Oct 17 15:59:08 2003
 Upper Battery Placed In Service:  Fri Oct 17 15:59:08 2003
 Upper Battery Expiration Date:    Sun Oct 16 15:59:08 2005
 Upper Battery Status: OK
 Lower Battery Type: 1
 Lower Battery Manufacturing Date: Fri Oct 17 19:29:20 2003
 Lower Battery Placed In Service:  Fri Oct 17 19:29:20 2003
 Lower Battery Expiration Date:    Sun Oct 6 19:29:20 2004
 Lower Battery Status: Expired

The following example uses the -u option, which prompts the user to verify the battery date if the battery in-service date has not been set previously.

sccli> show battery-status -u
 Upper Battery Type: 1
 Upper Battery Manufacturing Date: Mon Feb  2 08:00:00 2004
 Upper Battery Placed In Service:  Wed Aug 11 20:18:02 2004
 Upper Battery Expiration Date:    Fri Aug 11 20:18:02 2006
 Upper Battery Status: good
The date 2004/ 9/29 will be stored as the In-Service Date of Lower Battery.
 Are you sure that this date is correct? y
 Lower Battery Type: 1
 Lower Battery Manufacturing Date: Tue Mar 30 14:32:26 2004
 Lower Battery Placed In Service:  Wed Sep 29 21:04:39 2004
 Lower Battery Expiration Date:    Fri Sep 29 21:04:39 2006
 Lower Battery Status: good

 


Note – To successfully execute scripts using the Sun StorEdge CLI, the battery in-service date must be set. Newer battery boards are programmed with the in-service date. If you are not sure that the in-service date is correct, consult your sales representative.

 

Categoríassun