[Pacemaker] crazy notify with master/slave of group

Andrew Beekhof andrew at beekhof.net
Thu Nov 11 10:24:56 UTC 2010


On Tue, Nov 2, 2010 at 1:04 AM, Alan Jones <falancluster at gmail.com> wrote:
> Hi,
> Pacemaker 1.0.9.1, Corosync 1.2.7
> I have a sane master/slave configuration that gives me normal looking
> notify() calls when I standby each node in turn.
> However, when I configure the master/slave on a group of three
> resources, things look pretty strange.
> Note that I get no "post" calls at all.

Better include a hb_report for the group case.

> My config looks like:
>
> primitive foo ocf:pacemaker:Stateful \
>    op start timeout=20 \
>    op stop timeout=20 \
>    op monitor timeout=20 interval=10
> primitive bar ocf:pacemaker:Stateful \
>    op start timeout=20 \
>    op stop timeout=20 \
>    op monitor timeout=20 interval=10
> primitive dab ocf:pacemaker:Stateful \
>    op start timeout=20 \
>    op stop timeout=20 \
>    op monitor timeout=20 interval=10
> group master foo bar dab
> ms master-ms master meta master-max="1" master-node-max="1" \
>    clone-max="2" clone-node-max="1" notify="true"
> location master-ms-loc master-ms rule \$role="Master" inf: #uname eq "tom5.com"
>
> MASTER/SLAVE OF PRIMITIVE
>
> Nov 01 16:44:04 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: post OP start STOP:
> START: tom6.com tom5.com
> Nov 01 16:44:05 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: pre OP promote STOP:
> START:
> Nov 01 16:44:05 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: post OP promote STOP:
> START:
> Nov 01 16:44:45 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: pre OP stop STOP:
> tom6.com  START:
> Nov 01 16:44:45 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: post OP stop STOP:
> tom6.com  START:
> Nov 01 16:44:57 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: pre OP start STOP:
> START: tom6.com
> Nov 01 16:44:57 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: post OP start STOP:
> START: tom6.com
> Nov 01 16:45:09 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: pre OP demote STOP:
> tom5.com  START:
> Nov 01 16:45:09 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: post OP demote STOP:
> tom5.com  START:
> Nov 01 16:45:09 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: pre OP stop STOP:
> tom5.com  START:
> Nov 01 16:45:24 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: post OP start STOP:
> START: tom5.com
> Nov 01 16:45:25 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: pre OP promote STOP:
> START:
> Nov 01 16:45:25 tom5.com lrmd: [13709]: info: RA output:
> (master:1:notify:stdout) INS: master:1 TYPE: post OP promote STOP:
> START:
>
> MASTER/SLAVE OF GROUP
>
> Nov 01 16:58:38 tom5.com lrmd: [17053]: info: RA output:
> (seed:probe:stderr) /usr/lib/ocf/resource.d//pacemaker/Seed: line 123:
> [: =: unary operator expected
> Nov 01 16:58:51 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com tom6.com
> Nov 01 16:58:51 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com tom6.com
> Nov 01 16:58:51 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com tom6.com
> Nov 01 16:58:52 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com
> Nov 01 16:58:52 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com
> Nov 01 16:58:52 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com
> Nov 01 16:58:52 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP start STOP:   START:
> tom6.com
> Nov 01 16:58:52 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP start STOP:   START:
> tom6.com
> Nov 01 16:58:52 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP start STOP:   START:
> tom6.com
> Nov 01 16:58:52 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP promote STOP:   START:
> Nov 01 16:58:52 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP promote STOP:   START:
> Nov 01 16:58:52 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP promote STOP:   START:
> Nov 01 16:59:16 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP stop STOP: tom6.com
> tom6.com tom6.com  START:
> Nov 01 16:59:16 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP stop STOP: tom6.com
> tom6.com tom6.com  START:
> Nov 01 16:59:16 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP stop STOP: tom6.com
> tom6.com tom6.com  START:
> Nov 01 16:59:16 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP stop STOP: tom6.com
> tom6.com  START:
> Nov 01 16:59:16 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP stop STOP: tom6.com
> tom6.com  START:
> Nov 01 16:59:16 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP stop STOP: tom6.com
> tom6.com  START:
> Nov 01 16:59:16 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP stop STOP: tom6.com
> START:
> Nov 01 16:59:16 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP stop STOP: tom6.com
> START:
> Nov 01 16:59:16 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP stop STOP: tom6.com
> START:
> Nov 01 16:59:22 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com tom6.com
> Nov 01 16:59:22 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com tom6.com
> Nov 01 16:59:22 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com tom6.com
> Nov 01 16:59:23 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com
> Nov 01 16:59:23 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com
> Nov 01 16:59:23 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP start STOP:   START:
> tom6.com tom6.com
> Nov 01 16:59:23 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP start STOP:   START:
> tom6.com
> Nov 01 16:59:23 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP start STOP:   START:
> tom6.com
> Nov 01 16:59:23 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP start STOP:   START:
> tom6.com
> Nov 01 16:59:35 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP demote STOP: tom5.com
> tom5.com tom5.com  START:
> Nov 01 16:59:35 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP demote STOP: tom5.com
> tom5.com tom5.com  START:
> Nov 01 16:59:35 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP demote STOP: tom5.com
> tom5.com tom5.com  START:
> Nov 01 16:59:36 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP demote STOP: tom5.com
> tom5.com tom5.com  START:
> Nov 01 16:59:36 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP demote STOP: tom5.com
> tom5.com tom5.com  START:
> Nov 01 16:59:36 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP demote STOP: tom5.com
> tom5.com tom5.com  START:
> Nov 01 16:59:37 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP demote STOP: tom5.com
> tom5.com tom5.com  START:
> Nov 01 16:59:37 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP demote STOP: tom5.com
> tom5.com tom5.com  START:
> Nov 01 16:59:37 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP demote STOP: tom5.com
> tom5.com tom5.com  START:
> Nov 01 16:59:45 tom5.com lrmd: [17053]: info: RA output:
> (regd:1:notify:stdout) INS: regd:1 TYPE: pre OP promote STOP:   START:
> Nov 01 16:59:45 tom5.com lrmd: [17053]: info: RA output:
> (sms:1:notify:stdout) INS: sms:1 TYPE: pre OP promote STOP:   START:
> Nov 01 16:59:45 tom5.com lrmd: [17053]: info: RA output:
> (ddfs:1:notify:stdout) INS: ddfs:1 TYPE: pre OP promote STOP:   START:
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>



More information about the Pacemaker mailing list