[DRBD-user] Directly connected GigE ports bonded together no switch
Andreas Kurz
andreas.kurz at linbit.com
Tue Aug 9 17:03:19 CEST 2011
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
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110809/6099b785/attachment.pgp>
More information about the drbd-user
mailing list