[Pacemaker] crazy notify with master/slave of group

Alan Jones falancluster at gmail.com
Tue Nov 2 00:04:41 UTC 2010


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.
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:



More information about the Pacemaker mailing list