[DRBD-user] DRBD Reconnect Issue

Kent Klesius klesiusk at chesapeakespice.com
Fri Jan 10 14:16:48 CET 2020


When I reboot a node is there a way to make the two nodes reconnect
automatically when the node comes back up, I have to manually run drbdadm
connect r0.

Version: 9.11.0 

 

Thanks for your help

 

 

 

 

global {

usage-count no;

}

resource r0 {

protocol C;

startup { wfc-timeout 0; degr-wfc-timeout 120; }

 

disk {

        on-io-error             detach;

        no-disk-flushes ;

        no-disk-barrier;

        c-plan-ahead 15;

        c-fill-target 1M;

        c-min-rate 80M;

        c-max-rate 800M;

}

net {

         #max-epoch-size       20000;

        max-buffers            40k;

        sndbuf-size            10M;

        rcvbuf-size            10M;

        cram-hmac-alg sha1;

        shared-secret "zzzzzaas";

}

on belcampdb1 {

device /dev/drbd0;

disk /dev/mapper/belcampdb1--vg-MYSQL;

address 10.0.10.100:7789;

meta-disk internal;

}

on belcampdb2 {

device /dev/drbd0;

disk /dev/mapper/belcampdb2--vg-MYSQL;

address 10.0.10.101:7789;

meta-disk internal;

}

}

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


More information about the drbd-user mailing list