Question & Answer
Question
How to collect MegaRAID logs and configuration information
Cause
If the Support Representative suspects a problem with the MegaRAID controller or internal DDM they may request the following information. This is only applicable to DD1 - DD5 and SM systems.
Answer
1) Collect the MegaRAID log files:
# cd /opt/ras/bin
# ./mrdump.sh
the script above creates the following files:
/opt/MegaRAID/MegaCli/MegaSAS.log
/opt/MegaRAID/MegaCli/CmdTool.log
/opt/MegaRAID/MegaCli/mrlog.log
2) Capture the current state of the RAID configuration:
# cd /opt/MegaRAID/MegaCli
# ./MegaCli64 -AdpAllInfo -aALL > megacli_AdpAllInfo_aALL.txt
# ./MegaCli64 -CfgDsply -aALL > megacli_CfgDsply_aALL.txt
# ./MegaCli64 -EncInfo -aALL > megacli_EncInfo_aALL.txt
# ./MegaCli64 -LDInfo -Lall -aALL > megacli_LDInfo_Lall_aALL.txt
# ./MegaCli64 -PDList -aALL > megacli_PDList_aALL.txt
# ./MegaCli64 -AdpBbuCmd -aALL > megacli_AdpBbuCmd_aALL.txt
# ./MegaCli64 -AdpGetProp BatWarnDsbl -a0 > megacli_AdpGetProp_BatWarnDsbl_a0.txt
# ./MegaCli64 -AdpGetProp BatWarnDsbl -a1 > megacli_AdpGetProp_BatWarnDsbl_a1.txt
# ./MegaCli64 -AdpEventLog -GetEvents -f lsi-events.log -a0 -nolog > megacli_AdpEventlog.txt
# ./MegaCli64 -FwTermLog -aAll > megacli_FwTermLog.txt
3) Tar and compress the log files and configuration information:
# cd /opt/MegaRAID
# tar -czvf MegaCli.tar.gz ./MegaCli
4) Upload the MegaCli.tar.gz file to Ecurep (http://www.ecurep.ibm.com/app/upload)
Was this topic helpful?
Document Information
Modified date:
16 February 2022
UID
ssg1S1009148