How to collect array card logs

2024-04-08 16:43:26 Published
  • 0 Followed
  • 0Collected ,406Browsed

Network Topology

None

Problem Description

How to collect array card logs

Process Analysis

For some problems, we cannot analyze whether the disk is abnormal from the server SDS log. 

At this time, we need to collect the array card logs for further judgment.

Solution

Check to confirm that the array card model is LSI array card

[root@cvknode3 ~]# lspci | grep -i raid

16:00.0 RAID bus controller: Broadcom / LSI MegaRAID 12GSAS/PCIe Secure SAS39xx

 

[root@cvknode3 ~]#  /opt/MegaRAID/storcli/storcli64 show

CLI Version = 007.1506.0000.0000 Aug 11, 2020

Operating system = Linux 4.14.131-generic

Status Code = 0

Status = Success

Description = None

 

Number of COntrollers= 1

Host Name = cvknode3

Operating System  = Linux 4.14.131-generic

 

System Overview :

===============

 

--------------------------------------------------------------------------------

Ctl Model               Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS  EHS ASOs Hlth

--------------------------------------------------------------------------------

  0 MegaRAID9560-16i8GB    16  10   5     0   5     0 Opt Off 1&2 Y      4 Opt

--------------------------------------------------------------------------------


Use the storcli64 tool to collect the array card log , installation method: 

RHEL/CentOS: Install the package in rpm format, execute rpm -ivh xxx.rpm 

Windows: exe executable program, execute commands and parameters directly through the cmd window. 

Esxi: vib format installation package, execute esxcli software vib install -v /absolute path/xxx.vib.


Taking Linux as an example, the command to collect logs is as follows:

cd /opt/MegaRAID/storcli

/opt/MegaRAID/storcli/storcli64 /c0 show all > storcli.showall

/opt/MegaRAID/storcli/storcli64 /c0 show events > storcli.events

/opt/MegaRAID/storcli/storcli64 /c0 show alilog > storcli.alilog

/opt/MegaRAID/storcli/storcli64 /c0 show termlog > storcli.termlog


Finally collect the files generated.


Please rate this case:   
0 Comments

No Comments

Add Comments: