<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 14 (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:0in;
        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
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {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;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>All you need to do (besides assure the network is working – not “spotty”) is connect the devices. Secondary Up-To-Date will be the sync-target; that’s what secondary means. You don’t need to do any invalidation. The only way to mess up your data would be to set the Zimbra2 node to primary and then mount/access the data. THAT would create a split-brain. As long as Zimbra1 is primary and Zimbra2 is secondary, connecting the nodes successfully will resync in the proper direction.<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'>hth<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'>Dan “Top Poster”<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><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> drbd-user-bounces@lists.linbit.com [mailto:drbd-user-bounces@lists.linbit.com] <b>On Behalf Of </b>Bruce Wolfe<br><b>Sent:</b> Friday, July 29, 2011 5:50 PM<br><b>To:</b> drbd-user@lists.linbit.com<br><b>Subject:</b> [DRBD-user] DRBD 8.0.13-HA 2.1.3 sync after physical move<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'>Hi! Could use a little help. I'm a newb to DRDB-HA but understand the concepts and am handy on the CLI. In fact, I found that the Secondary server has been 'disconnected' for over a month. These servers run only Zimbra at the moment running on CentOS 5.5. I hope what I provide below is enough to get the ball rolling. <br><br>Thank you in advance for any prompt help you may be able to offer today.<o:p></o:p></span></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Arial","sans-serif";color:black'><br>I inherited this system and after a physical move of the bare metal to a faster connection at data center, drbd-ha seems to not connect and sync. <br><br>The internal LAN is working as I can ping the ports from each server to the other. But, it is spotty to be able to telnet in. The peer server, Zimbra2, gets it here and there using 192.168.1.2 but the master, Zimbra1, I can never get to work using the standard port, 'telnet 192.168.1.1 7788'<br><br>Despite that, Zimbra1 is st:Primary/Unknown and Zimbra2 is st:Secondary/Unknown. <br>Since Zimbra2 has been drbd-ha offline for some time, I was advised by other on IRC to discard the data before reconnecting. <br><br>Logged into Zimbra2 server and after disconnecting Zimbra2 (Secondary) using 'drbdadm disconnect repdata' I performed 'drbdadm -- --discard-my-data connect repdata' but /proc/drbd on Zimbra2 still results in UpToDate. <br><br>I even tried stopping HA on Zimbra2 but that didn't make a difference either.<br>Any ideas? I want Zimbra1 (Primary) to populate Zimbra2 as it is the working server with the most recent data.<br><br>Now, /dev/drbd0 exists on Zimbra2 but is not mounted that I can see. In order to --discard-my-data, does the drive need to be mounted?<br><br>On Zimbra1 it is mounted like this:<br></span><span style='font-family:"Courier New";color:black'>/dev/drbd0 on /opt type ext3 (rw)</span><span style='font-family:"Arial","sans-serif";color:black'><br>On Zimbra2 there is no record of it being mounted.<br><br><br>Here is /proc/drbd for Zimbra1:</span><span style='font-family:"Courier New";color:black'><br>@zimbra1 ~]# cat /proc/drbd<br>version: 8.0.13 (api:86/proto:86)<br>GIT-hash: ee3ad77563d2e87171a3da17cc002ddfd1677dbe build by buildsvn@c5-x8664-build, 2008-10-03 10:12:56<br> 0: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown r---<br> ns:0 nr:0 dw:1505899068 dr:1246861951 al:3145701 bm:3145590 lo:0 pe:0 ua:0 ap:0<br> resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0<br> act_log: used:0/127 hits:353787267 misses:3888262 starving:1706 dirty:741251 changed:3145701</span><span style='font-family:"Arial","sans-serif";color:black'><br><br>Here is /proc/drbd for Zimbra2:<br></span><span style='font-family:"Courier New";color:black'>@zimbra2 ~]# cat /proc/drbd<br>version: 8.0.13 (api:86/proto:86)<br>GIT-hash: ee3ad77563d2e87171a3da17cc002ddfd1677dbe build by buildsvn@c5-x8664-build, 2008-10-03 10:12:56<br> 0: cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown r---<br> ns:0 nr:0 dw:912 dr:41418 al:18 bm:62 lo:0 pe:0 ua:0 ap:0<br> resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0<br> act_log: used:0/127 hits:210 misses:18 starving:0 dirty:0 changed:18<br></span><span style='font-family:"Arial","sans-serif";color:black'><br>Also, here is /etc/drbd.conf if that helps.<br></span><span style='font-family:"Courier New";color:black'>@zimbra2 ~]# cat /etc/drbd.conf<br>global { usage-count no; }<br>resource repdata {<br> protocol C;<br> startup { wfc-timeout 0; degr-wfc-timeout 120; }<br> disk { on-io-error detach; }<br> syncer { rate 25M; }<br> on zimbra1.marininstitute.org {<br> device /dev/drbd0;<br> disk /dev/VolGroup01/LogVol01;<br> address 192.168.1.1:7788;<br> meta-disk internal;<br> }<br> on zimbra2.marininstitute.org {<br> device /dev/drbd0;<br> disk /dev/VolGroup00/LogVol00;<br> address 192.168.1.2:7788;<br> meta-disk internal;<br> }<br>}<br></span><span style='font-family:"Arial","sans-serif";color:black'><br>Thank you in advance for any prompt help you may be able to offer today.<o:p></o:p></span></p><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal><strong><span style='font-family:"Arial","sans-serif";color:black'>Bruce M. Wolfe, M.S.W., CIO</span></strong><b><span style='font-family:"Arial","sans-serif";color:black'><br><br></span></b><span style='font-family:"Arial","sans-serif";color:black;border:solid windowtext 1.0pt;padding:0in'><img width=100 height=100 id="Picture_x0020_1" src="cid:~WRD000.jpg" alt="Description: Image removed by sender."></span><span style='font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'> 24 Belvedere St.<br> San Rafael, CA 94901<br> 415/456.5692 x213 main<br> 415/257.2493 office<br> 415/456.0491 fax<br> KI6BSL ham<o:p></o:p></span></p></div></div></div></div></div></div></div></div></div></div><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:black'><br><br>"He that falls in love with himself will have no rivals." - Benjamin Franklin<o:p></o:p></span></p></div></div></div></body></html>