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

Solution Verified - Updated -

Issue

  • 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.

Environment

  • Red Hat Enterprise Linux (RHEL) 6 or 7 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.