[DRBD-user] Sync of Nodes

Walter Robert Ditzler ditwal001 at gmail.com
Mon Aug 19 11:44:27 CEST 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


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
***
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: abo.drbd.res
Type: application/octet-stream
Size: 3762 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130819/8c83ba9d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: global_common.conf
Type: application/octet-stream
Size: 1387 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130819/8c83ba9d/attachment-0001.obj>


More information about the drbd-user mailing list