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">&lt;<a href="mailto:Johan.Verrept@able.be">Johan.Verrept@able.be</a>&gt;</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&#39;t know if it is your only problem but in the order you refer to<br>
primitive &quot;mysql&quot; while in your configuration you have primitive<br>
&quot;mysqld&quot;. Note the &quot;d&quot;.<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>
&gt; Hello again.<br>
&gt;<br>
&gt; After struggling with the latest versions, i decided to try with the<br>
&gt; versions in the standard opesuse repos, that means:<br>
&gt;<br>
&gt; openais 0.80.3<br>
&gt; libopenais2 0.80.3<br>
&gt; pacemaker 1.0.1<br>
&gt; libpacemaker3 1.0.1<br>
&gt; heartbeat 2.99.3<br>
&gt; heartbeat-common 2.99.3<br>
&gt; heartbeat-resources 2.99.3<br>
&gt; libheartbeat2 2.99.3<br>
&gt; OpenIPMI 2.0.14<br>
&gt;<br>
&gt; It seems to work ok, the nodes are communicating and i can connect to<br>
&gt; cib and create configuration, but i cannot configure an order<br>
&gt; constraint in the configuration file.<br>
&gt;<br>
&gt; I try this:<br>
&gt;<br>
&gt; order mysql_after_drbd mandatory: ms_drbd_mysql:promote mysql:start<br>
&gt;<br>
&gt; But when i try to commit i get:<br>
&gt;<br>
&gt; Call cib_create failed (-47): Update does not conform to the<br>
&gt; configured schema/DTD<br>
&gt; &lt;null&gt;<br>
&gt; ERROR: could not create mysql_after_drbd<br>
&gt; offending xml: &lt;rsc_order first=&quot;ms_drbd_mysql&quot; first-action=&quot;promote&quot;<br>
&gt; id=&quot;mysql_after_drbd&quot; score=&quot;inf&quot; then=&quot;mysql&quot; then-action=&quot;start&quot;/&gt;<br>
&gt;<br>
&gt; Am I doing something wrong?<br>
&gt;<br>
&gt; The rest of the configuration is accepted and is:<br>
&gt;<br>
&gt; primitive fs_mysql ocf:heartbeat:Filesystem \<br>
&gt;         params device=&quot;/dev/drbd0&quot; directory=&quot;/service/&quot; fstype=&quot;ext3&quot;<br>
&gt; primitive ip_mysql ocf:heartbeat:IPaddr2 \<br>
&gt;         params ip=&quot;192.168.1.72&quot; nic=&quot;eth2:0&quot;<br>
&gt; primitive mysqld lsb:mysql<br>
&gt; primitive apache lsb:apache2<br>
&gt; primitive drbd_mysql ocf:linbit:drbd \<br>
&gt;         params drbd_resource=&quot;r0&quot; \<br>
&gt;         operations $id=&quot;drbd_mysql-ops&quot; \<br>
&gt;         op monitor interval=&quot;15s&quot;<br>
&gt; group mysql fs_mysql ip_mysql mysqld apache<br>
&gt; ms ms_drbd_mysql drbd_mysql \<br>
&gt;         meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot;<br>
&gt; clone-node-max=&quot;1&quot; notify=&quot;true&quot;<br>
&gt; colocation mysql_on_drbd INFINITY: mysql ms_drbd_mysql:Master<br>
&gt; property $id=&quot;cib-bootstrap-options&quot; \<br>
&gt;         dc-version=&quot;1.0.1-node:<br>
&gt; 27be064e090742359bbdd1914f9d7dd363c8e0d8&quot; \<br>
&gt;         no-quorum-policy=&quot;ignore&quot; \<br>
&gt;         stonith-enabled=&quot;false&quot; \<br>
&gt;         default-resource-stickiness=&quot;1000&quot;<br>
&gt;<br>
&gt; Thanks in advance<br>
&gt;<br>
&gt; Stratos.<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Pacemaker mailing list<br>
&gt; <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <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>