[Pacemaker] Cannot get "order" constraint to work.

Stratos Zolotas strzol at gmail.com
Wed Oct 14 09:59:50 UTC 2009


Hello again.

After struggling with the latest versions, i decided to try with the
versions in the standard opesuse repos, that means:

openais 0.80.3
libopenais2 0.80.3
pacemaker 1.0.1
libpacemaker3 1.0.1
heartbeat 2.99.3
heartbeat-common 2.99.3
heartbeat-resources 2.99.3
libheartbeat2 2.99.3
OpenIPMI 2.0.14

It seems to work ok, the nodes are communicating and i can connect to cib
and create configuration, but i cannot configure an order constraint in the
configuration file.

I try this:

order mysql_after_drbd mandatory: ms_drbd_mysql:promote mysql:start

But when i try to commit i get:

Call cib_create failed (-47): Update does not conform to the configured
schema/DTD
<null>
ERROR: could not create mysql_after_drbd
offending xml: <rsc_order first="ms_drbd_mysql" first-action="promote"
id="mysql_after_drbd" score="inf" then="mysql" then-action="start"/>

Am I doing something wrong?

The rest of the configuration is accepted and is:

primitive fs_mysql ocf:heartbeat:Filesystem \
        params device="/dev/drbd0" directory="/service/" fstype="ext3"
primitive ip_mysql ocf:heartbeat:IPaddr2 \
        params ip="192.168.1.72" nic="eth2:0"
primitive mysqld lsb:mysql
primitive apache lsb:apache2
primitive drbd_mysql ocf:linbit:drbd \
        params drbd_resource="r0" \
        operations $id="drbd_mysql-ops" \
        op monitor interval="15s"
group mysql fs_mysql ip_mysql mysqld apache
ms ms_drbd_mysql drbd_mysql \
        meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1" notify="true"
colocation mysql_on_drbd INFINITY: mysql ms_drbd_mysql:Master
property $id="cib-bootstrap-options" \
        dc-version="1.0.1-node: 27be064e090742359bbdd1914f9d7dd363c8e0d8" \
        no-quorum-policy="ignore" \
        stonith-enabled="false" \
        default-resource-stickiness="1000"

Thanks in advance

Stratos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091014/2d622d87/attachment-0001.html>


More information about the Pacemaker mailing list