Bug 676286

Summary: [RFE] Add per device 'diag' option to pacemaker stonith action
Product: Red Hat Enterprise Linux 6 Reporter: Gary Smith <gasmith>
Component: pacemakerAssignee: Andrew Beekhof <abeekhof>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: cluster-maint, djansa
Target Milestone: rcKeywords: FutureFeature, Rebase, TechPreview
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pacemaker-1.1.5-1.el6 Doc Type: Technology Preview
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:49:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 655764, 678061, 679847    
Bug Blocks:    

Description Gary Smith 2011-02-09 10:58:25 UTC
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.


Actual results:
With fence_ipmilan executed manually with "-o diag" it works fine.


Additional info:

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"* \

Comment 10 Jaromir Hradilek 2011-04-26 14:47:58 UTC
    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.
    
    New Contents:
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.

Comment 11 errata-xmlrpc 2011-05-19 13:49:33 UTC
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.

http://rhn.redhat.com/errata/RHBA-2011-0642.html