[DRBD-user] Down sync

Juan Sevilla juan.sevilla.11 at gmail.com
Thu Jul 23 09:19:14 CEST 2020


Hi,

My configuration is this:

A) Node drbd01: primary all

B) Node drbd02: primary all

C) Node drbd03: secondary all, diskless, for quorum proposal.

Initially all run correctly, but after various hours the sync between drbd
nodes is lost, in spite of the connections (ping) on the networks is ok.

Some times, the witness (node drbd03) appears "connecting" to drbd01,
another times is the node drbd02, etc. My OS is RHEL 7, and firewalld is
stopped and disabled, also SELinux is disabled...

What could be happening?


[root at drbd01 drbd.d]# uname -a
> Linux drbd01 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020
> x86_64 x86_64 x86_64 GNU/Linux
> [root at drbd01 drbd.d]#
> [root at drbd01 drbd.d]# cat global_common.conf
> global {
>         usage-count no;
>         udev-always-use-vnr;
> }
> common {
>         handlers {
>         }
>         startup {
>         }
>         options {
>          quorum majority;
> #         on-no-quorum io-error;
> #         quorum-minimum-redundancy 1;
>         }
>         disk {
>         }
>         net {
>           verify-alg crc32c;
>         }
> }
> [root at drbd01 drbd.d]# cat *.res |more
> resource DATA01 {
>         volume 1 {
>         disk /dev/sdf;
>         device /dev/drbd4;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7791;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7791;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7791;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
>
> resource DATA02 {
>         volume 1 {
>         disk /dev/sdg;
>         device /dev/drbd5;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7792;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7792;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7792;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
>
> resource DATA03 {
>         volume 1 {
>         disk /dev/sdh;
>         device /dev/drbd6;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7793;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7793;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7793;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
>
> resource GIMR01 {
>         volume 1 {
>         disk /dev/sde;
>         device /dev/drbd3;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7790;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7790;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7790;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
> resource MIGRA01 {
>         volume 1 {
>         disk /dev/sdi;
>         device /dev/drbd7;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7794;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7794;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7794;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
>
> resource MIGRA02 {
>         volume 1 {
>         disk /dev/sdj;
>         device /dev/drbd8;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7795;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7795;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7795;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
>
> resource MIGRA03 {
>         volume 1 {
>         disk /dev/sdk;
>         device /dev/drbd9;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7796;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7796;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7796;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
>
> resource MIGRA04 {
>         volume 1 {
>         disk /dev/sdl;
>         device /dev/drbd10;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7797;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7797;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7797;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
>
> resource OCR01 {
>         volume 1 {
>         disk /dev/sdb;
>         device /dev/drbd0;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7787;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7787;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7787;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
> resource OCR02 {
>         volume 1 {
>         disk /dev/sdc;
>         device /dev/drbd1;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7788;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7788;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7788;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
>
> resource OCR03 {
>         volume 1 {
>         disk /dev/sdd;
>         device /dev/drbd2;
>         meta-disk internal;
>         }
>         on drbd01 {
>                 address 10.10.10.1:7789;
>                 node-id 0;
>         }
>         on drbd02 {
>                 address 10.10.10.2:7789;
>                 node-id 1;
>         }
>         on drbd03 {
>                 address 10.10.10.3:7789;
>                 node-id 2;
>                 volume 1 {
>                 disk none;
>                 }
>
>
>         }
>         connection-mesh {
>                 hosts drbd01 drbd02 drbd03;
>                 net {
>                         protocol C;
>                         allow-two-primaries yes;
>                 }
>         }
>
> }
>


Best regards.
Juan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20200723/dd676268/attachment-0001.htm>


More information about the drbd-user mailing list