This article provides instructions on how to configure a Supervisor VM and capture a memory dump when a kernel panic is reproducible, ensuring adequate data is collected for root cause analysis (RCA).
If you need to apply the procedure described in this KB to your environment, open a support request with Broadcom Support.
vCenter Server (Supervisor)
Before the issue recurs, disable the automatic reboot on panic to ensure the VM stays in a panicked state for memory capture.
ssh VCENTER
# Check the supervisor password
/usr/lib/vmware-wcp/decryptK8Pwd.py
ssh root@<SUPERVISOR_IPADDR>
# Set - No auto-reboot after panic
sysctl -w kernel.panic=0
When the Supervisor VM experiences a kernel panic, perform the following steps immediately before restarting the VM.
2-1. Generate a Memory Snapshot
Important: Ensure that the Snapshot the virtual machine's memory checkbox is explicitly selected before confirming.
2-2. Export the Log Bundle via vCenter Server
2-3. Restart the Supervisor VM
# Log back in to the Supervisor VM via SSH.
# Revert the panic timeout to its default value (10 seconds) by running:
sysctl -w kernel.panic=10
Delete the Temporary Snapshot.
After completing the procedure, upload the ESXi log bundle to the support case.