[DRBD-user] DRBD is not syncing over my routed network.

Gary.Webb at opengi.co.uk Gary.Webb at opengi.co.uk
Tue Sep 8 17:52:37 CEST 2009

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


Hi.      I am having a problem whilst carrying out some preliminary
testing of DRBD with OpenAIS.  My test setup was all working fine. I
have now introduced it to a simulated wide area network by changing the
subnet on each system, modifying the config files accordingly, adding
the relevant routes and gateway, and using an established Linux box that
we use for throttling bandwidth for such testing. The network config is
sound as I can ping to and from each node through the router system. I
also have full key authentication setup between them. Nothing else has
changed.

 

Now, the DRBD nodes are failing to sync. I am getting no obvious errors.
If I watch the /proc/drbd file, it goes through the motion of syncing,
and the progress bar briefly is seen. It then flips back.

 

Below is a typical output of cat /proc/drbd ran one after the other. It
just goes on and on like this, and never actually syncs. 

 

Any ideas?  I have pasted the relevant parts of my config files further
below.

 

Thanks

 

Gary

------

 

grw-mls:~ # cat /proc/drbd

version: 8.2.7 (api:88/proto:86-88)

GIT-hash: a1b440e8b3011a1318d8bff1bb7edc763ef995b0 build by lmb at hermes,
2009-02-20 13:35:59

 0: cs:SyncSource st:Primary/Secondary ds:UpToDate/Inconsistent C r---

    ns:5470204 nr:0 dw:14728 dr:5600468 al:46 bm:11 lo:0 pe:7 ua:7 ap:0
ep:1 wo:b oos:71732848

        [>....................] sync'ed:  0.1% (70048/70052)M

        finish: 16:36:17 speed: 944 (944) K/sec

 

grw-mls:~ # cat /proc/drbd

version: 8.2.7 (api:88/proto:86-88)

GIT-hash: a1b440e8b3011a1318d8bff1bb7edc763ef995b0 build by lmb at hermes,
2009-02-20 13:35:59

 0: cs:WFBitMapS st:Primary/Secondary ds:UpToDate/Inconsistent C r---

    ns:5474152 nr:0 dw:14768 dr:5604216 al:46 bm:12 lo:0 pe:0 ua:0 ap:0
ep:1 wo:b oos:71733792

 

grw-mls:~ # cat /proc/drbd

version: 8.2.7 (api:88/proto:86-88)

GIT-hash: a1b440e8b3011a1318d8bff1bb7edc763ef995b0 build by lmb at hermes,
2009-02-20 13:35:59

 0: cs:SyncSource st:Primary/Secondary ds:UpToDate/Inconsistent C r---

    ns:5477360 nr:0 dw:14792 dr:5607960 al:46 bm:12 lo:0 pe:4 ua:5 ap:0
ep:1 wo:b oos:71733216

        [>....................] sync'ed:  0.1% (70048/70052)M

       finish: 24:54:26 speed: 576 (576) K/sec

 

 

 

/etc/drbd.conf file:  (same on both nodes)

 

global {

  dialog-refresh       1;

  minor-count  5;

}

common {

  syncer { rate 10M; }

}

resource cluster_disk {

  protocol     C;

  disk {

     on-io-error       pass_on;

  }

  syncer {

  }

  net {

     after-sb-1pri discard-secondary;

  }

startup {

     wait-after-sb;

}

  on grw-mls {

     device    /dev/drbd0;

     address   2.17.1.3:7889;

     meta-disk internal;

     disk      /dev/sda3;

  }

  on Cluster2 {

     device    /dev/drbd0;

     address   10.0.0.254:7889;

     meta-disk internal;

     disk      /dev/sda3;

  }

}

 

 

/etc/ais/openais.conf file on grw-mls:

 

[snip]

        interface {

                ringnumber: 0

 

                # The following values need to be set based on your
environment

                bindnetaddr: 2.0.0.0

                mcastaddr: 226.94.94.94

                mcastport: 2602

        }

[snip]

 

 

 

/etc/ais/openais.conf file on Cluster2:

 

[snip]

        interface {

                ringnumber: 0

 

                # The following values need to be set based on your
environment

                bindnetaddr: 10.0.0.0

                mcastaddr: 226.94.94.94

                mcastport: 2602

        }

[snip]

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090908/534c61fa/attachment.htm>


More information about the drbd-user mailing list