[DRBD-user] DRBD and haresources

Michael Turner michael_turner at web.de
Mon May 4 13:35:18 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.


Server1 is primary, Server2 secondary.

I reboot Server1.
Server2 becomes primary/unknown.
After Server1 is up again, Server1 has state secondary/unknown, Server2 has state primary/unknown.

What configuration do I have to change, that Server1 gets automatically status primary/secondary, after coming up again?

drbd.conf

resource drbd-resource-0 {

        protocol C;

handlers {
       pri-on-incon-degr "halt -f";
}
        disk {
                on-io-error detach;
        }

net {
after-sb-0pri discard-least-changes;
      }

syncer {
        rate 10M;
}

on Server1 {
        device /dev/drbd0;
        disk /dev/md4;
        address 10.0.0.214:7789;
        flexible-meta-disk internal;
}

on Server2 {
        device /dev/drbd0;
        disk /dev/md4;
        address 10.0.0.215:7789;
        meta-disk internal;
}
}

__________________________________________________________________________
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele 
ausländische Netze zum gleichen Preis! 
https://produkte.web.de/webde_sms/sms






More information about the drbd-user mailing list