LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Bonding module in xor and rr mode

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Bonding module in xor and rr mode
From: "Guillaume LECCESE" <Guillaume.LECCESE@xxxxxxxxxxx>
Date: Fri, 30 Jan 2009 13:13:21 +0100
Bonjour,

Thank you for your answer !

Guillaume

-----Message d'origine-----
De : lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] De la part de Siim Põder
Envoyé : mardi 27 janvier 2009 09:05
À : LinuxVirtualServer.org users mailing list.
Objet : Re: [lvs-users] Bonding module in xor and rr mode

Hi

Guillaume LECCESE wrote:
> So, how set different parameters for each instance ?

max_bonds=n loads n bonds with the parameters specified. the way to do
this, is remove max_bonds=2. Note that you may have to use -o bond0 and
-o bond1 to rename the loaded module (in order to load it multiple times).

Another, likely to be better approach is to use this to create new bond:

echo +bond1 > /sys/class/net/bonding_masters

followed by:

echo 2 > /sys/class/net/bond1/bonding/mode

It's all in bonding documentation, see here for example:
http://www.mjmwired.net/kernel/Documentation/networking/bonding.txt

Siim

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>