No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Tools 2.0 InfoCollect User Guide 32

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Log Collection Items of Linux

Log Collection Items of Linux

InfoCollect_Linux.tar.gz provides the one-click log file collection function for the server Linux OS. Table 5-2 lists the content of the log files that can be collected.

Table 5-2 Linux log files and collection commands

Module

Log File

Command

Description

Common

version.txt

-

InfoCollect version and release time

filelist.txt

-

List of collected files

detail.html

-

Collected log files and description of each file

BIOS

version_bios.txt

dmidecode -t bios

BIOS version

BigData

selfdiag_log.txt

/opt/DA200/compress_tools/tools/dcadm selfdiag

DA200 selfdiag information (the DA200 tool is required)

Lspci_log.txt

lspci|grep d501

Model information

/var/log/DA200/

cp /var/log/DA200/

DA200 log information

/var/log/bigdata/

cp /var/log/bigdata/

DA200 log information

BMC

fru.txt

ipmitool fru list

Field replaceable unit (FRU) information

bmc_lan.txt

ipmitool lan print 1

BMC NIC information

mc_info.txt

ipmitool mc info

BMC version

sensor.csv

ipmitool sensor list

All sensor information

sdr.csv

ipmitool sdr list

Sensor data record (SDR) log file

sel.csv

ipmitool sel elist

BMC system event log (SEL)

version_cpld.txt

ipmitool raw0x30 0x90 0x08 0 2 0x00 0x10

CPLD version

time.txt

BMC time bios time OS time

BMC, BIOS, and OS time

BMA

common.log

cat /opt/huawei/ibma/log/common.log

General logs

http_server.log

cat /opt/huawei/ibma/log/http_server.log

HTTP server logs

iBMC_event.log

cat /opt/huawei/ibma/log/iBMC_event.log

BMC event logs

nicErrorStatistics.log

cat /opt/huawei/ibma/log/nicErrorStatistics.log

NIC fault data

runlog

cat /opt/huawei/ibma/log/runlog

Operation-related run logs

service.log

cat /opt/huawei/ibma/log/service.log

iBMA service-related logs

CPU

cpuinfo.txt

cat /proc/cpuinfo

CPU model and frequency

cpu_dmidecode.txt

dmidecode -t processor

CPU information obtained by running the dmidecode command

Disk

disk_smart.txt

smartctl -a /dev/sd*

smartctl -a --device=sat+megaraid,0 /dev/sd*

smartctl -a --device=megaraid,0 /dev/sd*

hwdiag -t disk -s

Hard disk SMART information (the smartctl tool is required)

sys_block.txt

ls -l /sys/block/sd*

Hard disk names

parted_disk.txt

parted /dev/sda print

Partition information of physical hard disks

hwdiag_hdd.txt

hwdiag -t disk -d

Hard disk scores offered by iBMA (applicable only to an OS running iBMA)

es3000_v2.txt

hio_info -d --device=hioa,/dev/hio*

hio_label -d --device=hioa,/dev/hio*

hio_log -d --device=hioa,/dev/hio*

hio_temperature -d --device=hioa,/dev/hio*

ES3000 V2 PCIe SSD information

es3000_v3.txt

modinfo nvme

hioadm info -d device=nvme0,hioadm info

hioadm info -d device=nvme,hioadm info -s

hioadm info -d device=nvme,hioadm info -a

hioadm log -d device=nvme0,hioadm info -a

ES3000 V3 NVMe PCIe SSD information

Mainboard

dmidecode.txt

dmidecode

Hardware information

lspci.txt

lspci

Peripheral Component Interconnect (PCI) device list

lspci -xxx -vvv -t

Detailed PCI device information

lspci -xxxx -vvv -b

Bus-related PCI and interrupt request (IRQ) device information

NIC

lspci_eth.txt

lspci |grep Ethernet

NIC list

ifconfig.txt

ifconfig -a

Configurations of all NICs

/etc/modprobe.d

/etc/modprobe.d/

NIC configuration file

ethtool.txt

ethtool ethX

NIC settings

ethtool -i ethX

ethtool -S ethX

ethtool -g ethX

ethtool -k ethX

/etc/sysconfig/network/*

cp /etc/sysconfig/network/*

NIC configuration files on SLES

/etc/sysconfig/network-scripts/*

cp /etc/sysconfig/network-scripts/*

NIC configuration files on RHEL

netstat.txt

netstat -i -n

Network port status

netstat -avn

netstat -s

netstat -rvn

mezz_info.tar.gz

/bin/date

collect_info/network.txt: NIC information.

mezz.log: running log of mezz_collect.sh.

/usr/bin/uptime

dmidecode

biosdecode

lspci -tv

ifconfig -a

/sbin/ip link show

/sbin/route -n

ethtool -i ethX

ethtool ethX

ethtool -a ethX

ethtool -l ethX

ethtool -d ethX

ethtool -e ethX

ethtool -S ethX

ethtool -g ethX

ethtool -k ethX

/sbin/lspci -xxx -s XX:XX.X

lspci -vvvv -xxx -s XX:XX.X

/bin/netstat -nlp

/bin/netstat -nr

/bin/netstat -i

/sbin/arp -v

/usr/sbin/iptables -t

filter -nvL

x86tool -r pci/bXX:XX.X-0xXXXXX+4-bX

bonding.txt

cp /proc/net/bonding/

NIC binding information

bdf.txt

ls -l /sys/class/net

NIC BDF information

error_frame_crc.txt

cat /sys/class/net/*/statistics/rx_crc_errors

