[DRBD-user] No resync after network downtime

Fajar Priyanto fajarpri at cbn.net.id
Tue Aug 12 06:55:32 CEST 2008

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Henri Cook wrote:
> Hi guys,
> 
> I have a pair of machines running a DRBD shared disk, I also have
> Heartbeat 2 installed - unfortunately there's no documented example of
> using hb_gui to setup a pair like this so i'm largely winging it and
> trying to avoid learning massively complicated heartbeat2/cib XML syntax!!
> 
> My issue is this:
> 
> The pair is primary-primary, i'm simulating network downtime by pulling
> out the crossover cable currently connected them and watching the response.
> i.e. they don't reconnect and resync
> 
> Am i doing something wrong? Should DRBD do this automatically or should
> i be adding something to Heartbeat to deal with it??

>    # The node is currently primary, but lost the after split brain
>    # auto recovery procedure. As as consequence it should go away.
>    # Action: Notify administrators, reboot the system
>    pri-lost-after-sb "/usr/local/bin/admin-notify 'DRBD: A split brain
> situation occured. This node lost. Rebooted' ;
> /usr/local/sbin/reboot-sane";

Hi Henri,
I setup primary/secondary drbd with heartbeat v2.
With hb_gui, the setup goes like this:
Create native resource:
  Resource ID: r_drbddisk0
        Type: drbddisk
        Parameter:   Name: disk0, Value: r0
        Belong to Group: g_drbd0

That's all it needs. Adjust the parameter to your setup.

I'm still hesitate on primary/primary drbd setup. Isn't it dangerous? I
mean in the context of split-brain and data integrity?

- --
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
13:10:54 up 5:02, 2.6.24-18-generic GNU/Linux
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoRfE8TneBL/L6RoRAg0WAJ0VP/ZxT3XIl+OZ4JrgCc5MRJL84ACfY0en
u/HFcwOlPr5O7Ti5x06pcBU=
=87/Q
-----END PGP SIGNATURE-----



More information about the drbd-user mailing list