Should I specify an action when creating stonith devices in my High Availability cluster with pacemaker?

Solution Verified - Updated -


  • When using cman, we used to create a <device/> entry in /etc/cluster/cluster.conf and specify the desired action, like action="off". Should I specify an action when creating a stonith device with pcs?
  • Will stonith-ng override my configured action setting on a stonith device with the expected action that needs to be carried out?
  • Nodes are being rebooted when joining the cluster and unfencing is carried out
  • Nodes reboot when stonith is executing a monitor operation
  • How do I change the fence agent so it shuts a node down instead of rebooting the node?
  • How do I see what the fence action is set to for a fence agent?
  • Nodes get rebooted unexpectedly when I issue a pcs resource cleanup or pcs stonith cleanup, and there don't appear to be any resource failures to cause fencing.


  • Red Hat Enterprise Linux (RHEL) 6, 7, or 8 with the High Availability Add On
  • pacemaker
  • One or more stonith devices configured with an action="reboot" or action="off" attribute

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content