HomeClusterLabs Projects

Feature: crm_mon --neg-location drbd-fence-by-handler

Description

Feature: crm_mon --neg-location drbd-fence-by-handler

Adds a list of negative location constraints to crm_mon output,
optionally filtered by id prefix.

Example output:

<normal crm_mon output>
...

Fencing constraints:

drbd-fence-by-handler-iscsi-vmstore2-rule-ms_drbd_iscsi-vmstore2 prevents ms_drbd_iscsi-vmstore2 from running as master on bk13-2

If so configured (DRBD fencing-policy != dont-care, fence-peer handler
set to crm-fence-peer.sh), a DRBD Primary places these constraints when
the replication link is not established.

This condition is otherwise not obvious from crm_mon output,
as to pacemaker, everything looks "normal".

Details

Provenance
Lars Ellenberg <lars.ellenberg@linbit.com>Authored on Jun 24 2013, 8:08 AM
Andrew Beekhof <andrew@beekhof.net>Committed on Jun 24 2013, 9:31 PM
Parents
rP6a17c003b016: Fix: crm_mon -A: print_attr_msg needs to lookup paramters, not meta
Branches
Unknown
Tags
Unknown

Event Timeline