• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to Collect a Forced Crash Dump of a Hanging Solaris Guest LDom

by admin

A Solaris system panics when it encounters an unrecoverable software or hardware error. When a panic occurs, it saves data about the state of the system and then reboots. A crash dump is created so that an Oracle engineer can determine the reason for the panic. The post describes a manual way to generate a crash dump in case of a LDOM.

From Control domain

A panic signal can be sent to guest ldom (e.g. ldom01) from the control domain.

control-domain # ldm panic/panic-domain ldom01

From Guest ldom condole

Another way to do this is through VNTSD options. telnet to the port on which ldom vntsd service is running to connect to the console of the hung ldom.

# ldm list
NAME     STATE  FLAGS CONS VCPU MEMORY UTIL UPTIME 
primary  active -n-cv  SP   8    4G    0.3% 8h 46m 
ldom01  active -n--- 5000  8    2G     48% 1h 52m
control-domain # telnet 0 5000

Once you are connected to the console of the guest ldom, press CTRL+] to get the telnet prompt. To display available commands on the telnet prompt use ~?:

// on LDom console via  telnet (vntsd)
telnet> ~# - Send break
           ~^B - Send alternate break
           ~. - Exit from this console
           ~w - Force write access
           ~n - Console next
           ~p - Console previous
           ~? - Help

As seen in the help there are 2 options to send the break signal and generate core dump :

~#     ( Tilde / hash Sign )
Send break.

~^B    ( Tilde / CTRL-B )
Send alternate break  
(If "KEYBOARD_ABORT=alternate" has been set in the /etc/default/kbd file within the guest domain)

Select the sync option to generate the crash dump :

Debugging requested; hardware watchdog suspended.

c)ontinue, s)ync, r)eset? s

Filed Under: LDOMs, Solaris

Some more articles you might also be interested in …

  1. How to send mails with attachments using the solaris mailx command
  2. How to Install Oracle Solaris 11 (Text Installer)
  3. Determining which network interface will be used for jumpstart installation / network boot
  4. How to run savecore (crash dump) manually in Solaris
  5. OVM for SPARC (LDOMs) : Troubleshooting console issues
  6. Solaris : How to run savecore manually while booted in single user from CDROM
  7. Managing boot environments in Solaris 11
  8. 12 iostat examples for Solaris performance troubleshooting
  9. LDOM live migration basics explained
  10. 17 Examples of using Solaris boot command

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright