[Pacemaker] Problems with colocation/order with drbd tree-node-setup
Johan Verrept
Johan.Verrept at able.be
Fri Oct 16 10:02:52 UTC 2009
I am unsure this is the source of your problems, but I think you have a
colocation restraint too much.
> colocation co.ms.drbd.mysqlstack_on_res.ip.mysql inf:
ms.drbd.mysqlstack res.ip.mysql
Why this?
You already force both ms.drbd.mysqlstack and res.ip.mysql onto
ms.drbd.mysqldb:Master, so there is no need to force ms.drbd.mysqlstack
onto res.ip.mysql too.
J.
On Fri, 2009-10-16 at 11:49 +0200, Schmidt, Torsten wrote:
> node mysqlHA1.cologne.tecdoc.local
> node mysqlHA2.cologne.tecdoc.local
> primitive res.drbd.mysqldb ocf:linbit:drbd \
> params drbd_resource="mysqldb"
> primitive res.drbd.mysqlstack ocf:linbit:drbd \
> params drbd_resource="mysqlstack"
> primitive res.ip.mysql ocf:heartbeat:IPaddr2 \ ms.drbd.mysqlstack
> params ip="172.30.2.10" nic="eth0" \
> op monitor interval="2s" timeout="0.5s"
> ms ms.drbd.mysqldb res.drbd.mysqldb \
> meta master-max="1" master-node-max="1" clone-max="2"
> clone-node-max="1" notify="true" globally_unique="false"
> ms ms.drbd.mysqlstack res.drbd.mysqlstack \
> meta master-max="1" master-node-max="1" clone-max="1"
> clone-node-max="1" notify="true" globally_unique="false"
> colocation co.ms.drbd.mysqlstack_on_ms.drbd.mysqldb inf:
> ms.drbd.mysqlstack ms.drbd.mysqldb:Master
> colocation co.ms.drbd.mysqlstack_on_res.ip.mysql inf:
> ms.drbd.mysqlstack res.ip.mysql
> colocation co.res.ip.mysql_on_ms.drbd.mysqldb_master inf: res.ip.mysql
> ms.drbd.mysqldb:Master
> order o.ip.mysql_before_ms.drbd.mysqlstack inf: res.ip.mysql
> ms.drbd.mysqlstack:start
> order o.ms.drbd.mysqldb_before_ms.drbd.mysqlstack inf:
> ms.drbd.mysqldb:promote ms.drbd.mysqlstack:start
> property $id="cib-bootstrap-options" \
> stonith-enabled="false"
More information about the Pacemaker
mailing list