<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><span></span>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'<span>
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. </span><span><br><br>Thank you in advance for any prompt help you may be able to offer today.<br></span><div style="font-family: Arial; font-size: 12pt; color: #000000"><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><span>The internal LAN is working as I can ping the ports from each server to the other. Bu</span>t, 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'<span><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></span><span>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.</span><br><span><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 style="font-family: Courier New,courier,monaco,monospace,sans-serif;">/dev/drbd0 on /opt type ext3 (rw)</span><br>On Zimbra2 there is no record of it being mounted.<br><br><br>Here is /proc/drbd for Zimbra1:<br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">@zimbra1 ~]# cat /proc/drbd</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">version: 8.0.13 (api:86/proto:86)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">GIT-hash: ee3ad77563d2e87171a3da17cc002ddfd1677dbe build by buildsvn@c5-x8664-build, 2008-10-03 10:12:56</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> 0: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown r---</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> ns:0 nr:0 dw:1505899068 dr:1246861951 al:3145701 bm:3145590 lo:0 pe:0 ua:0 ap:0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> act_log: used:0/127 hits:353787267 misses:3888262 starving:1706 dirty:741251 changed:3145701</span><br><br>Here is /proc/drbd for Zimbra2:<br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">@zimbra2 ~]# cat /proc/drbd</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">version: 8.0.13 (api:86/proto:86)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">GIT-hash: ee3ad77563d2e87171a3da17cc002ddfd1677dbe build by buildsvn@c5-x8664-build, 2008-10-03 10:12:56</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> 0: cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown r---</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> ns:0 nr:0 dw:912 dr:41418 al:18 bm:62 lo:0 pe:0 ua:0 ap:0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> act_log: used:0/127 hits:210 misses:18 starving:0 dirty:0 changed:18</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><br>Also, here is /etc/drbd.conf if that helps.<br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">@zimbra2 ~]# cat /etc/drbd.conf</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">global { usage-count no; }</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">resource repdata {</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> protocol C;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> startup { wfc-timeout 0; degr-wfc-timeout 120; }</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> disk { on-io-error detach; }</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> syncer { rate 25M; }</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> on zimbra1.marininstitute.org {</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> device /dev/drbd0;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> disk /dev/VolGroup01/LogVol01;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> address 192.168.1.1:7788;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> meta-disk internal;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> }</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> on zimbra2.marininstitute.org {</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> device /dev/drbd0;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> disk /dev/VolGroup00/LogVol00;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> address 192.168.1.2:7788;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> meta-disk internal;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> }</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">}</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><br>Thank you in advance for any prompt help you may be able to offer today.<br><br><span></span><div><div><div><div><div><div><div><div><div><div><strong>Bruce M. Wolfe, M.S.W., CIO<br><br></strong><img src="http://alcoholjustice.org/images/stories/logo/aj-logo-for-web-byline-50pct.jpg" dfsrc="http://alcoholjustice.org/images/stories/logo/aj-logo-for-web-byline-50pct.jpg"><br><div style="text-align: left;"> 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<br></div></div></div></div></div></div></div></div></div></div></div><span></span><br><br>
"He that falls in love with himself will have no rivals." - Benjamin Franklin</span><br></div></div></body></html>