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/*****