Rocks Cluster 5.4(Cent OS 5.6(Final)) 에서 kdump 설정 방법 좀요...
안녕하세요... 현재 서버관리 중인 사람인데요.....
제가 관리하는 서버에 kdump 를 설정 해야 하는데....... 설정이 잘 안되서 문의 드립니다...
운영체제는 Rocks Cluster 5.4(Cent OS 5.6(Final)) 버젼이구요.........
제가 잘못 설정 한거 같아서 설정 한거 그대로 올려드릴께요...
kdump를 설정 하기 위해서 설치한 rpm 파일은 2가지 이구요..
(1)kexec-tools-1.102pre-96.el5_5.4
(2)busybox-anaconda-1.2.0-7.el5.centos
/etc/grub.conf 파일 설정 한 방법은
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
hiddenmenu
title CentOS (2.6.18-238.19.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.19.1.el5 ro root=LABEL=/ rhgb quiet crashkernel=128@16M
initrd /initrd-2.6.18-238.19.1.el5.img
title Rocks (2.6.18-194.17.4.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.17.4.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-194.17.4.el5.img
이거구요....
/etc/kdump.conf 에서 설정한 화면은..
# Configures where to put the kdump /proc/vmcore files
#
# This file contains a series of commands to perform (in order) when a
# kernel crash has happened and the kdump kernel has been loaded. Directives in
# this file are only applicable to the kdump initramfs, and have no effect if
# the root filesystem is mounted and the normal init scripts are processed
#
# Currently only one dump target and path may be configured at once
# if the configured dump target fails, the default action will be preformed
# the default action may be configured with the default directive below. If the
# configured dump target succedes
#
# See the kdump.conf(5) man page for details of configuration directives
#raw /dev/sda5
#ext3 /dev/sda3
#ext3 LABEL=/boot
#ext3 UUID=03138356-5e61-4ab3-b58e-27507ac41937
#net my.server.com:/export/tmp
#net user@my.server.com
path /var/crash
core_collector makedumpfile -c --message-level 1
#core_collector cp --sparse=always
#link_delay 60
#kdump_post /var/crash/scripts/kdump-post.sh
#extra_bins /usr/bin/lftp
#disk_timeout 30
#extra_modules gfs2
#options modulename options
#default shell
이겁니다.. 혹시 설정해 보신분 계시면 도와주세요 ㅠㅠ