LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-11-2011, 01:41 AM   #1
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21
how to create kernel dump on rhel 4.7?


Hi all, this is somewhat related to my old post regarding the core dump generation. Now my application team is asking me to generate the kernel-dump.
Here are details about my server.
OS: RHEL 4.7/32 Bit
Kernel Version: 2.6.9-89.0.23.ELsmp
Processor: Intel(R) Xeon(R) CPU E5520@ 2.27GHz
Hardware: HP Proliant 380G6 series server.

I am using Electric Cloud applications. Sometimes it creates some kernel panic and immediately got rebooted. Kernel-debuginfo rpm is not installed. In some thread, i read the kernel-debuginfo rpm's version should match with the kernel version. In my case i couldnt even find the exact version of kernel-debuginfo version. Please help me guys.
 
Old 01-11-2011, 08:08 AM   #2
fortez
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 0
Hi
you can make core dump at kernel panic moment, i.e when application cretaes kernel panic.
Before you start, you need :
- to install the "crash" rpm
- to setup either diskdump or netdump to capture a panic crash dump to either local disk or a network dump server.

Netdump captures a panic crash dump to r a network dump server.
You have to setup a dump server and local dump client.


On the dump server:

1. /sbin/chkconfig netdump-server on
2. /sbin/service netdump-server start
3. Set the password on the "netdump" account: remember this password because you'll need to tell netdump on the client this password.

On the dump client:

1. /sbin/chkconfig netdump on
2. /sbin/service netdump propagate
This is where you'll be asked for the password for the netdump account and ssh public keys for the client are put on the server.
3. /sbin/service netdump start

Check both netdump and netconsole modules are loaded by using the "lsmod" command.

Diskdump capturse a panic crash dump to local disk and requires a dump partition to work.

Instructions for setting up diskdump and other about dump are in following link:

http://magazine.redhat.com/2007/08/1...dump-analysis/

Regards
 
Old 01-18-2011, 02:12 AM   #3
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
Hi fortez

Thanks for your help.
Still i am not successfull on this. I cant install rpms in my system just like that. i found there were no rpms installed for netdump. So i chose disk dump. My doubt is, should i need a dedicated partition for this dump creation or can i use a portion of free space from my filesystem,anything like that. I am using LVM for OS and user's home and their workaround directories are coming from storage.

Quote:
[root@one ~]# fdisk -l

Disk /dev/cciss/c0d0: 440.3 GB, 440340364800 bytes
255 heads, 63 sectors/track, 53535 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 53535 429915465 8e Linux LVM
[root@one ~]#
 
Old 01-19-2011, 04:14 AM   #4
fortez
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 0
kingston,
you have to use a dedicated partition....
 
Old 01-19-2011, 04:16 AM   #5
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
then it is not possible to go for diskdump. I will try to configure netdump. Thanks for your information.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a bootable ISO from the OS dump klosd Red Hat 2 04-04-2009 08:59 PM
How to create dump in Linux depam Linux - Software 3 03-24-2009 05:09 AM
can anybody help me on taking backups using dump utility on RHEL 4 siri.siri143 Linux - Newbie 1 12-17-2007 10:12 AM
Can any one upload RheL Dump papers??? bala016 Linux - Certification 8 05-25-2007 02:46 AM
create floppy image using dump cccc Linux - Hardware 2 08-07-2005 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration