Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Dan, you are absolutely right!!!!!!!!! Primary school mistake on my side!!!!!!!! Thanks a lot, Walter! -----Original Message----- From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Dan Barker Sent: Montag, 19. August 2013 14:06 To: drbd-user at lists.linbit.com Subject: Re: [DRBD-user] Sync of Nodes > -----Original Message----- > From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user- > bounces at lists.linbit.com] On Behalf Of Walter Robert Ditzler > Sent: Monday, August 19, 2013 5:44 AM > To: drbd-user at lists.linbit.com > Subject: [DRBD-user] Sync of Nodes > > Hi all, > > I just made a test this weekend onto my new 2 XEN hosts: > > - Debian Wheezy, Kernel 3.10.7, DRBD Tools 8.4.3, Node A=master, Node > B=secondary, XEN 4.3.0 Guests on LVM > > *** > root at srv-ldeb-xen001:/var/local/abbeoo/xen.d# /etc/init.d/drbd status > drbd driver loaded OK; device status: > version: 8.4.3 (api:1/proto:86-101) > srcversion: 19422058F8A2D4AC0C8EF09 > m:res cs ro ds p > mounted > fstype > 11:drbd_host11 Connected Primary/Secondary UpToDate/ UpToDate C > *** > > > What I did is to check if synchronization works. I tested as followed: > > On Node A: > 1) Create a file and save it in Desktop in my XEN Guest System > 2) xl destroy host11 (kill my XEN Guest System) > 3) drbdadm secondary drbd_host11 > > Then I continue on Node B > 1) drbdadm primary drbd_host11 > 2) xl create host11.cfg (Start my XEN Guest System) > 3) No file on the desktop!!! > > It seem that the synchronization doesn't work. When I shutdown Node B > and start Node A again, I see the file again on the desktop. > > Can anyone help me out here? Do I make any mistake while starting DRBD > at boot? > > Thanks a lot, > > Walter > > > My Nodes are linked and working > > *** > root at srv-ldeb-xen001:/var/local/abbeoo/xen.d# cat /proc/drbd > version: 8.4.3 (api:1/proto:86-101) > srcversion: 19422058F8A2D4AC0C8EF09 > > 11: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----- > ns:0 nr:0 dw:0 dr:664 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f > oos:0 > *** > > *** > root at srv-ldeb-xen002:/var/local/xen/xen.d# cat /proc/drbd > version: 8.3.13 (api:88/proto:86-96) > srcversion: ECB278A2285B40525B8362B > > 11: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0 > *** > > > *** PING on Node A to Node B > root at srv-ldeb-xen001:/var/local/abbeoo/xen.d# ping 10.255.255.2 PING > 10.255.255.2 (10.255.255.2) 56(84) bytes of data. > 64 bytes from 10.255.255.2: icmp_req=1 ttl=64 time=0.195 ms > *** > > *** Ping on Node B to Node A > root at srv-ldeb-xen002:/var/local/xen/xen.d# ping 10.255.255.1 PING > 10.255.255.1 (10.255.255.1) 56(84) bytes of data. > 64 bytes from 10.255.255.1: icmp_req=1 ttl=64 time=0.277 ms > *** > All the reads and writes counters are showing zeros. Are you sure Xen is using the drbd resources and not the underlying storage? Xen should be accessing /dev/drbd11. My guess is that it's looking at /dev/vgdata1/host11. Dan _______________________________________________ drbd-user mailing list drbd-user at lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user