<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-AU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Stratos,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>There was some discussion a few days ago on this list on linbit
vs heartbeat DRBD RA. The general consensus is the heartbeat RA has a few bugs
in it to do with more advanced DRBD features and it is not as supported,
whereas the linbit RA is newer and is maintained by the same people who maintain
DRBD.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I've got a simple single-master DRBD cluster using the heartbeat
RA and throughout my testing I never had any problems, but I'll be moving to
the linbit RA when I have the chance.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><b><span lang=EN-US style='font-size:14.0pt;font-family:
"Arial","sans-serif";color:#0B53B6'>Luke Bigum<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif";
color:#3989F3'>Systems Administrator<o:p></o:p></span></b></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#5C5C5C'> (p) 1300 661 668<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#5C5C5C'> (f) 1300 661 540<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#5C5C5C'>(e) </span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><a href="mailto:lbigum@iseek.com.au"><span lang=EN-US
style='font-size:8.0pt;color:#3989F3'>lbigum@iseek.com.au</span></a></span><span
lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#5C5C5C'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><a href="http://www.iseek.com.au/"><span lang=EN-US
style='font-size:8.0pt;color:#3989F3'>http://www.iseek.com.au</span></a></span><span
lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#3989F3'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#5C5C5C'>Level 1, 100 Ipswich Road Woolloongabba QLD 4102<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#5C5C5C'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#5C5C5C'><img border=0 width=251 height=29 id="Picture_x0020_34"
src="cid:image001.jpg@01CA4D76.9CD8BD10" alt=iseekbar.jpg><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#5C5C5C'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>This e-mail and any files transmitted with it may contain
confidential and privileged material for the sole use of the intended
recipient. Any review, use, distribution or disclosure by others is strictly
prohibited. If you are not the intended recipient (or authorised to receive for
the recipient), please contact the sender by reply e-mail and delete all copies
of this message.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#5C5C5C'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Stratos Zolotas [mailto:strzol@gmail.com] <br>
<b>Sent:</b> Thursday 15 October 2009 2:32 AM<br>
<b>To:</b> pacemaker@oss.clusterlabs.org<br>
<b>Subject:</b> Re: [Pacemaker] Cannot get "order" constraint to
work.<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>For anyone who will search:<br>
<br>
linbit ocf resources are installed with the drbd 8.3.2. I was running with drbd
8.2.7. I configured ocf:heartbeat:drbd and is working.<br>
<br>
Is there a difference between ocf:linbit:drbd and ocf:heartbeat:drbd?<br>
<br>
Should i change to linbit or not?<br>
<br>
My two-node cluster is running and resources are migrating nicely on fail of
one of the two nodes.<br>
<br>
Thank you Dejan (and the others) for the help and support (This is the power of
the community).<br>
<br>
You are invited in summertime for swimming at the Aegean sea in Syros island
Greece (be prepared for big amounts of alcohol).<br>
<br>
Keep up the good work and until the next problem (without problems there is no
evolution) keep in touch. ( I hope this is not going to be tomorrow :) ).<br>
<br>
Thanks again guys. I will keep a look in the list and try to help other
newbies.<br>
<br>
Stratos.<br>
<br>
<o:p></o:p></p>
<div>
<p class=MsoNormal>On Wed, Oct 14, 2009 at 6:51 PM, Stratos Zolotas <<a
href="mailto:strzol@gmail.com">strzol@gmail.com</a>> wrote:<o:p></o:p></p>
<p class=MsoNormal>I found it!!!<br>
<br>
It seems that i don't have linbit resources on /usr/lib/ocf/resource.d<br>
<br>
There are only heartbeat and pacemaker folders!!!<br>
<br>
How can i install linbit ocf resources?<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div>
<p class=MsoNormal>On Wed, Oct 14, 2009 at 6:37 PM, Dejan Muhamedagic <<a
href="mailto:dejanmm@fastmail.fm" target="_blank">dejanmm@fastmail.fm</a>>
wrote:<o:p></o:p></p>
<p class=MsoNormal>Hi,<o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
On Wed, Oct 14, 2009 at 06:20:42PM +0300, Stratos Zolotas wrote:<br>
> Something new!!!!!<br>
><br>
> After cleaning everything, and started from scratch. I'm up an running
(some<br>
> sort).<o:p></o:p></p>
</div>
<p class=MsoNormal>Really glad to hear that you're making progress.<o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
> I'm getting this on the logs and drbd does no start:<br>
><br>
> Oct 14 18:13:52 alpha pengine: [24657]: info: unpack_rsc_op:<br>
> drbd_mysql:0_monitor_0 on alpha returned 5 (not installed) instead of the<br>
> expected value: 7 (not running)<o:p></o:p></p>
</div>
<p class=MsoNormal>You should check the errors reported by the resource agent.<br>
Search for lrmd.*drbd in the logs. There's also excellent<br>
documentation by linbit on running drbd in a cluster. Your<br>
cluster functions now, you just need to fix the resources.<br>
<br>
Thanks,<br>
<span style='color:#888888'><br>
Dejan</span><o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><br>
> Oct 14 18:13:52 alpha pengine: [24657]: ERROR: unpack_rsc_op: Hard error -<br>
> drbd_mysql:0_monitor_0 failed with rc=5: Preventing ms_drbd_mysql from<br>
> re-starting on alpha<br>
> Oct 14 18:13:52 alpha pengine: [24657]: info: determine_online_status:
Node<br>
> bravo is online<br>
> Oct 14 18:13:52 alpha pengine: [24657]: info: unpack_rsc_op:<br>
> drbd_mysql:1_monitor_0 on bravo returned 5 (not installed) instead of the<br>
> expected value: 7 (not running)<br>
> Oct 14 18:13:52 alpha pengine: [24657]: ERROR: unpack_rsc_op: Hard error -<br>
> drbd_mysql:1_monitor_0 failed with rc=5: Preventing ms_drbd_mysql from<br>
> re-starting on bravo<br>
> Oct 14 18:13:52 alpha pengine: [24657]: notice: group_print: Resource
Group:<br>
> mysql<br>
> Oct 14 18:13:52 alpha pengine: [24657]: notice: native_print:<br>
> fs_mysql (ocf::heartbeat:Filesystem):<br>
> Stopped<br>
><br>
> Oct 14 18:13:52 alpha pengine: [24657]: notice: native_print:<br>
> ip_mysql (ocf::heartbeat:IPaddr2):<br>
> Stopped<br>
><br>
> Oct 14 18:13:52 alpha pengine: [24657]: notice: native_print:<br>
> mysqld (lsb:mysql):<br>
> Stopped<br>
><br>
> Oct 14 18:13:52 alpha pengine: [24657]: notice: native_print:<br>
> apache (lsb:apache2):<br>
> Stopped<br>
><br>
> Oct 14 18:13:52 alpha pengine: [24657]: notice: clone_print: Master/Slave<br>
> Set: ms_drbd_mysql<br>
> Oct 14 18:13:52 alpha pengine: [24657]: notice: print_list:
Stopped: [<br>
> drbd_mysql:0 drbd_mysql:1 ]<br>
> Oct 14 18:13:52 alpha pengine: [24657]: info: native_merge_weights:<br>
> ms_drbd_mysql: Rolling back scores from<br>
> fs_mysql<br>
><br>
> Oct 14 18:13:52 alpha pengine: [24657]: WARN: native_color: Resource<br>
> drbd_mysql:0 cannot run anywhere<br>
> Oct 14 18:13:52 alpha pengine: [24657]: WARN: native_color: Resource<br>
> drbd_mysql:1 cannot run anywhere<br>
> Oct 14 18:13:52 alpha pengine: [24657]: info: native_merge_weights:<br>
> ms_drbd_mysql: Rolling back scores from<br>
> fs_mysql<br>
><br>
> Oct 14 18:13:52 alpha pengine: [24657]: info: master_color: ms_drbd_mysql:<br>
> Promoted 0 instances of a possible 1 to<br>
> master<br>
><br>
> Oct 14 18:13:52 alpha pengine: [24657]: info: native_merge_weights:<br>
> fs_mysql: Rolling back scores from<br>
> ip_mysql<br>
><br>
> Oct 14 18:13:52 alpha pengine: [24657]: WARN: native_color: Resource<br>
> fs_mysql cannot run anywhere<br>
><br>
><br>
> Check the first line (i think it says something), should be "not
running"<br>
> but it is "not installed".<br>
><br>
> Maybe this is the problem.<br>
><br>
> Thanks again. At least i'm learning and it seems now i'm getting
somewhere.<br>
><br>
> Also order constraint is accepted. I still have no running cluster but it
is<br>
> a big difference from previous attempts!!!!<br>
><br>
> Stratos.<br>
><br>
> On Wed, Oct 14, 2009 at 5:36 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 05:31:09PM +0300, Stratos Zolotas wrote:<br>
> > > If i change pacemaker version to "1" from
"0" in the openais.conf,<br>
> > openais<br>
> > > is started without errors, but the crm cannot connect to
cluster.<br>
> > ><br>
> > > Which is the difference between "1" and "0"
on the "ver" parameter of<br>
> > > pacemaker in the openais.con?<br>
> > ><br>
> > > Does this mean something? (that openais starts ok).<br>
> ><br>
> > Don't know, I've always used only ver: 0.<br>
> ><br>
> > Anyway, if you can't figure out what's going on, please try to<br>
> > use hb_report and file a bugzilla.<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Dejan<br>
> ><br>
> > > On Wed, Oct 14, 2009 at 5:24 PM, Stratos Zolotas <<a
href="mailto:strzol@gmail.com" target="_blank">strzol@gmail.com</a>><br>
> > wrote:<br>
> > ><br>
> > > > Hi,<br>
> > > ><br>
> > > > cores are empty<br>
> > > ><br>
> > > > I think i'm on dead end......<br>
> > > ><br>
> > > > Thanks.<br>
> > > ><br>
> > > ><br>
> > > > On Wed, Oct 14, 2009 at 5:02 PM, Dejan Muhamedagic <<br>
> > <a href="mailto:dejanmm@fastmail.fm" target="_blank">dejanmm@fastmail.fm</a>>wrote:<br>
> > > ><br>
> > > >> Hi,<br>
> > > >><br>
> > > >> On Wed, Oct 14, 2009 at 04:39:05PM +0300, Stratos
Zolotas wrote:<br>
> > > >> > Ok, I have installed latest version of pacemaker
(1.0.5) from<br>
> > opensuse<br>
> > > >> > 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.<br>
> > On<br>
> > > >> the<br>
> > > >> > bravo node openais fails to start.<br>
> > > >> ><br>
> > > >> > The same happens if i start the bravo node first,
the on alpha it<br>
> > 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<br>
> > was<br>
> > > >> the<br>
> > > >> > order constraint.<br>
> > > >> ><br>
> > > >> > I have also cleared all the configurations
(cib.xml and others in<br>
> > > >> > /var/lib/heartbeat/crm) to start from scratch
without success.<br>
> > > >> ><br>
> > > >> > Any help is appreciated. I'm feeling lost.<br>
> > > >><br>
> > > >> Hmpf. All pacemaker processes start but leave without
trace soon:<br>
> > > >><br>
> > > >> Oct 14 16:22:44 alpha cib: [18888]: info: startCib: CIB
Initialization<br>
> > > >> completed successfully<br>
> > > >> Oct 14 16:22:44 alpha cib: [18888]: info:
crm_cluster_connect:<br>
> > Connecting<br>
> > > >> to OpenAIS<br>
> > > >> Oct 14 16:22:44 alpha cib: [18888]: info:
init_ais_connection:<br>
> > Creating<br>
> > > >> connection to our AIS plugin<br>
> > > >><br>
> > > >> That's the last we hear from cib. Unfortunately that's
too little<br>
> > > >> to work on. Maybe they are segfaulting. Can you please
check<br>
> > > >> again /var/lib/heartbeat/cores<br>
> > > >><br>
> > > >> Perhaps somebody else has an idea on what's going on.<br>
> > > >><br>
> > > >> THanks,<br>
> > > >><br>
> > > >> Dejan<br>
> > > >><br>
> > > >> > Thanks in advance.<br>
> > > >> ><br>
> > > >> > On Wed, Oct 14, 2009 at 3:21 PM, Stratos Zolotas
<<a href="mailto:strzol@gmail.com" target="_blank">strzol@gmail.com</a>><br>
> > > >> wrote:<br>
> > > >> ><br>
> > > >> > > When i try to install pacemaker-1.0.5-4.1.x86_64
the system<br>
> > (opensuse<br>
> > > >> 11.1<br>
> > > >> > > x86_64) asks to downgrade
heartbeat-common-2.99.3-1.6.x86_64 to<br>
> > > >> > > cluster-glue-1.0-12.1.x86_64.<br>
> > > >> > ><br>
> > > >> > > Is this ok and normal?<br>
> > > >> > ><br>
> > > >> > ><br>
> > > >> > > On Wed, Oct 14, 2009 at 3:09 PM, Stratos
Zolotas <<br>
> > <a href="mailto:strzol@gmail.com" target="_blank">strzol@gmail.com</a>><br>
> > > >> wrote:<br>
> > > >> > ><br>
> > > >> > >> If you remember with the upgraded version
pacemaker 1.0.5, i'm<br>
> > > >> getting<br>
> > > >> > >> segfaults on crmd.<br>
> > > >> > >><br>
> > > >> > >> I will try it again. From which repo
should i upgrade?<br>
> > > >> > >><br>
> > > >> > >> Thanks.<br>
> > > >> > >><br>
> > > >> > >><br>
> > > >> > >> On Wed, Oct 14, 2009 at 3:06 PM, Dejan
Muhamedagic <<br>
> > > >> <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: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:<br>
> > > >> 27be064e090742359bbdd1914f9d7dd363c8e0d8)<br>
> > > >> > >>> > alpha:/ #<br>
> > > >> > >>><br>
> > > >> > >>> That's fairly old. Can you please
upgrade.<br>
> > > >> > >>><br>
> > > >> > >>> Thanks,<br>
> > > >> > >>><br>
> > > >> > >>> Dejan<br>
> > > >> > >>><br>
> > > >> > >>> > Thanks.<br>
> > > >> > >>> ><br>
> > > >> > >>> > On Wed, Oct 14, 2009 at 1:44 PM,
Dejan Muhamedagic <<br>
> > > >> > >>> <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<br>
> > wrote:<br>
> > > >> > >>> > > > order mysql_after_drbd
inf: ms_drbd_mysql:promote<br>
> > mysql:start<br>
> > > >> > >>> > > ><br>
> > > >> > >>> > > > is committed ok, but
it doesn't show right in the<br>
> > > >> configuration:<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>
> > > >> > >>> > > > 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:<br>
> > > >> > >>>
27be064e090742359bbdd1914f9d7dd363c8e0d8"<br>
> > > >> > >>> > > \<br>
> > > >> > >>> > ><br>
> > > >> > >>> > > Which version do you run?
See with /usr/lib/heartbeat/crmd<br>
> > > >> 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<br>
> > the<br>
> > > >> CLI<br>
> > > >> > >>> 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 <<br>
> > > >> > >>> <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<br>
> > > >> wrote:<br>
> > > >> > >>> > > > > > Sorry, I
missed that. Was already wondering why the<br>
> > error<br>
> > > >> was<br>
> > > >> > >>> 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<br>
> > as<br>
> > > >> well.<br>
> > > >> > >>> > > > ><br>
> > > >> > >>> > > > > The only way to
figure out what's going on is to take a<br>
> > look<br>
> > > >> 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<br>
> > wrote:<br>
> > > >> > >>> > > > > > > As you
can see in the config, I have a group named<br>
> > mysql<br>
> > > >> that<br>
> > > >> > >>> > > includes<br>
> > > >> > >>> > > > > > >
fs_mysql, ip_mysql, mysqld, apache primitives.<br>
> > > >> > >>> > > > > > ><br>
> > > >> > >>> > > > > > > The
expecting result is to start this group after<br>
> > > >> > >>> 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<br>
> > in<br>
> > > >> the<br>
> > > >> > >>> order<br>
> > > >> > >>> > > you<br>
> > > >> > >>> > > > > > >
refer to<br>
> > > >> > >>> > > > > > >
primitive "mysql" while in your<br>
> > configuration<br>
> > > >> you<br>
> > > >> > >>> have<br>
> > > >> > >>> > > > > > >
primitive<br>
> > > >> > >>> > > > > > >
"mysqld". Note the "d".<br>
> > > >> > >>> > > > > > >
Other than that, the order constraint looks<br>
> > like<br>
> > > >> > >>> mine.<br>
> > > >> > >>> > > > > > ><br>
> > > >> > >>> > > > > > >
J.<br>
> > > >> > >>> > > > > > ><br>
> > > >> > >>> > > > > > ><br>
> > > >> > >>> > > > > > >
On Wed, 2009-10-14 at 12:59 +0300, Stratos<br>
> > > >> Zolotas<br>
> > > >> > >>> wrote:<br>
> > > >> > >>> > > > > > >
> Hello again.<br>
> > > >> > >>> > > > > > >
><br>
> > > >> > >>> > > > > > >
> After struggling with the latest versions,<br>
> > i<br>
> > > >> > >>> decided to<br>
> > > >> > >>> > > try<br>
> > > >> > >>> > > > > > >
with the<br>
> > > >> > >>> > > > > > >
> versions in the standard opesuse repos,<br>
> > that<br>
> > > >> 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<br>
> > > >> communicating<br>
> > > >> > >>> and i<br>
> > > >> > >>> > > can<br>
> > > >> > >>> > > > > > >
connect to<br>
> > > >> > >>> > > > > > >
> cib and create configuration, but i cannot<br>
> > > >> > >>> configure an<br>
> > > >> > >>> > > > > > >
order<br>
> > > >> > >>> > > > > > >
> constraint in the configuration file.<br>
> > > >> > >>> > > > > > >
><br>
> > > >> > >>> > > > > > >
> I try this:<br>
> > > >> > >>> > > > > > >
><br>
> > > >> > >>> > > > > > >
> order mysql_after_drbd mandatory:<br>
> > > >> > >>> 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<br>
> > not<br>
> > > >> > >>> conform to<br>
> > > >> > >>> > > the<br>
> > > >> > >>> > > > > > >
> configured schema/DTD<br>
> > > >> > >>> > > > > > >
> <null><br>
> > > >> > >>> > > > > > >
> ERROR: could not create mysql_after_drbd<br>
> > > >> > >>> > > > > > >
> offending xml: <rsc_order<br>
> > > >> first="ms_drbd_mysql"<br>
> > > >> > >>> > > > > > >
first-action="promote"<br>
> > > >> > >>> > > > > > >
> id="mysql_after_drbd" score="inf"<br>
> > then="mysql"<br>
> > > >> > >>> > > > > > >
then-action="start"/><br>
> > > >> > >>> > > > > > >
><br>
> > > >> > >>> > > > > > >
> Am I doing something wrong?<br>
> > > >> > >>> > > > > > >
><br>
> > > >> > >>> > > > > > >
> The rest of the configuration is accepted<br>
> > and<br>
> > > >> is:<br>
> > > >> > >>> > > > > > >
><br>
> > > >> > >>> > > > > > >
> primitive fs_mysql<br>
> > ocf:heartbeat:Filesystem \<br>
> > > >> > >>> > > > > > >
> params
device="/dev/drbd0"<br>
> > > >> > >>> directory="/service/"<br>
> > > >> > >>> > > > > > >
fstype="ext3"<br>
> > > >> > >>> > > > > > >
> primitive ip_mysql ocf:heartbeat:IPaddr2 \<br>
> > > >> > >>> > > > > > >
> params
ip="192.168.1.72"<br>
> > 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<br>
> > apache<br>
> > > >> > >>> > > > > > >
> ms ms_drbd_mysql drbd_mysql \<br>
> > > >> > >>> > > > > > >
> meta
master-max="1"<br>
> > > >> 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>
> > \<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>
> > > >> _______________________________________________<br>
> > > >> > >>> > > > > > >
> Pacemaker mailing list<br>
> > > >> > >>> > > > > > >
> <a href="mailto:Pacemaker@oss.clusterlabs.org"
target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
> > > >> > >>> > > > > > >
><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>
> > > >> > >>> > > > > > >
Pacemaker mailing list<br>
> > > >> > >>> > > > > > >
<a href="mailto:Pacemaker@oss.clusterlabs.org"
target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
> > > >> > >>> > > > > > ><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>
> > > >> > >>> > > > > > ><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>
> > > >> > >>><br>
> > > >> > >><br>
> > > >> > >><br>
> > > >> > ><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>
> > > _______________________________________________<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><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>