kdump on powerkvm

Powerkvm hypervisor supports kdump

1) Make sure crashkernel is allocated  ( By default it is there in powerkvm)

[root@powerkvm1-lp1 ~]# cat /proc/cmdline
root=/dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root
ro console=tty0 console=hvc0 crashkernel=1024M
rd.lvm.lv=ibmpkvm_vg_data/ibmpkvm_lv_data
rd.lvm.lv=ibmpkvm_vg_log/ibmpkvm_lv_log
rd.lvm.lv=ibmpkvm_vg_root/ibmpkvm_lv_root
rd.lvm.lv=ibmpkvm_vg_swap/ibmpkvm_lv_swap

2) Check kdump status

[root@powerkvm1-lp1 ~]# service kdump status
Redirecting to /bin/systemctl status  kdump.service
kdump.service – Crash recovery kernel arming
Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled)
Active: active (exited) since Mon 2014-04-07 12:59:29 CDT; 14h ago
Process: 35707 ExecStart=/usr/bin/kdumpctl start (code=exited, status=0/SUCCESS)

3) Start ipmi console of host

https://psuriset.wordpress.com/2014/08/11/access-powerkvm-console-using-ipmi/

4) trigger crash

Crash host:    # echo c > /proc/sysrq-trigger

4) Analyse dump generated here

/var/crash/*****

Advertisements

One thought on “kdump on powerkvm

  1. Hello Pradeep,
    Do you happen to know if this dump procedure would require a second kernel? Like a dump-capture-kernel to allow the dump to be copied elsewhere?
    Thanks,
    James

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s