Ok, I have installed latest version of pacemaker (1.0.5) from opensuse ha-clustering repo, but it is not working.<br><br>I'm starting openais on the alpha node and i get a lot of messages. On the bravo node openais fails to start.<br>
<br>The same happens if i start the bravo node first, the on alpha it fails.<br><br>Attached is my log. At least it doesn't segfault!<br><br>I'm starting to get tired. And with pacamaker 1.0.1 my only problem was the order constraint.<br>
<br>I have also cleared all the configurations (cib.xml and others in /var/lib/heartbeat/crm) to start from scratch without success.<br><br>Any help is appreciated. I'm feeling lost.<br><br>Thanks in advance.<br><br><div class="gmail_quote">
On Wed, Oct 14, 2009 at 3:21 PM, Stratos Zolotas <span dir="ltr"><<a href="mailto:strzol@gmail.com">strzol@gmail.com</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;">
When i try to install pacemaker-1.0.5-4.1.x86_64 the system (opensuse 11.1 x86_64) asks to downgrade heartbeat-common-2.99.3-1.6.x86_64 to cluster-glue-1.0-12.1.x86_64.<br><br>Is this ok and normal?<div><div></div><div class="h5">
<br><br><div class="gmail_quote">
On Wed, Oct 14, 2009 at 3:09 PM, Stratos Zolotas <span dir="ltr"><<a href="mailto:strzol@gmail.com" target="_blank">strzol@gmail.com</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;">

If you remember with the upgraded version pacemaker 1.0.5, i'm getting segfaults on crmd.<br><br>I will try it again. From which repo should i upgrade?<br><br>Thanks.<div><div></div><div><br><br><div class="gmail_quote">

On Wed, Oct 14, 2009 at 3:06 PM, Dejan Muhamedagic <span dir="ltr"><<a href="mailto:dejanmm@fastmail.fm" target="_blank">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><br>
On Wed, Oct 14, 2009 at 01:47:08PM +0300, Stratos Zolotas wrote:<br>
> 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>
</div>That's fairly old. Can you please upgrade.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Dejan<br>
</font><div><div></div><div><br>
> Thanks.<br>
><br>
> On Wed, Oct 14, 2009 at 1:44 PM, Dejan Muhamedagic <<a href="mailto:dejanmm@fastmail.fm" target="_blank">dejanmm@fastmail.fm</a>>wrote:<br>
><br>
> > Hi,<br>
> ><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>
> > Funny. I've never seen this :)<br>
> ><br>
> > > property $id="cib-bootstrap-options" \<br>
> > >         dc-version="1.0.1-node: 27be064e090742359bbdd1914f9d7dd363c8e0d8"<br>
> > \<br>
> ><br>
> > Which version do you run? See with /usr/lib/heartbeat/crmd version.<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Dejan<br>
> ><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" target="_blank">dejanmm@fastmail.fm</a><br>
> > >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<br>
> > 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<br>
> > 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 <<br>
> > <a href="mailto:Johan.Verrept@able.be" target="_blank">Johan.Verrept@able.be</a>><br>
> > > > > > wrote:<br>
> > > > > >         I don't know if it is your only problem but in the order<br>
> > 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<br>
> > 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<br>
> > 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<br>
> > 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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>