As you can see in the config, I have a group named mysql that includes fs_mysql, ip_mysql, mysqld, apache primitives.<br><br>The expecting result is to start this group after ms_drbd_mysql is promoted to one of the nodes.<br>
<br>Is this wrong? Should I try a different approach?<br><br>Stratos.<br><br><div class="gmail_quote">On Wed, Oct 14, 2009 at 1:02 PM, Johan Verrept <span dir="ltr"><<a href="mailto:Johan.Verrept@able.be">Johan.Verrept@able.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I don't know if it is your only problem but in the order you refer to<br>
primitive "mysql" while in your configuration you have primitive<br>
"mysqld". Note the "d".<br>
Other than that, the order constraint looks like mine.<br>
<br>
J.<br>
<div><div></div><div class="h5"><br>
On Wed, 2009-10-14 at 12:59 +0300, Stratos Zolotas wrote:<br>
> Hello again.<br>
><br>
> After struggling with the latest versions, i decided to try with the<br>
> versions in the standard opesuse repos, that means:<br>
><br>
> openais 0.80.3<br>
> libopenais2 0.80.3<br>
> pacemaker 1.0.1<br>
> libpacemaker3 1.0.1<br>
> heartbeat 2.99.3<br>
> heartbeat-common 2.99.3<br>
> heartbeat-resources 2.99.3<br>
> libheartbeat2 2.99.3<br>
> OpenIPMI 2.0.14<br>
><br>
> It seems to work ok, the nodes are communicating and i can connect to<br>
> cib and create configuration, but i cannot configure an order<br>
> constraint in the configuration file.<br>
><br>
> I try this:<br>
><br>
> order mysql_after_drbd mandatory: ms_drbd_mysql:promote mysql:start<br>
><br>
> But when i try to commit i get:<br>
><br>
> Call cib_create failed (-47): Update does not conform to the<br>
> configured schema/DTD<br>
> <null><br>
> ERROR: could not create mysql_after_drbd<br>
> offending xml: <rsc_order first="ms_drbd_mysql" first-action="promote"<br>
> id="mysql_after_drbd" score="inf" then="mysql" then-action="start"/><br>
><br>
> Am I doing something wrong?<br>
><br>
> The rest of the configuration is accepted and is:<br>
><br>
> primitive fs_mysql ocf:heartbeat:Filesystem \<br>
> params device="/dev/drbd0" directory="/service/" fstype="ext3"<br>
> primitive ip_mysql ocf:heartbeat:IPaddr2 \<br>
> params ip="192.168.1.72" nic="eth2:0"<br>
> primitive mysqld lsb:mysql<br>
> primitive apache lsb:apache2<br>
> primitive drbd_mysql ocf:linbit:drbd \<br>
> params drbd_resource="r0" \<br>
> operations $id="drbd_mysql-ops" \<br>
> op monitor interval="15s"<br>
> group mysql fs_mysql ip_mysql mysqld apache<br>
> ms ms_drbd_mysql drbd_mysql \<br>
> meta master-max="1" master-node-max="1" clone-max="2"<br>
> clone-node-max="1" notify="true"<br>
> colocation mysql_on_drbd INFINITY: mysql ms_drbd_mysql:Master<br>
> property $id="cib-bootstrap-options" \<br>
> dc-version="1.0.1-node:<br>
> 27be064e090742359bbdd1914f9d7dd363c8e0d8" \<br>
> no-quorum-policy="ignore" \<br>
> stonith-enabled="false" \<br>
> default-resource-stickiness="1000"<br>
><br>
> Thanks in advance<br>
><br>
> Stratos.<br>
><br>
</div></div>> _______________________________________________<br>
> Pacemaker mailing list<br>
> <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Kernel IT Solutions Ltd<br><a href="http://www.kernelit.gr">http://www.kernelit.gr</a><br><br>Cyclades Wireless Network<br><a href="http://www.cywn.gr">http://www.cywn.gr</a><br>