• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 562
  • Last Modified:

Solaris core dump question

When the server is in ok prompt we can panic the server using sync command. What is the point of getting that core dump? Oracle is asking to give core dump.
0
mokkan
Asked:
mokkan
  • 2
  • 2
2 Solutions
 
omarfaridCommented:
crash dumps are memory dump of the machine at crash time. It contains info that support will use to identify why the crash happened. please see links below for how to manage crash dumps


http://docs.oracle.com/cd/E23824_01/html/821-1451/tscrashdumps-4.html#scrolltoc
http://docs.oracle.com/cd/E23824_01/html/821-1451/tscrashdumps-31.html
0
 
mokkanAuthor Commented:
When sever is down. How is it going to have information in memory?
0
 
omarfaridCommented:
when system crashes or panic, it dumps the memory content to hard disk. Here some quoted description:

" When a panic occurs on a Solaris system, a message describing the error is usually echoed to the system console. The system will then attempt to write out the contents of the physical memory to a predetermined dump device, which is usually a dedicated disk partition, or the system swap partition. Once this is completed, the system is then rebooted.

Once the system begins rebooting, a startup script will call the savecore utility, if enabled. This command will perform a few tasks on the memory dump. First it will check to make sure that the crash dump corresponds to the running operating system. If the dump passes this test, savecore will then begin to copy the crash dump from the dedicated dump device to the directory /var/crash/`uname -n', or some other predetermined device. The dump is written out to two files, unix.n and vmcore.n, where n is an sequential integer identifying this particular crash. Finally, savecore logs a reboot using the LOG_AUTH syslog facility. "
0
 
mokkanAuthor Commented:
Thank you very much guys.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now