Hi,<br><br>all the packages are from the opensuse standard repos.<br><br>alpha:/ # /usr/lib64/heartbeat/crmd version<br>CRM Version: 1.0.1 (node: 27be064e090742359bbdd1914f9d7dd363c8e0d8)<br>alpha:/ #<br><br>Thanks.<br><br>
<div class="gmail_quote">On Wed, Oct 14, 2009 at 1:44 PM, Dejan Muhamedagic <span dir="ltr"><<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</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;">
Hi,<br>
<div class="im"><br>
On Wed, Oct 14, 2009 at 01:30:32PM +0300, Stratos Zolotas wrote:<br>
> order mysql_after_drbd inf: ms_drbd_mysql:promote mysql:start<br>
><br>
> is committed ok, but it doesn't show right in the configuration:<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>
> order mysql_after_drbd INFINITY:<br>
<br>
</div>Funny. I've never seen this :)<br>
<div class="im"><br>
> property $id="cib-bootstrap-options" \<br>
> dc-version="1.0.1-node: 27be064e090742359bbdd1914f9d7dd363c8e0d8" \<br>
<br>
</div>Which version do you run? See with /usr/lib/heartbeat/crmd version.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Dejan<br>
</font><div><div></div><div class="h5"><br>
> no-quorum-policy="ignore" \<br>
> stonith-enabled="false" \<br>
> default-resource-stickiness="1000"<br>
><br>
> And if i exit crm and enter again i get:<br>
><br>
> alpha:/ # crm<br>
> crm(live)# configure<br>
> ERROR: syntax : order mysql_after_drbd INFINITY:<br>
> crm(live)configure# show<br>
> ERROR: object mysql_after_drbd cannot be represented in the CLI notation<br>
> crm(live)configure#<br>
><br>
> I'm attaching my log.<br>
><br>
> Thanks.<br>
><br>
> On Wed, Oct 14, 2009 at 1:21 PM, Dejan Muhamedagic <<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>>wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > On Wed, Oct 14, 2009 at 12:13:42PM +0200, Johan Verrept wrote:<br>
> > > Sorry, I missed that. Was already wondering why the error was so<br>
> > > cryptic.<br>
> > ><br>
> > > It is definatly possible, I use it myself:<br>
> > ><br>
> > > order drbd-before-master-group inf: ms-drbd0:promote master-group:start<br>
> > ><br>
> > > And master-group is a group with 3 primitives.<br>
> > ><br>
> > > Maybe try the inf: instead of the mandatory: ?<br>
> ><br>
> > Maybe, that's equal, though mandatory should work fine as well.<br>
> ><br>
> > The only way to figure out what's going on is to take a look at<br>
> > the logs.<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Dejan<br>
> ><br>
> > > FYI, I am on pacemaker 1.0.5.<br>
> > ><br>
> > > J.<br>
> > ><br>
> > > On Wed, 2009-10-14 at 13:11 +0300, Stratos Zolotas wrote:<br>
> > > > As you can see in the config, I have a group named mysql that includes<br>
> > > > fs_mysql, ip_mysql, mysqld, apache primitives.<br>
> > > ><br>
> > > > The expecting result is to start this group after ms_drbd_mysql is<br>
> > > > promoted to one of the nodes.<br>
> > > ><br>
> > > > Is this wrong? Should I try a different approach?<br>
> > > ><br>
> > > > Stratos.<br>
> > > ><br>
> > > > On Wed, Oct 14, 2009 at 1:02 PM, Johan Verrept <<a href="mailto:Johan.Verrept@able.be">Johan.Verrept@able.be</a>><br>
> > > > wrote:<br>
> > > > I don't know if it is your only problem but in the order you<br>
> > > > refer to<br>
> > > > primitive "mysql" while in your configuration you have<br>
> > > > primitive<br>
> > > > "mysqld". Note the "d".<br>
> > > > Other than that, the order constraint looks like mine.<br>
> > > ><br>
> > > > J.<br>
> > > ><br>
> > > ><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<br>
> > > > 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<br>
> > > > connect to<br>
> > > > > cib and create configuration, but i cannot configure an<br>
> > > > order<br>
> > > > > constraint in the configuration file.<br>
> > > > ><br>
> > > > > I try this:<br>
> > > > ><br>
> > > > > order mysql_after_drbd mandatory: ms_drbd_mysql:promote<br>
> > > > 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"<br>
> > > > first-action="promote"<br>
> > > > > id="mysql_after_drbd" score="inf" then="mysql"<br>
> > > > 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/"<br>
> > > > 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"<br>
> > > > clone-max="2"<br>
> > > > > clone-node-max="1" notify="true"<br>
> > > > > colocation mysql_on_drbd INFINITY: mysql<br>
> > > > 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>
> > > ><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>
> > > ><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>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > --<br>
> > > > Kernel IT Solutions Ltd<br>
> > > > <a href="http://www.kernelit.gr" target="_blank">http://www.kernelit.gr</a><br>
> > > ><br>
> > > > Cyclades Wireless Network<br>
> > > > <a href="http://www.cywn.gr" target="_blank">http://www.cywn.gr</a><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>
> > ><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>
> ><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>
> ><br>
><br>
><br>
><br>
> --<br>
> Kernel IT Solutions Ltd<br>
> <a href="http://www.kernelit.gr" target="_blank">http://www.kernelit.gr</a><br>
><br>
> Cyclades Wireless Network<br>
> <a href="http://www.cywn.gr" target="_blank">http://www.cywn.gr</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>
<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>
</div></div></blockquote></div><br>