beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 68

background image

LSI Corporation

- 68 -

StorCLI Reference Manual

January 2013

Appendix B: MegaCLI Commands to StorCLI Command Conversion

Table 16 Battery Commands

Description

MegaCLI Command

StorCLI Command

Show battery-related information.

MegaCli -AdpBbuCmd -aN|-a0,1,2|-aALL storcli /cx/bbu show

storcli /cx/bbu show all

Show the battery learn properties.

MegaCli -AdpBbuCmd -GetBbuProperties
-aN|-a0,1,2|-aALL

storcli /cx/bbu show properties

Show the battery information,
firmware status, and the gas gauge
status.

MegaCli -AdpBbuCmd -GetBbuStatus

-aN|-a0,1,2|-aALL

storcli /cx/bbu show status

Show battery capacity information.

MegaCli -AdpBbuCmd

-GetBbuCapacityInfo

-aN|-a0,1,2|-aALL

storcli /cx/bbu show all

Show battery design information.

MegaCli -AdpBbuCmd -GetBbuDesignInfo
-aN|-a0,1,2|-aALL

storcli /cx/bbu show all

Set battery properties

MegaCli -AdpBbuCmd -SetBbuProperties
-f <fileName> -aN|-a0,1,2|-aALL

storcli /cx/bbu set
learnDelayInterval=<value>

storcli /cx/bbu set bbuMode=

storcli /cx bbu set
autolearnmode=<value>

,

where x= 0 – Enabled, 1 – Disabled, 2 – Warn though
event.

Start battery learn cycle.

MegaCli -AdpBbuCmd -BbuLearn

-aN|-a0,1,2|-aALL

storcli /cx/bbu start learn

Set the battery to low power storage
mode.

MegaCli -AdpBbuCmd -BbuMfgSleep

-aN|-a0,1,2|-aALL

storcli /cx/bbu set powermode=sleep

Seal the gas gauge EEPROM write
access

MegaCli -AdpBbuCmd -BbuMfgSeal

-aN|-a0,1,2|-aALL

storcli /cx/bbu set
writeaccess=sealed