beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 75

background image

LSI Corporation

- 75 -

StorCLI Reference Manual

January 2013

Appendix B: MegaCLI Commands to StorCLI Command Conversion

Table 23 Alarm Commands

Description

MegaCLI Command

StorCLI Command

Show alarm properties.

MegaCli -AdpGetProp AlarmDsply
-aN|-a0,1,2|-aALL

storcli /cx(x|all) show alarm

Set alarm properties.

MegaCli -AdpSetProp AlarmEnbl |
AlarmDsbl | AlarmSilence
-aN|-a0,1,2|-aALL

storcli /cx(x|all) set
alarm=

Table 24 Event Log Properties Commands

Description

MegaCLI Command

StorCLI Command

Show event logs.

MegaCli -AdpEventLog
-GetEventLogInfo
-aN|-a0,1,2|-aALL

storcli /cx show eventloginfo

Show the specified type of event
logs.

MegaCli -AdpEventLog -GetEvents
{-info -warning -critical
-fatal} {-f <fileName>}
-aN|-a0,1,2|-aALL

storcli /cx show events [[type=
includedeleted|latest=x| ccincon
vd=<0,1,...>] filter=critical|fatal>] file=

Show the specified event logs.

MegaCli -AdpEventLog
-GetSinceShutdown {-info
-warning -critical -fatal}

{-f <fileName>}

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

storcli /cx show events
[type=[latest=x|ccincon
vd=|[sincereboot|sinceshutdown|included
eleted|latest|ccincon]]]
[filter=[info|warning|critical|fatal]]
file=xyz.txt

Delete the event logs.

MegaCli -AdpEventLog -Clear
-aN|-a0,1,2|-aALL

storcli /cx delete events

Table 25 Premium Feature Key Commands

Description

MegaCLI Command

StorCLI Command

Show the Safe ID of the controller.

MegaCli -ELF -GetSafeId -a0

storcli /cx(x|all) show safeid

Show the Advanced Software
Options that are enabled on the
controller, including the ones in trial
mode.

MegaCli -ELF –ControllerFeatures
-a0

storcli /cx(x|all) show all

NOTE This information shows as part of the controller
show all.

Apply the Activation Key in preview
mode.

MegaCli -ELF -Applykey key –val

-preview -a0

storcli /cx(x|all) set aso key=<key
value
> preview

Apply the Activation Key.

MegaCli -ELF -Applykey key –val
-a0

storcli /cx(x|all) set aso key=<key
value
>

Deactivate the trial key.

MegaCli -ELF

–DeactivateTrialKey -a0

storcli /cx(x|all) set aso
deactivatetrialkey

Show the re-host information and, if
re-hosting is necessary, show the
controller and key vault serial
numbers.

MegaCli -ELF -ReHostInfo -a0

storcli /cx(x|all) show rehostinfo

Indicate to the controller that the
re-host is complete.

MegaCli -ELF -ReHostComplete -a0

storcli /cx(x|all) set aso
rehostcomplete