[DRBD-user] drbd8 - multiple routes between nodes

sven.drbd-user at huster.me.uk sven.drbd-user at huster.me.uk
Mon Mar 31 14:57:18 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.


* Lars Ellenberg <lars.ellenberg at linbit.com> [2008-03-20 16:08:50 +0100]:

> On Thu, Mar 20, 2008 at 02:21:58PM +0000, Guy wrote:
> > Hi Leandro,
> > 
> > I'm running 2 nodes with a primary/secondary & secondary/primary
> > setup. So one primary partition per node under normal running
> > conditions. The partitions are mounted as nfs exports. If one node
> > goes down it's fairly easy to resync back and then switch back to a
> > primary partition per node once the downed node is returned. If one of
> > the nodes loses connection I land up with split brain. Normal fencing
> > rules seem to favour the old primary and outdate the secondary so it
> > can't switch to primary which isn't what I need. Since the servers
> > will have 3 interfaces (1 crossover, 1 internal network, 1 external
> > IP) it would have been a lot easier to keep drbd communicating if
> > multiple routes were possible.
> 
> you can use bonding.
> ok, does not exactly apply to your scenario.
> 
> you can temporarily re-configure drbd to use the alternative path.
> 
> to make drbd automatically chose an alternative network path is unlikely
> to happen in the near future.

Why not bind DRBD to an additional loopback address configured on each
node and then working with static routes on each node via multiple
interfaces? Obviously this description is a bit simplistic as well as doesn't
automatically deal with all/most failures but might be a starting point.

Cheers
Sven

> 
> If you wanted to, you could make your monitoring trigger actions on
> link failure (besides paging your operator), like re-configuring drbd.
> 
> 
> -- 
> : Lars Ellenberg                           http://www.linbit.com :
> : DRBD/HA support and consulting             sales at linbit.com :
> : LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
> : Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
> __
> please use the "List-Reply" function of your email client.
> _______________________________________________
> 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