CmdTool2
[E0:S0,E1:S1,……]: Specifies when one or more physical devices need(s) to be specified in
the command line. Each [E:S] pair specifies one physical device where E means device ID of
the enclosure in which a drive resides, and S means the slot number of the enclosure.
Type | Command |
---|---|
Controller | CmdTool2 -AdpAllInfo -aALL |
Physical disk | CmdTool2 -pdlist -aALL | egrep "Adapter|Enclosure|Slot Number|Firmware state" |
Virtual disk | CmdTool2 -LDInfo -Lall -aALL |
Physical disks <=>Virtual disks | CmdTool2 -LDPDInfo -aALL |
Clear the RAID controller configuration | CmdTool2 -CfgClr -a0 |
Delete logical disks from a RAID controller | CmdTool2 -CfgLdDel -lALL -aALL |
Offline physical disk | CmdTool2 -PDOffline -start -PhysDrv[E:S] -a0 |
Rebuild physical disk | CmdTool2 -PDRbld -start PhysDrv[E:S] -a0 |
Online physical disk | CmdTool2 -PDOnline -PhysDrv[E:S] -a0 |
Initiate Copyback manually when Unconfigured(Good) | CmdTool2 -pdcpybk -start -PhysDrv[E:S,E:S] -a0 |
Monitor disk build progress | CmdTool2 -pdrbld -progdsply -PhysDrv[E:S] -a0 |
Change LD to writeback policy | CmdTool2 -LDSetProp -WB -L0 -a0 |
Even Log(Last 50 entries) | CmdTool2 -AdpEventLog GetLatest 50 -f eventlog.out -aALL |
Controller log | CmdTool2 -AdpAliLog -aAll > saslog.txt |
ipmiutil
Type | Command |
---|---|
Power up server | ipmiutil power -c -N server-sp -U root -P password |
Power down server | ipmiutil power -d -N server-sp -U root -P password |
Power cycle server | ipmiutil power -c -N server-sp -U root -P password |
Console | ipmitool sdr list all server-sp -U root -p password |
Check power supply | ipmitool sdr type "Power Supply" |
Check Temperature | ipmitool sdr type Temperature |
Check Fans | ipmiutil sensor | grep "System Fan" |
Dump BMC sensors | ipmitool sdr list all server-sp -U root -p password |
System event log | ipmiutil sel |
No comments:
Post a Comment