Red Hat Bugzilla – Bug 676286
[RFE] Add per device 'diag' option to pacemaker stonith action
Last modified: 2011-05-19 09:49:33 EDT
Description of problem:
A new "-o diag" option is on target to be added to the RHEL6.1 fence_ipmilan which sends the IPMI "diag" message to a system in order to trigger system dumps for diagnostic purposes.
Currently stonith action only allows "reboot" and "poweroff". The action is set globally based the stonith-action cluster property but it would be very useful to set this per device to assist with fault analysis.
With fence_ipmilan executed manually with "-o diag" it works fine.
In pacemaker, set action="diag" instead of action="reboot" :
primitive restofencenode1 stonith:*fence_ipmilan* \
params ipaddr="<my ipaddr>" login="<mylogin>" passwd="<mypasswd>"
pcmk_host_check="static-list" pcmk_host_list="node1" *action="diag"* \
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
When using the fence_ipmilan fencing agent, Pacemaker now accepts "diag" as a valid per-device stonith action. With this action enabled, a fenced node receives the "DIAG" signal and creates a dump for diagnostic purposes.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.