On 2011-08-09 16:46, Herman wrote:
> Sorry if this is covered elsewhere.
> 
> I know the Linux Bonding FAQ is supposed to talk about this, but I
> didn't see anything specific in it on what parameters to use.
> 
> Basically, I want to bond two GigE ports between two servers which are
> connected with straight cables with no switch and use them for DRBD.
> 
> I tried the various bonding modes with "miimon=100", but none of them
> worked. Say the eth1 ports on both servers were cabled together, and the
> same for eth5.  Then,  I could create the bond with eth1 and eth5. 
> However, if I downed one of the ports on one server, say eth1, it would
> failover on that server to eth5, but the other server would not
> failover  to eth5.
> 
> Eventually, I decided to use "arp_interval=100" and "arp_ip_target=<ip
> of other bonded pair>"  instead of "miimon=100".  This seems to work as
> I expected, with the bond properly failing over.
> 
> Is this the right way to do this kind of bonding?
> 
> Also, right now I'm using "mode=active-backup".  Would one of the other
> modes allow higher throughput and still allow automatic failover and
> transparency to DRBD?

use balance-rr and e.g. miimon=100, that should do fine

Regards,
Andreas

> 
> Thanks,
> Herman
> 
> 
> 
> _______________________________________________
> drbd-user mailing list
> [email protected]
> http://lists.linbit.com/mailman/listinfo/drbd-user


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to