How can I configure fencing for redundant power supplies in a RHEL 6 or 7 High Availability cluster with pacemaker?
Issue
- I have redundant power supplies on my cluster nodes, so when a node must be fenced, both ports must be shut off. How do I configure this in
pacemaker
? - In
cman
clusters, we used to configure redundant devices incluster.conf
by referencing them in an off/off/on/on pattern. Is there a way to configure this withpcs
andstonith
? - When I try to configure redundant fence devices, I am not able to reference them in a level and also specify the action and port. Do I need to create a separate device for each action that needs to be performed?
- I have two power supplies. How do I configure
stonith
to handle this correctly?
Environment
- Red Hat Enterprise Linux (RHEL) 6 or 7 with the High Availability Add On
pacemaker
- Redundant fence (
stonith
) devices that must all be turned off before any are turned back on- This is typical with multiple power supplies
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.