<br><font size=2 face="sans-serif">PHASE 1 : initial setup</font>
<br>
<br><font size=2 face="sans-serif">* Set rules on node : </font>
<br><font size=2 face="sans-serif">node 1 : drbdadm primary all</font>
<br><font size=2 face="sans-serif">node 2 : drbdadm secondary all</font>
<br>
<br><font size=2 face="sans-serif">* cat /prod/drbd :</font>
<br><font size=2 face="sans-serif">node 1 : </font>
<br><font size=2 face="sans-serif">version: 0.7.20 (api:79/proto:74)</font>
<br><font size=2 face="sans-serif">SVN Revision: 2260 build by root@cortest-node1.int-corman.be,
2006-07-25 16:52:39</font>
<br><font size=2 face="sans-serif"> 0: cs:SyncSource st:Primary/Secondary
ld:Consistent</font>
<br><font size=2 face="sans-serif"> ns:25008 nr:0 dw:0 dr:25008
al:0 bm:2 lo:0 pe:0 ua:0 ap:0</font>
<br><font size=2 face="sans-serif"> [>...................]
sync'ed: 0.5% (7251/7276)M</font>
<br><font size=2 face="sans-serif"> finish:
5:09:24 speed: 292 (240) K/sec</font>
<br><font size=2 face="sans-serif"> 1: cs:SyncSource st:Primary/Secondary
ld:Consistent</font>
<br><font size=2 face="sans-serif"> ns:24936 nr:0 dw:0 dr:24936
al:0 bm:2 lo:0 pe:0 ua:0 ap:0</font>
<br><font size=2 face="sans-serif"> [>...................]
sync'ed: 0.3% (10145/10170)M</font>
<br><font size=2 face="sans-serif"> finish:
7:12:53 speed: 272 (240) K/sec</font>
<br>
<br><font size=2 face="sans-serif">node 2 :</font>
<br>
<br><font size=2 face="sans-serif">version: 0.7.20 (api:79/proto:74)</font>
<br><font size=2 face="sans-serif">SVN Revision: 2260 build by root@cortest-node2.int-corman.be,
2006-07-24 13:36:20</font>
<br><font size=2 face="sans-serif"> 0: cs:SyncTarget st:Secondary/Primary
ld:Inconsistent</font>
<br><font size=2 face="sans-serif"> ns:0 nr:66624 dw:66624
dr:0 al:0 bm:6 lo:0 pe:0 ua:0 ap:0</font>
<br><font size=2 face="sans-serif"> [>...................]
sync'ed: 1.0% (7211/7276)M</font>
<br><font size=2 face="sans-serif"> finish:
6:24:35 speed: 280 (240) K/sec</font>
<br><font size=2 face="sans-serif"> 1: cs:SyncTarget st:Secondary/Primary
ld:Inconsistent</font>
<br><font size=2 face="sans-serif"> ns:0 nr:66552 dw:66552
dr:0 al:0 bm:6 lo:0 pe:6 ua:0 ap:0</font>
<br><font size=2 face="sans-serif"> [>...................]
sync'ed: 0.7% (10105/10170)M</font>
<br><font size=2 face="sans-serif"> finish:
8:58:56 speed: 260 (240) K/sec</font>
<br>
<br><font size=2 face="sans-serif">PHASE 2 : prepare to shutdown</font>
<br><font size=2 face="sans-serif">* changing rules </font>
<br><font size=2 face="sans-serif">node 1 : drbdadm secondary all</font>
<br><font size=2 face="sans-serif">node 2 : drbdadm primary all</font>
<br>
<br><font size=2 face="sans-serif">* cat /prod/drbd :</font>
<br><font size=2 face="sans-serif">node 1 : </font>
<br><font size=2 face="sans-serif">version: 0.7.20 (api:79/proto:74)</font>
<br><font size=2 face="sans-serif">SVN Revision: 2260 build by root@cortest-node1.int-corman.be,
2006-07-25 16:52:39</font>
<br><font size=2 face="sans-serif"> 0: cs:SyncSource st:Secondary/Primary
ld:Consistent</font>
<br><font size=2 face="sans-serif"> ns:230937 nr:256 dw:563
dr:230800 al:0 bm:36 lo:6 pe:0 ua:6 ap:0</font>
<br><font size=2 face="sans-serif"> [>...................]
sync'ed: 3.2% (7051/7276)M</font>
<br><font size=2 face="sans-serif"> finish:
6:16:03 speed: 280 (232) K/sec</font>
<br><font size=2 face="sans-serif"> 1: cs:SyncSource st:Secondary/Primary
ld:Consistent</font>
<br><font size=2 face="sans-serif"> ns:231398 nr:256 dw:515
dr:231273 al:0 bm:54 lo:6 pe:0 ua:6 ap:0</font>
<br><font size=2 face="sans-serif"> [>...................]
sync'ed: 2.3% (9944/10170)M</font>
<br><font size=2 face="sans-serif"> finish:
8:50:22 speed: 268 (232) K/sec</font>
<br>
<br><font size=2 face="sans-serif">node 2 : </font>
<br><font size=2 face="sans-serif">version: 0.7.20 (api:79/proto:74)</font>
<br><font size=2 face="sans-serif">SVN Revision: 2260 build by root@cortest-node2.int-corman.be,
2006-07-24 13:36:20</font>
<br><font size=2 face="sans-serif"> 0: cs:SyncTarget st:Primary/Secondary
ld:Inconsistent</font>
<br><font size=2 face="sans-serif"> ns:256 nr:215234 dw:215491
dr:20 al:0 bm:17 lo:0 pe:6 ua:0 ap:0</font>
<br><font size=2 face="sans-serif"> [>...................]
sync'ed: 3.0% (7066/7276)M</font>
<br><font size=2 face="sans-serif"> finish:
8:22:29 speed: 236 (232) K/sec</font>
<br><font size=2 face="sans-serif"> 1: cs:SyncTarget st:Primary/Secondary
ld:Inconsistent</font>
<br><font size=2 face="sans-serif"> ns:256 nr:215747 dw:216003
dr:12 al:0 bm:17 lo:0 pe:0 ua:0 ap:0</font>
<br><font size=2 face="sans-serif"> [>...................]
sync'ed: 2.2% (9959/10170)M</font>
<br><font size=2 face="sans-serif"> finish:
10:37:25 speed: 260 (232) K/sec</font>
<br>
<br>
<br><font size=2 face="sans-serif">PHASE 3 : shutdown</font>
<br>
<br><font size=2 face="sans-serif">node 1 : shutdowned</font>
<br><font size=2 face="sans-serif">node : hangs</font>
<br>
<br><font size=2 face="sans-serif">But why node2 is not consistent when
primary ?</font>
<br>
<br><font size=2 face="sans-serif">-----------------------------------<br>
Stéphane PURNELLE
stephane.purnelle@corman.be<br>
Service Informatique Corman S.A.
Tel : 00 32 087/342467</font>
<br>
<br><font size=2><tt>drbd-user-bounces@lists.linbit.com a écrit sur 26/07/2006
10:40:12 :<br>
<br>
> / 2006-07-26 11:59:52 +0530<br>
> \ Milind Dumbare:<br>
> > Is your hearbeat working?<br>
> > /etc/init.d/heartbeat status?<br>
> <br>
> has nothing to do with heartbeat.<br>
> <br>
> > I faces same problem without heartbeat.<br>
> <br>
> as you seem to know :]<br>
> <br>
> > > Hi,<br>
> > > <br>
> > > today I setup to linux server with drbd 0.7.20.<br>
> > > All work fine, but when I set the node2 with command drbdadm
--<br>
> > > primary all and setup the node 1 to secondary all and I
shutdown the<br>
> > > node1, the node 2 hangs and do a kernel panic<br>
> <br>
> well.<br>
> cat /proc/drbd before you shutdown node1?<br>
> <br>
> -- <br>
> : Lars Ellenberg
Tel
+43-1-8178292-0 :<br>
> : LINBIT Information Technologies GmbH
Fax +43-1-8178292-82 :<br>
> : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com
:<br>
> __<br>
> please use the "List-Reply" function of your email client.<br>
> _______________________________________________<br>
> drbd-user mailing list<br>
> drbd-user@lists.linbit.com<br>
> http://lists.linbit.com/mailman/listinfo/drbd-user<br>
</tt></font>