Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
umm.. here are the config details.. 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 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.. the conf files are as below.. on test1 the primary node... test1:~ # cat /etc/ha.d/ha.cf logfacility local0 keepalive 2 #deadtime 30 # USE THIS!!! deadtime 10 bcast eth0 node test1 test2 =-=-=-=-=-=-=-=-=-=-=-= test1:~ # cat /etc/ha.d/haresources test1 IPaddr::192.168.1.60/24/eth0 drbddisk::r0 Filesystem::/dev/drbd0::/home/drbd/DATA/export/::reiserfs nfs-kernel-server =-=-=-=-=-=-=-=-=-=-=-=-=-= test1:~ # cat /etc/ha.d/authkeys auth 3 #1 crc #2 sha1 HI! 3 md5 Hello! =-=-=-=-=-=-=-=-=-=-=-= test1:~ # cat /etc/drbd.conf skip { } resource r0 { protocol C; incon-degr-cmd "halt -f"; startup { degr-wfc-timeout 120; # 2 minutes. } disk { on-io-error detach; size 300G; } net { } syncer { rate 100M; group 1; al-extents 257; } on test1 { device /dev/drbd0; disk /dev/md0; address 192.168.2.61:7788; meta-disk internal; } on test2 { device /dev/drbd0; disk /dev/md0; address 192.168.2.62:7788; meta-disk internal; } } =-=-=-=-=-=-=-=- all config files are replicated on test2, the secondary node.. test1:~ # cat /proc/drbd version: 0.7.14 (api:77/proto:74) SVN Revision: 1989 build by root at test1, 2006-11-30 11:03:07 0: cs:Connected st:Secondary/Secondary ld:Consistent ns:1052672 nr:0 dw:0 dr:1052672 al:0 bm:514 lo:0 pe:0 ua:0 ap:0 =-=-=-=-=-=- test2:/etc/ha.d # cat /proc/drbd version: 0.7.18 (api:78/proto:74) SVN Revision: 2186 build by lmb at chip, 2006-05-04 17:08:27 0: cs:Connected st:Secondary/Secondary ld:Consistent ns:0 nr:1052708 dw:1052708 dr:0 al:0 bm:257 lo:0 pe:0 ua:0 ap:0 =-=-=-=- test2:/etc/ha.d # cat /etc/exports /home/drbd/DATA/export/ 192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync) =-=-=-=- test1:/etc/ha.d # cat /etc/exports /home/drbd/DATA/export/ 192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync) =--=-=-=-=- Just to clear, I have not performed any mount operation on any of the drbd nodes. 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. any help/suggestion greatly appreicated. On 12/11/06, Milind Dumbare <milind at linsyssoft.com> wrote: > > On Saturday 09 December 2006 22:52, Daniel van Ham Colchete wrote: > > Kamran, > > > > I fail to see were the problem is. At both sides we have "pe:0 ua:0 > > ap:0", and that means that we don't have any pending/unack'd/io > > waiting blocks. > > > > Did you test creating a file on test1, making test1 secondary, making > > test2 primary and cheking if the file exists? > > > > If it doesn't, try sending more info like: logs, drbd.conf, and so... > > > > Best regards, > > Daniel Colchete > > > > On 12/9/06, Kamran Nisar <mkamrannisar at gmail.com> wrote: > > > Hi, > > > i've been bugging the people a lot lately, I had a faulty hard disk > due > > > to which sync was repeatedly failing. I have replaced the hard disk, > and > > > after the initial sync, every thing seems okie, but just one problem.. > > > the data doesn't seem to be replicating !!! > > > > > > test 1 is the primary > > > > > > > > > test2:/home/drbd/DATA/export # cat /proc/drbd > > > version: 0.7.18 (api:78/proto:74) > > > SVN Revision: 2186 build by lmb at chip, 2006-05-04 17:08:27 > > > 0: cs:Connected st:Secondary/Primary ld:Consistent > > > ns:0 nr:314615600 dw:314615600 dr:0 al:0 bm:19200 lo:0 pe:0 ua:0 > ap:0 > I can see the problem. See network read (nr) is 314615600 here, But. > > > > > > > > > > > > test1:/home/drbd/DATA/export # cat /proc/drbd > > > version: 0.7.14 (api:77/proto:74) > > > SVN Revision: 1989 build by root at test1, 2006-11-30 11:03:07 > > > 0: cs:Connected st:Primary/Secondary ld:Consistent > > > ns:0 nr:0 dw:42668 dr:314623946 al:2411 bm:19200 lo:0 pe:0 ua:0 > ap:0 > Network send is (ns) is 0 here. What is it? Have you refreshed (DRBD up > and > then down)primary node? Still bu guessing data read at your test1 (dr) is > seemed to be written at test2 (dw). > > > > > > > > > > > > -- > > > Regards > > > M Kamran Nisar, > > > > _______________________________________________ > > drbd-user mailing list > > drbd-user at lists.linbit.com > > http://lists.linbit.com/mailman/listinfo/drbd-user > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > -- Regards M Kamran Nisar, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20061213/312b816e/attachment.htm>