When multiple ports/names are configured for a cluster node with `pcmk_host_map` only one of the ports have an action (off, on, reboot) executed.

Solution Unverified - Updated

Environment

  • Red Hat Enterprise Linux Server 7, 8 (with the High Availability Add On)
  • pacemaker

Issue

  • When multiple ports/names are configured for a cluster node with pcmk_host_map only one of the ports have an action (off, on, reboot) executed.

Resolution

Red Hat Enterprise Linux 7
  • There is no plan to fix this issue in RHEL 7.

Red Hat Enterprise Linux 8

Workaround

Create a stonith device for each port (even if connecting to the same stonith device) used by the cluster node as shown in the following solution: [How can I configure fencing for redundant power supplies in a RHEL 6 or 7 High Availability cluster with pacemaker?](https://access.redhat.com/solutions/1173123)

Root Cause

This is a known issue where only 1 of the ports or name values for a cluster node defined in pcmk_host_map has an operation (off, on, reboot) ran against it. This is problem for cluster nodes that have redundant stonith devices defined for a cluster node as not all the stonith devices will be turned off which means the cluster node will not be properly fixed.

Diagnostic Steps

  • Check the pcs cluster cib output to see if there are multiple ports configured for a stonith devices pcmk_host_map attribute. For example it would look similar to the following: pcmk_host_map="node1.example.com:port1,port2;node2.example.com:port3,port4"
SBR
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.