cat /sys/class/net/*/statistics/rx_frame_errors

NIC error frame and port error code information

Host bus adapter (HBA)

lspci_fc.txt

lspci |grep Fibre

Fibre Channel (FC) models

firmware_fc.txt

cat /sys/class/scsi_host/host*/fwrev

cat /sys/class/scsi_host/host*/fw_version

FC HBA firmware information

driver_fc.txt

cat /sys/class/scsi_host/host*/lpfc_drvr_version

cat /sys/class/scsi_host/host*/driver_version

FC HBA driver information

wwpn.txt

cat /sys/class/fc_host/host*/port_name

cat /sys/class/fc_host/host*/node_name

FC HBA WWPN and WWNN information

bdf.txt

ls -l /sys/class/fc_host/

ls -l /sys/class/iscsi

iSCSI and FC HBA BDF information

error_frame_crc.txt

cat /sys/class/fc_host/host*/statistics/error_frames

cat /sys/class/fc_host/host*/statistics/invalid_crc_count

FC HBA port error code and error frame information

port_state.txt

cat /sys/class/fc_host/host*/port_state

FC HBA port status information

Driver

lsmod.txt

lsmod

Loaded module information

modinfo.txt

modinfo

Driver information of a specific module

Memory

meminfo

/proc/meminfo

Memory information

mem_ecc.txt

mcelog --client

Memory error checking and correcting (ECC) information (empty by default)

memory_dmidecode.txt

dmidecode -t memory

Physical memory information

memory_free.txt

free

Used and available memory space

hwdiag_mem.txt

hwdiag -t mem -d

Memory diagnosis data offered by iBMA (applicable only to an OS running iBMA)

RAID controller card

sashbalog.txt

sas2flash

LSI SAS2308 or LSI SAS3008 controller card log file

sasraidlog.txt

storcli

LSI SAS2208, LSI SAS3108, Avago SAS3408 or Avago SAS3508 controller card log file

diskmap.txt

lsscsi

/opt/MegaRAID/storcli/storcli /call show

Mapping relationships between logical disks and physical disks of the LSI SAS2208, LSI SAS3108, Avago SAS3408 or Avago SAS3508 RAID controller card

System

runlog

Background running records of the tool

InfoCollect run log file

/var/log/secure

cp /var/log/secure*

Security log files

/var/log/mcelog

cp /var/log/mcelog*

Log files required for locating machine check exceptions (MCEs)

/var/log/message

cp /var/log/message*

General system log files

/var/log/cron

/var/log/cron*

Customized task log files

/var/log/boot.log

/var/log/boot.log

.log file that records information about the current startup process

/var/log/boot.msg

/var/log/boot.msg

.msg file that records information about the current startup process

/var/log/boot.omsg

/var/log/boot.omsg

Log file that records information about the previous startup process

/etc/syslog.conf

/etc/syslog.conf

Configuration file of the syslogd process

/etc/resolv.conf

/etc/resolv.conf

Configuration file of the network proxy

/etc/hosts

/etc/hosts

Host information

/etc/services

/etc/services

OS boot service information

/etc/sysctl.conf

/etc/sysctl.conf

System kernel parameter configuration file, involving network functions, for example, forwarding

/etc/inittab

/etc/inittab

Initialization, involving system configuration

/etc/ntp.conf

/etc/ntp.conf

Network Time Protocol (NTP) configuration file

/etc/ntp/step-tickers

/etc/ntp/step-tickers

NTP configuration file

/etc/ntp/ntpservers

/etc/ntp/ntpservers

NTP server list

/etc/yp.conf

/etc/yp.conf

ypbind configuration file

/etc/fstab

/etc/fstab

File system list

/proc/interrupts

/proc/interrupts

Number of interrupts

/proc/filesystems

/proc/filesystems

Current file system list

/etc/exports

/etc/exports

Network File System (NFS) server configuration

/proc/self/maps

/proc/self/maps

Virtual address space of processes

/proc/self/smaps

/proc/self/smaps

Memory usage of each process

/proc/self/numa_maps

/proc/self/numa_maps

Memory usage of the numa process

/proc/iomap

/proc/iomap

Memory space address segment mapping to I/O ports

/proc/ioports

/proc/ioports

Distribution of I/O ports in use

/proc/swaps

/proc/swaps

Swap partition information

/proc/slabinfo

/proc/slabinfo

Kernel information

/proc/locks

/proc/locks

Locked processes

/proc/modules

/proc/modules

All modules

/proc/mounts

/proc/mounts

Mounted devices

/proc/version

/proc/version

Kernel version

/proc/stat

/proc/stat

Kernel and system statistics

/proc/schedstat

/proc/schedstat

Kernel information about the schedstat process

/proc/zoneinfo

/proc/zoneinfo

Kernel time zone information

/proc/config.gz

/proc/config.gz

Configuration files of the proc file system

/proc/kallsyms

/proc/kallsyms

Kernel debugging files

/proc/mtrr

/proc/mtrr

Memory Type Range Register (MTRR) information

/proc/vmstat

/proc/vmstat

Virtual memory status

/proc/buddyinfo

/proc/buddyinfo

Memory fragment information

/proc/cmdline

/proc/cmdline

Kernel startup CLI information

/proc/devices

/proc/devices

Device drivers

/proc/diskstats

/proc/diskstats

Hard disk status

/proc/iomem

/proc/iomem

Physical address allocation

/proc/dma

/proc/dma

Direct memory access (DMA) channel information

/boot/config*

/boot/config*

Kernel configuration files

/etc/grub.conf

/etc/grub.conf

Grand Unified Boot Loader (GRUB) configuration file

/boot/grub/device.map

/boot/grub/device.map

Boot device mapping information

/boot/grub/menu.lst

/boot/menu.lst

Boot menu file

/boot/grub2/grub.cfg

/boot/grub2/grub.cfg

Grub2 information

dump_list.txt

du -ah /var/crash/

Crash file list

dmesg.txt

dmesg

Dmesg file

/root/.bash_history

/root/.bash_history

Historical commands executed

command_log.txt

df -liT

Available disk space

mount

Mounting information

/usr/bin/last -xF | grep "reboot\|shutdown\|runlevel\|system"

Reboot records

nfsstat -cnrs

NFS service status

lsof

List of opened files

ulimit -a

System resource restrictions

ipcs -a

Status of communication facilities between processes

ipcs -l

Shared information memory

sysctl -a

Sysctl settings and kernel parameters in /proc/sys

uptime

Operating duration

uname -a

Kernel information

ps auwx

List of all processes

last

Historical login user records

hostid

Login user IDs

/bin/rpm -qa

List of installed software

printenv

Environment variables

hostname

Host names

devinfo.txt

ls -l /dev

Detailed information in the /dev folder

/var/log/kern*

cp /var/log/kern*

Kern log information

/var/log/dmesg*

cp /var/log/dmesg*

Dmesg log information

/var/log/syslog*

cp /var/log/syslog*

Syslog log information

SLES

nts_$(hostname)_$(time).tbz

supportconfig (SLES)

Log file collection package for fault diagnosis on SLES

nts_$(hostname)_$(time).tbz.md5

supportconfig (SLES)

Verification code of the log file collection package for fault diagnosis on SLES

sosreport (the sosreport software is required)

sosreport-$(hostname)_$(time).tar.xz

sosreport -i

Log collection suite for RHEL and Ubuntu locating

sosreport-$(hostname)_$(time).tar.xz.md5

sosreport -i

Verification code of the log collection suite for RHEL and Ubuntu locating

NOTE:
  • The number and content of collected log files slightly vary according to the Linux version, but all log files collected are listed in Table 5-2.
  • The InfoCollect tool invokes a large number of system commands, such as ipmitool and smartctl. If the related software has not been installed, certain log information cannot be collected.
  • The bash_history command collects historical command information for fault diagnosis. Collect the information unless necessary. You can modify the config.ini file to disable command information collection or manually delete the collected command information after collection and then compress the files into a package.
  • The sosreport and supportconfig commands are log file collection commands that come with the OS. The collected log files are used for in-depth fault diagnosis. Run the commands only when necessary. You can modify the config.ini file to disable log file collection or manually delete the log files after collection and then compress the files into a package.
  • You can modify the config.ini file in the InfoCollect directory to specify the log files to be collected.
  • mezz_info.tar.gz contains NIC information about the E9000. Although duplicate information is collected, the collected information is helpful for E9000 operation.
  • uDisk supports the following RAID controller card models: LSI SAS2208, LSI SAS2308, LSI SAS3008, LSI SAS3108, Avago SAS3408, Avago SAS3508, and PCH. If a server is equipped with the LSI SAS2208, LSI SAS3108, Avago SAS3408, or Avago SAS3508 RAID controller card but no RAID group is configured, and the server runs the SUSE Linux Enterprise Server (SLES) OS, uDisk is not supported.
  • Table 5-3 lists the OSs supported by uDisk.
Table 5-3 Supported OSs

OS

Version

Red Hat Enterprise Linux (RHEL)

RHEL 7.2

RHEL 7.3

SUSE Linux Enterprise Server (SLES)

SLES 11.3

SLES 11.4

SLES 12.1

SLES 12.2

SLES 12.3

CentOS

CentOS 7.4

Translation
Download
Updated: 2019-01-09

Document ID: EDOC1000093346

Views: 46365

Downloads: 4605

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next