<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=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
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-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
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 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</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=EL link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><span lang=EN-US>Hi Lars and All,<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>Thank you for your answer.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>I believe that after a thorough Googling
and drbd-list search I solved my problem.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>The issue was related to this:<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoPlainText><a
href="http://git.drbd.org/?p=drbd-8.0.git;a=commit;h=b2f332efee55ac248d1c7770b1a4a99e6b3ef879"><span
lang=EN-US>http://git.drbd.org/?p=drbd-8.0.git;a=commit;h=b2f332efee55ac248d1c7770b1a4a99e6b3ef879</span></a><span
lang=EN-US><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>After compiling 8.3.0 and installing it,
the problem has been resolved.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>Thank you All for your time.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>Theophanis Kontogiannis<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> -----Original Message-----<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> From: Lars Ellenberg
[mailto:lars.ellenberg@linbit.com]<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> Sent: Wednesday, February 25, 2009
2:26 PM<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> To: drbd-user@lists.linbit.com<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> Subject: Re: [DRBD-user] DRBD
failing to become primary on both - <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> Using<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> RHEL5 Cluster Suite<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> On Tue, Feb 24, 2009 at 11:59:08PM
+0200, Theophanis Kontogiannis wrote:<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > Good Evening Everyone.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> hi.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> please avoid html mails on mailing
lists.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> and try to get your outlook to get
the linebreaks right, and not <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> introduce so many extra blank
lines.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> good luck ;)<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> but anyways...<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > I have a two node cluster of
CentOS 5.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > The fencing is based on WTI
PDU<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > I have GFS2 over LVM over DRBD<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > DRBD is version 8.2.6<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > Kernel is version
2.6.18-92.1.10.el5.centos.plus<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > I have made the drbd to start
as a cluster service (and attached on <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > the service of drbd are clvmd,
and then gfs2 services).<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > Anyway the problem is that I
have not managed a single time to make<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> Primary<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > on both nodes, all the
resources (so the clvmd does not start, and <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > so<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> gfs2<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > does not mount and so no
clustered service starts).<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > This one last time that
happened this (and made me post this request <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > for<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > help) the status is the
following:<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > TWEETY1 (node A)<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > [root@tweety-1 ~]# cat
/proc/drbd<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > version: 8.2.6
(api:88/proto:86-88)<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > GIT-hash:
3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > buildsvn@c5-x8664-build,
2008-08-07 17:44:27<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > 0: cs:WFBitMapS
st:Secondary/Secondary ds:UpToDate/Outdated C r---<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > ns:0
nr:0 dw:0 dr:0 al:0 bm:24 lo:0 pe:0 ua:0 ap:0 oos:126976<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ok, this is still resyncing, at
least it should be soonish change to <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> "SyncSource" on this
node, and to "SyncTarget" on the other.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> if it does not, retry with 8.2.7,
or 8.3.0.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > 1: cs:Connected
st:Secondary/Secondary ds:UpToDate/UpToDate C r---<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> >
ns:811008 nr:0 dw:0 dr:811008 al:0 bm:192 lo:0 pe:0 ua:0 ap:0 <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > oos:0<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> and that one is secondary on both
sides.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> you claim you have not been able to
make it Primary.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> well, what happens, exactly, if you
say "drbdadm primary" ?<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > [root@tweety-1 ~]# dmesg|grep
drbd<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> nothing interessting in there.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> apart from no hint whatsoever of
someone even trying to make it primary.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> so it stays secondary.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > TWEETY2 (node B)<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > [root@tweety-2 ~]# cat
/proc/drbd<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > version: 8.2.6
(api:88/proto:86-88)<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > GIT-hash:
3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > buildsvn@c5-x8664-build, 2008-08-07
17:44:27<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > 0: cs:WFBitMapT
st:Secondary/Secondary ds:Outdated/UpToDate C r---<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > ns:0
nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 oos:126976<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > 1: cs:Connected
st:Secondary/Secondary ds:UpToDate/UpToDate C r---<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > ns:0
nr:811008 dw:811008 dr:0 al:0 bm:96 lo:0 pe:0 ua:0 ap:0 <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> > oos:0<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> [again, kernel log stripped]<o:p></o:p></span></p>
<p class=MsoPlainText>[<span lang=EN-US>STRIPED]<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> --<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> : Lars Ellenberg<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> : LINBIT | Your Way to High
Availability<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> : DRBD/HA support and consulting </span><a
href="http://www.linbit.com"><span lang=EN-US>http://www.linbit.com</span></a><span
lang=EN-US><o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> DRBD</span><span lang=EN-US>
and LINBIT are registered</span><span lang=EN-US> trademarks of LINBIT,
Austria.<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> __<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US>> please don't Cc me, but send to
list -- I'm subscribed<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</body>
</html>