Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Bond mode for 2 node direct link

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


volker.poplawski at atrics

Jul 16, 2012, 2:53 AM

Post #1 of 7 (318 views)
Permalink
Bond mode for 2 node direct link

Hello everyone.

Could you please tell me the recommended mode for a bonded network
interface, which is used as the direct link in a two machine cluster?

There are 'balance-rr', 'active-backup', 'balance-xor' etc
Which one to choose for maximum fault tolerance?

I'm using corosync as cluster communication layer - if that matters


Regards
....Volker

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


misch at schwartzkopff

Jul 16, 2012, 4:40 AM

Post #2 of 7 (305 views)
Permalink
Re: Bond mode for 2 node direct link [In reply to]

> Hello everyone.
>
> Could you please tell me the recommended mode for a bonded network
> interface, which is used as the direct link in a two machine cluster?
>
> There are 'balance-rr', 'active-backup', 'balance-xor' etc
> Which one to choose for maximum fault tolerance?
>
> I'm using corosync as cluster communication layer - if that matters
>
>
> Regards
> ....Volker

balance-rr

But be sure that the host discovers a link failure correct.

--
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
Fax: (089) 620 304 13
Attachments: signature.asc (0.19 KB)


volker.poplawski at atrics

Jul 16, 2012, 5:23 AM

Post #3 of 7 (305 views)
Permalink
Re: Bond mode for 2 node direct link [In reply to]

On 16.07.2012 13:40, Michael Schwartzkopff wrote:
>> Hello everyone.
>>
>> Could you please tell me the recommended mode for a bonded network
>> interface, which is used as the direct link in a two machine cluster?
>>
>> There are 'balance-rr', 'active-backup', 'balance-xor' etc
>> Which one to choose for maximum fault tolerance?
>>
>> I'm using corosync as cluster communication layer - if that matters
>>
>>
>> Regards
>> ....Volker
>
> balance-rr

Thanks for the reply, Michael.

>
> But be sure that the host discovers a link failure correct.

Isn't link failure detected by the device driver or the bonding layer?
At least I get messages in dmsg about loss of link on the enslaved devices.
I there more to do or to check?


Regards
.....Volker
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


helmut.wollmersdorfer at fixpunkt

Jul 17, 2012, 1:03 AM

Post #4 of 7 (302 views)
Permalink
Re: Bond mode for 2 node direct link [In reply to]

Am 16.07.2012 um 14:23 schrieb Volker Poplawski:

> On 16.07.2012 13:40, Michael Schwartzkopff wrote:
>>
>>
>> balance-rr
>
> Thanks for the reply, Michael.
>
>>
>> But be sure that the host discovers a link failure correct.
>
> Isn't link failure detected by the device driver or the bonding layer?
> At least I get messages in dmsg about loss of link on the enslaved
> devices.
> I there more to do or to check?

You maybe want to monitor also:

- packet loss of the bond
- all bonded interfaces up
- all bonded interfaces working at full speed

Helmut Wollmersdorfer









_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


misch at clusterbau

Jul 17, 2012, 2:06 AM

Post #5 of 7 (302 views)
Permalink
Re: Bond mode for 2 node direct link [In reply to]

> Am 16.07.2012 um 14:23 schrieb Volker Poplawski:
> > On 16.07.2012 13:40, Michael Schwartzkopff wrote:
> >> balance-rr
> >
> > Thanks for the reply, Michael.
> >
> >> But be sure that the host discovers a link failure correct.
> >
> > Isn't link failure detected by the device driver or the bonding layer?
> > At least I get messages in dmsg about loss of link on the enslaved
> > devices.
> > I there more to do or to check?
>
> You maybe want to monitor also:
>
> - packet loss of the bond
> - all bonded interfaces up
> - all bonded interfaces working at full speed

SNMP can do!

--
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
Attachments: signature.asc (0.19 KB)


lmb at suse

Jul 17, 2012, 2:51 AM

Post #6 of 7 (298 views)
Permalink
Re: Bond mode for 2 node direct link [In reply to]

On 2012-07-16T11:53:55, Volker Poplawski <volker.poplawski [at] atrics> wrote:

> Hello everyone.
>
> Could you please tell me the recommended mode for a bonded network
> interface, which is used as the direct link in a two machine cluster?
>
> There are 'balance-rr', 'active-backup', 'balance-xor' etc
> Which one to choose for maximum fault tolerance?

Maximum fault tolerance would be "broadcast" (3).


Regards,
Lars

--
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


volker.poplawski at atrics

Jul 17, 2012, 7:47 AM

Post #7 of 7 (297 views)
Permalink
Re: Bond mode for 2 node direct link [In reply to]

On 16.07.2012 11:53, Volker Poplawski wrote:
> Hello everyone.
>
> Could you please tell me the recommended mode for a bonded network
> interface, which is used as the direct link in a two machine cluster?
>
> There are 'balance-rr', 'active-backup', 'balance-xor' etc
> Which one to choose for maximum fault tolerance?
>
> I'm using corosync as cluster communication layer - if that matters
>
>
> Regards
> ....Volker
>


Hi everyone,

I have done some tests by now on my two node cluster with different bond
modes. I have two NICs on each node for direct connection and no
switches in between.

It turned out that in 'active-backup' mode the assignment of the NICs to
each other does matter. I.e. if the wrong NICs are connected the bond
link does not work.

That problem does not occur with 'balance-rr' and 'broadcast'. I'm going
with balance-rr. In this mode I was even able to swap the two
networkcables without corosync and a running drbd sync getting interrupted.


Greetings
.....Volker


_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.