[DRBD-user] Suggestions for drbd 0.8 configuration

George H george.dma at gmail.com
Fri Apr 4 17:44:42 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.


Go to this site and check out the drbd.conf file. The setup is for
DRBD + UCARP instead of heartbeat but I Guess the drbd part is good
enough.

http://gentoo-wiki.com/HOWTO_Setup_2_Node_Active_Passive_Cluster_With_DRBD_UCARP

On 4/4/08, Achim Stumpf <hakim.news at googlemail.com> wrote:
> >
> > > Depends what your drbd setup is and what you want to happen when a
> > > node fails.
> > >
> >
>
>  I got a simple Heartbeat/drbd setup with apache and mysql on the drbd
> device. The heartbeat configuration works quite well. It is a active/passive
> setup as you can see of drbd.conf.
>
>  ok
>
>  for example:
>
>  pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f";
>
>  Does my server halt in such a case ("halt -f"). Actually I don't want that
> really, because then we got on our monitoring software an alarm for a dead
> server. I would reboot the machine, but only if it is not possible to
> shutdown drbd otherwise.
>
>  the manual says:
>
>  In case a node starts up in degraded mode (degr-wfc-timeout is set) and its
> local replica of the data is inconsistent, it executes the command. If the
> command exits without error, drbddisk  expects  the  DRBD device to be in
> primary state.
>
>  If the node starts up i degraded mode, why should I turn it completely off?
> It would not get primary at all.
>
>  Doesn't anyone have a similar setup and provide me with a more proofed
> example setup?
>
>
>
>  Achim
>  _______________________________________________
>  drbd-user mailing list
>  drbd-user at lists.linbit.com
>  http://lists.linbit.com/mailman/listinfo/drbd-user
>



More information about the drbd-user mailing list