umm.. here are the config details..<br><br>I have configured test1 and test2 under heartbeat. when started, test1 did not automatically assume the virtual IP, and I had to manually enter one for it... even so if i turn off test1 to simulate a test1 failure, heartbeat doesn't take over to force the virtual IP on test2
<br><br><br>that said, the problem with replication still exist... I am unable to see any data being replicated on test2. may be i'm looking at the wrong place :S kindly guid me there..<br><br>the conf files are as below..
<br><br>on test1 the primary node...<br><br><br>test1:~ # cat /etc/ha.d/ha.cf<br>logfacility local0<br>keepalive 2<br>#deadtime 30 # USE THIS!!!<br>deadtime 10<br>bcast eth0<br>node test1 test2<br><br>=-=-=-=-=-=-=-=-=-=-=-=
<br>test1:~ # cat /etc/ha.d/haresources<br>test1 IPaddr::<a href="http://192.168.1.60/24/eth0">192.168.1.60/24/eth0</a> drbddisk::r0 Filesystem::/dev/drbd0::/home/drbd/DATA/export/::reiserfs nfs-kernel-server<br><br><br>
<br>=-=-=-=-=-=-=-=-=-=-=-=-=-=<br>test1:~ # cat /etc/ha.d/authkeys<br><br>auth 3<br>#1 crc<br>#2 sha1 HI!<br>3 md5 Hello!<br>=-=-=-=-=-=-=-=-=-=-=-=<br><br>test1:~ # cat /etc/drbd.conf<br><br>skip {<br>}<br><br>resource r0 {
<br><br> protocol C;<br><br>incon-degr-cmd "halt -f";<br> startup {<br> degr-wfc-timeout 120; # 2 minutes.<br> }<br><br> disk {<br> on-io-error detach;<br><br><br> size 300G;<br> }<br><br> net {
<br> }<br><br> syncer {<br> rate 100M;<br><br> group 1;<br><br> al-extents 257;<br> }<br><br> on test1 {<br> device /dev/drbd0;<br> disk /dev/md0;<br> address <a href="http://192.168.2.61:7788">
192.168.2.61:7788</a>;<br> meta-disk internal;<br> }<br><br> on test2 {<br> device /dev/drbd0;<br> disk /dev/md0;<br> address <a href="http://192.168.2.62:7788">192.168.2.62:7788</a>;<br> meta-disk internal;
<br> }<br>}<br><br>=-=-=-=-=-=-=-=-<br><br>all config files are replicated on test2, the secondary node..<br><br><br>test1:~ # cat /proc/drbd<br>version: 0.7.14 (api:77/proto:74)<br>SVN Revision: 1989 build by root@test1
, 2006-11-30 11:03:07<br> 0: cs:Connected st:Secondary/Secondary ld:Consistent<br> ns:1052672 nr:0 dw:0 dr:1052672 al:0 bm:514 lo:0 pe:0 ua:0 ap:0<br><br><br>=-=-=-=-=-=-<br><br>test2:/etc/ha.d # cat /proc/drbd<br>version:
0.7.18 (api:78/proto:74)<br>SVN Revision: 2186 build by lmb@chip, 2006-05-04 17:08:27<br> 0: cs:Connected st:Secondary/Secondary ld:Consistent<br> ns:0 nr:1052708 dw:1052708 dr:0 al:0 bm:257 lo:0 pe:0 ua:0 ap:0<br><br>
=-=-=-=-<br><br><br>test2:/etc/ha.d # cat /etc/exports<br>/home/drbd/DATA/export/ <a href="http://192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync)">192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync)
</a><br><br>=-=-=-=-<br>test1:/etc/ha.d # cat /etc/exports<br>
/home/drbd/DATA/export/ <a href="http://192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync)">192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync)</a><br>
=--=-=-=-=-<br><br>Just to clear, I have not performed any mount operation on any of the drbd nodes.<br><br>I'm using seperate interfaces for drbd sync, and heartbeat/client acces... 192.168.1.6x are being used for client access and heartbeat while
192.168.2.6x are used by drbd dedciated sync link.<br><br><br><br>any help/suggestion greatly appreicated.<br><br><br><br><br><div><span class="gmail_quote">On 12/11/06, <b class="gmail_sendername">Milind Dumbare</b> <
<a href="mailto:milind@linsyssoft.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">milind@linsyssoft.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Saturday 09 December 2006 22:52, Daniel van Ham Colchete wrote:<br>> Kamran,<br>><br>> I fail to see were the problem is. At both sides we have "pe:0 ua:0<br>> ap:0", and that means that we don't have any pending/unack'd/io
<br>> waiting blocks.<br>><br>> Did you test creating a file on test1, making test1 secondary, making<br>> test2 primary and cheking if the file exists?<br>><br>> If it doesn't, try sending more info like: logs,
drbd.conf, and so...<br>><br>> Best regards,<br>> Daniel Colchete<br>><br>> On 12/9/06, Kamran Nisar <<a href="mailto:mkamrannisar@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mkamrannisar@gmail.com</a>> wrote:<br>> > Hi,<br>> > i've been bugging the people a lot lately, I had a faulty hard disk due
<br>> > to which sync was repeatedly failing. I have replaced the hard disk, and<br>> > after the initial sync, every thing seems okie, but just one problem..<br>> > the data doesn't seem to be replicating !!!
<br>> ><br>> > test 1 is the primary<br>> ><br>> ><br>> > test2:/home/drbd/DATA/export # cat /proc/drbd<br>> > version: 0.7.18 (api:78/proto:74)<br>> > SVN Revision: 2186 build by
lmb@chip, 2006-05-04 17:08:27<br>> > 0: cs:Connected st:Secondary/Primary ld:Consistent<br>> > ns:0 nr:314615600 dw:314615600 dr:0 al:0 bm:19200 lo:0 pe:0 ua:0 ap:0<br>I can see the problem. See network read (nr) is 314615600 here, But.
<br>> ><br>> ><br>> ><br>> > test1:/home/drbd/DATA/export # cat /proc/drbd<br>> > version: 0.7.14 (api:77/proto:74)<br>> > SVN Revision: 1989 build by root@test1, 2006-11-30 11:03:07<br>
> > 0: cs:Connected st:Primary/Secondary ld:Consistent<br>> > ns:0 nr:0 dw:42668 dr:314623946 al:2411 bm:19200 lo:0 pe:0 ua:0 ap:0<br>Network send is (ns) is 0 here. What is it? Have you refreshed (DRBD up and
<br>then down)primary node? Still bu guessing data read at your test1 (dr) is<br>seemed to be written at test2 (dw).<br>> ><br>> ><br>> ><br>> > --<br>> > Regards<br>> > M Kamran Nisar,
<br>><br>> _______________________________________________<br>> drbd-user mailing list<br>> <a href="mailto:drbd-user@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">drbd-user@lists.linbit.com
</a><br>> <a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>_______________________________________________<br>drbd-user mailing list<br><a href="mailto:drbd-user@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
drbd-user@lists.linbit.com</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.linbit.com/mailman/listinfo/drbd-user</a><br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>M Kamran Nisar,