My Oracle Support Banner

HowTo Investigate Hangup or Unexpected Reboot of a Solaris Zone (Doc ID 2214066.1)

Last updated on DECEMBER 19, 2023

Applies to:

Solaris x64/x86 Operating System - Version 10 3/05 HW1 and later
Solaris Operating System - Version 10 and later
Information in this document applies to any platform.

Goal

This document lists the files and data that are most commonly required when diagnosing unexpected reboot of a Solaris zone

A non-global zone does not panic or reset in the traditional sense. 
During shutdown of a non-global, all zones related processes will exit and the kernel in global zone is cleaning up the state related to the zone.
In case of issues with a non-global-zone, collect this information form the global zone, since the processes of all zones are visible from the global zone.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Generic logs of console and messages
 Connect to console of non-global zone
 Check non-global zone console in /var/log/zones/<zonename>.console file  ( Solaris 11 on GZ only )
 Check non-global-zone messages files in /var/log/zones/<zonename>.messages   ( Solaris 11 on GZ only )
 Troubleshooting unexpected reboot of non-global zones
 Check boot timestamps in non-global-zone
 You may try to catch info about the caller of a shutdown command using DTrace
 Check for application corefiles generated by a non-global zone
 Troubleshooting hangup/shutdown of non-global zones
 Check the status of a non-global zone
 Check running/remaining processes for a non-global zone
 Does ssh into the guest still work? Does zlogin into the guest still work? Does zlogin -C work?
 Capture some info about the zoneadmd process for a specific non-global zone
 Consider to capture a kernel threadlist on global zone using mdb
 Consider to capture a live savecore
 Consider to create a savecore of the whole system from global zone (gracefully shutdown other running non-global zones first)
 Halting/shutdown/hang a Non Global Zone (NGZ) related MOS documents
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.