[Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Mar 11 19:56:06 EDT 2014

On Wed, Mar 12, 2014 at 12:37 AM, Andrew Beekhof <andrew at beekhof.net> wrote:

> It was put in when drbd called:
> fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
> When and why it called that is not my area of expertise though.

The constraint put by crm-fence-peer.sh was
<rsc_location rsc="ms_OvirtData"
        <rule role="Master" score="-INFINITY"
          <expression attribute="#uname" operation="ne"

and I think it was good, in the sense that from now on only ovirteng02
could start the drbd resource, as ovirteng01 was fenced.
But the problem actually was the other constraint

<rsc_location id="cli-ban-ovirt-on-
rsc="ovirt" role="Started" node="ovirteng02.localdomain.local"

preventing ovirteng02 from running ovirt group.
Going backward in the logs I see that the constraint was put 2 days
before during my previous tests (I find it in pe-input-1066.bz2)
And if I reproduce now a "pcs resource move ovirt" I see that the same
constraint is put inside..... and it is removed as I run "pcs resource
clear ovirt" (I can run it on any node, not necessarily the one where
i ran the move operation)


More information about the Pacemaker mailing list