码迷,mamicode.com
首页 > 其他好文 > 详细

分析esxi coredump

时间:2018-03-22 12:42:41      阅读:759      评论:0      收藏:0      [点我收藏+]

标签:esxi

Extracting the log file after an ESX or ESXi host fails with a purple screen error (1006796)
Document Id
1006796
Purpose
This article provides steps to extract a log from a vmkernel-zdump file after a purple diagnostic screen error. This log contains similar information to that seen on the purple diagnostic screen and can be used in further troubleshooting.

This article assumes that a vmkernel-zdump file is available. If an ESX or ESXi host has failed with a purple diagnostic screen, but no vmkernel-zdump file is available, see:
Collecting diagnostic information from an ESX host that experiences a purple screen (1004128)
Configuring an ESXi/ESX host to capture a VMkernel coredump from a purple diagnostic screen (1000328)
Extracting a core dump file from the VMKCore diagnostic partition following a purple diagnostic screen error (1002769)
Note: For generating a VMkernel zdump manually from a dump file in ESXi 5.5, see Generating a VMkernel zdump manually from a dump file in ESXi 5.5 (2081902).
Resolution
To resolve this issue, extract the log file from a vmkernel-zdump file using a command line utility on the ESX or ESXi host. This utility differs for different versions of ESX or ESXi.
For ESX 3.x use the vmkdump utility:

vmkdump -l vmkernel-zdump-filename

For ESXi 3.5, ESXi/ESX 4.x and ESXi 5.x, use the esxcfg-dumppart utility:

esxcfg-dumppart -L vmkernel-zdump-filename

To extract the log file from a vmkernel-zdump file:
Find the vmkernel-zdump file in the /root/ or /var/core/ directory:

ls /root/vmkernel /var/core/vmkernel

/var/core/vmkernel-zdump-073108.09.16.1

Use the vmkdump or esxcfg-dumppart utility to extract the log. For example:

vmkdump -l /var/core/vmkernel-zdump-073108.09.16.1

created file vmkernel-log.1

esxcfg-dumppart -L /var/core/vmkernel-zdump-073108.09.16.1

created file vmkernel-log.1

The vmkernel-log.1 file is plain text, though may start with null characters. Focus on the end of the log, which is similar to:

VMware ESX Server [Releasebuild-98103]
PCPU 1 locked up. Failed to ack TLB invalidate.
frame=0x3a37d98 ip=0x625e94 cr2=0x0 cr3=0x40c66000 cr4=0x16c
es=0xffffffff ds=0xffffffff fs=0xffffffff gs=0xffffffff
eax=0xffffffff ebx=0xffffffff ecx=0xffffffff edx=0xffffffff
...

For troubleshooting the cause of the purple diagnostic screen, see Interpreting an ESX host purple diagnostic screen (1004250).
Note: The file name created for the log in this example is vmkernel-log.1. If another file with the same name already exists, the new file is created with the number suffix incremented.

分析esxi coredump

标签:esxi

原文地址:http://blog.51cto.com/11441152/2089777

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!