VMware:- Create Dump from VM snapshot
Login to VC take snapshot with Memory during issues occurred (Before reboot)
Go to datastore – search for the VM and download latest below Files (Use the same VLAN servers for fast download and make sure at least 30+ GB free space)
Create Memory dump by using vmss2core utility, below is the URL to download.
https://flings.vmware.com/vmss2core

Go to the Folder were both Files downloaded\saved and extract the files.
Copy above downloaded utility on same folder and run below
command
vmss2core.exe -W8 snapshot.vmsn [snapshot.vmem] (Syntax )
For Example: C:\Users\adna-feshaikh\Downloads\DFWDC20_files>vmss2core-sb-8456865.exe -W8 DFWDC20-Snapshot57.vmsn DFWDC20-Snapshot57.vmem
On same folder you will Memory.dmp files are genrated wait to complete process.
Once completed extract memory.dmp file and do the detailed analysis or upload with MS case
============================================
Detailed Implementation Plan:
1. Login to the vCenter Server or ESXi host using vSphere Client or vSphere Web Client.
2. Take the Snapshot of the Virtual Machine which is hung or unresponsive state. This will create .vmsn file in the virtual machine Directory
Alternative to the snapshot, you can place the virtual Machine in Suspend State by Right-Click the hung Virtual Machine -> Power -> Suspend. This will create .vmss file in the virtual machine directory.
3. Select the .vmsn or .vmss file and download to your local machine where you are going to save the Vmss2core utility.
4. Download the Vmss2core from VMware Fling Site and place the downloaded file (vmss2core_win.exe) in your local drive (C:\ or D:\). Ensure your Windows machine is installed with Visual Studio 2008 Service Pack 1 runtime. Place both the Vmss2core file and downloaded .vmsn or .vmss file in same location
5. Run the vmss2core tool with the option to create a memory dump.
vmss2core –W virtual_machine_name.vmss
Note: If you are using Microsoft Windows 8/8.1 or Windows Server 2012, run this command:
vmss2core.exe -W8 virtual_machine_name.vmss virtual_machine_name.vmem
Note: If you are using Linux, use the command:
./vmss2core-Linux64 -N virtual_machine_name.vmss
The above command generate It generates a file called *.dmp extension. You can share the crash dump files to your operating system vendor to identify the root cause of Hung or Crash.
5. Delete the snapshot.
WINDBG is a tool to analysis of debug logs:-

Comments
Post a Comment