SMcli monitor raid controller

Get storage-system-name

1
2
-n means storage-system-name
SMcli localhost

Get storage system status

1
SMcli  -n ControllerA  -c " show storagearray healthstatus;"

Show all info

1
2
3
4
5
6
7
SMcli  -n ControllerA  -c "show allControllers  summary;"
SMcli -n ControllerA -c "Show allVirtualDisks;"
SMcli -n ControllerA -c "show AllPhysicalDisks summary;"

### If no summary , it will output all details for each devices.
SMcli -n ControllerA -c "show allcontrollers;" ##NVRAM status, cache mirror
SMcli -n ControllerA -c "Show allphysicalDisks ;"

Output controller log

1
SMcli  -n ControllerA  -c "save storageArray supportdata file=\"/tmp/controller.log\" force=true;"

Reset controller

1
2
SMcli -n  ControllerA -c "reset controller 0;"
SMcli -n ControllerA -c "reset controller 1;"
1
2
SMcli -n ControllerA -c "start physicalDisk [1,0,11] blink;"
SMcli -n ControllerA -c "stop physicalDisk blink;"

Get battery status

1
SMcli -n ControllerA -c "show storageArray batteryage;"

Get battery status

1
SMcli -n ControllerA -c "show storageArray powerInfo;"