Kdump Configuration on RHEL 6
1.
Installing
the kdump Service.
~]# yum install kexec-tools
2.
Run
the following Command to configure kdump in graphical environment.
~]# system-config-kdump
3.
The
target setting tab.
4.
The
Filtering setting tab.
5.
The
Expert setting tab.
6.
After
completing this process first click on Apply button then reboot your machine to
test the configuration and make sure service is running after reboot.
7.
After
rebooting login with root
~]# /etc/init.d/kdump status
Kdump is operational
~] # rpm -ivh kernel-debuginfo-common-x86_64-2.6.32-279.5.2.el6.x86_64.rpm
~] # rpm -ivh kernel-debuginfo-x86_64-2.6.32-279.5.2.el6.x86_64
9.
Now
run the following command at a shell prompt.
~] # echo 1 >
/proc/sys/kernel/sysreq
~] # echo c > /proc/sysrq-trigger
Note:- This will force the linux kernel to crash,
and the address-YYYY-MM-DD-HH:MM:SS/vmcore file will be copied to the location
which you have selected in the configuration (/var/crash).
10.
Analyzing
the core dump
~] # yum install crash
~] # crash /var/crash/127.0.0.1-2012-09-05-16:40:44/vmcore /usr/lib/debug/lib/module/2.6.32-279.el6.x86_64/vmlinux
No comments:
Post a Comment