Table 4-2 Methods for collecting OS logs
OS
Collection Method
Window
s
Use SmartKit to collect Windows and Linux (RHEL, SLES, CentOS,
Ubuntu) logs. For details, see the
FusionServer Tools 2.0 SmartKit
Linux
VMware ● If the purple screen of death (PSOD) does not occur, perform the
following steps:
1. Log in to the ESX server console as the root user.
2. Run the vm-support command to collect all VMware logs.
3. After logs are collected, check that a log file in the esxsupport-
YYYY
-
MM
-
DD
@
HH
-
MM
-
SS
.tgz format is generated in
the /var/tmp directory.
● If the PSOD occurs and the customer retains the site environment,
perform the following steps:
1. Capture a screenshot of the PSOD or take a photo to save the
displayed information.
2. Press Alt+F12 to switch to forcible memory information output
mode, and press Alt+PageUp/Alt+PageDown to capture
screenshots and photos. Ensure that screenshots and photos of
the last several screens are captured after the PSOD occurs.
3. Hot-restart the system, and run the vm-support command to
collect all VMware logs.
4. After logs are collected, check that a log file in the esxsupport-
YYYY
-
MM
-
DD
@
HH
-
MM
-
SS
.tgz format is generated in
the /var/tmp directory.
● If the PSOD occurs and the customer hot-restarts the system, run
vm-support to collect all of the VMware logs and check that a log
file in the esxsupport-
YYYY
-
MM
-
DD
@
HH
-
MM
-
SS
.tgz format is
generated in the /var/tmp directory.
FreeBSD Log in to the OS CLI over SSH and copy all files in /var/log/.
Copy the messages file and all files prefixed with messages (for
example, messages.0) in /var/log/ before copying other files.
Solaris
Log in to the OS CLI over SSH and copy all files in the /var/log/
directory and /var/adm/ directory.
Copy the syslog file and all files prefixed with syslog (for example,
syslog.0) in /var/log/, and copy the messages file and files prefixed
with messages (for example, messages.0) in /var/adm/ before
copying other files.
4.3 Collecting Hardware Logs
Collect hardware logs after a hardware fault occurs.
Huawei Servers
Troubleshooting
4 Collecting Information
Issue 20 (2020-09-25)
Copyright © Huawei Technologies Co., Ltd.
13