So, I'm still not getting fence_mpath working.  This is all on CentOS 7.
Here's what I did:

- on each node, put a unique "reservation_key" in /etc/multipath.conf
  defaults{} section (node1=20170001 and node2=20170002)

- created the STONITH device on node1 with:
  pcs stonith create multipath fence_mpath 
devices=/dev/mapper/36000d310013096000000000000000043 key=20170001 meta 
provides=unfencing

It creates, but any time anything tries to fence (manually or by
rebooting a node), I get errors in /var/log/messages.  Trying to
manually fence a node gets:

# pcs stonith fence node2 --off
Error: unable to fence 'node2'
Command failed: No such device

Another issue I run into is that fence_mpath tries to access/write to
/var/run/cluster/mpath.devices, but nothing else creates that directory
(and it seems that fence_mpath tries to read from it before writing it
out).

Anybody using fence_mpath as a STONITH device with pacemaker/corosync on
CentOS 7?
-- 
Chris Adams <[email protected]>

_______________________________________________
Users mailing list: [email protected]
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to