I use bonded interfaces to gain both performance and high availability.
They are bonded using the the standard ifenslave tool, and vblade is
given the bonded interface as an argument.

torbjorn@storage01:~$ cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 200

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:bc:75:78

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:bc:75:79

Slave Interface: eth4
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:bc:75:7a

Slave Interface: eth5
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:bc:75:7b

torbjorn@storage01:~$ /sbin/ifconfig bond0
bond0     Link encap:Ethernet  HWaddr 00:15:17:bc:75:78
          inet addr:192.168.51.101  Bcast:192.168.51.255  Mask:255.255.255.0
          inet6 addr: fe80::215:17ff:febc:7578/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:9000  Metric:1
          RX packets:5202607046 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4708718223 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:14232969909992 (12.9 TiB)  TX bytes:5319127005580 (4.8 TiB)

torbjorn@storage01:~$ /sbin/ifconfig | grep ^eth[2345] -A 5
eth2      Link encap:Ethernet  HWaddr 00:15:17:bc:75:78
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:1653636113 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1177188864 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4537176921780 (4.1 TiB)  TX bytes:1329783935402 (1.2 TiB)
--
eth3      Link encap:Ethernet  HWaddr 00:15:17:bc:75:78
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:125220313 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1177189418 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7513221780 (6.9 GiB)  TX bytes:1329658846002 (1.2 TiB)
--
eth4      Link encap:Ethernet  HWaddr 00:15:17:bc:75:78
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:125826641 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1177188746 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7549598460 (7.0 GiB)  TX bytes:1329800860964 (1.2 TiB)
--
eth5      Link encap:Ethernet  HWaddr 00:15:17:bc:75:78
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:3297962070 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1177189269 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9680870058968 (8.8 TiB)  TX bytes:1329901758876 (1.2 TiB)


As we can see from the RX/TX stats, traffic isn't balanced 100%
between the interfaces,
and I'm not sure why that is. This setup works quite nicely for now, though.

On Tue, May 22, 2012 at 2:41 PM, Jesse Becker <becker...@mail.nih.gov> wrote:
> On Tue, May 22, 2012 at 12:37:23AM -0400, Charles Chou wrote:
>>Hi,
>>     How would you start vblade on the target side to use multiple
>>interfaces?
>
> I don't use vblade, but I did take a quick look at the source code
> (http://sourceforge.net/projects/aoetools/files/vblade/20/vblade-20.tgz/download).
> It looks like it only supports one interface.
>
> One of the other target implementations (kvblade, qaoed) may support
> multiple interfaces.
>
>>
>>Thanks,
>>Charles Chou
>>
>>On 5/17/2012 8:17 AM, Jesse Becker wrote:
>>> By default, the aoe drivers will allow aoe traffic on all interfaces
>>> that are detected.  This can be restricted either at module load time
>>> using the "aoe_iflist=...." option, or the "aoe-interfaces" command
>>> after the fact.
>>>
>>>
>>>
>>> On Thu, May 17, 2012 at 01:46:30PM -0400, Charles Chou wrote:
>>>> Hi,
>>>>    Yes I do see that. I just don't know how to find out what "all
>>>> available ports" are and how many, or if this is a configurable
>>>> parameter.
>>>>
>>>> Thanks,
>>>> Charles Chou
>>>> On 5/16/2012 11:01 PM, Roland Kletzing wrote:
>>>> The blog entry where this picture is from tells, that multiple ports
>>>> being used automatically:
>>>>
>>>> http://blog.millennia.it/a-comparison-of-aoe-to-fc-and-iscsi-protocols
>>>>
>>>>
>>>>
>>>>
>>>> From: Alexandre<mailto:a.chapel...@horoa.net>
>>>> Sent: Thursday, May 17, 2012 9:29 AM
>>>> To: Charles Chou<mailto:cc...@kimberlite.com>
>>>> Cc:
>>>> aoetools-discuss@lists.sourceforge.net<mailto:aoetools-discuss@lists.sourceforge.net>
>>>> Subject: Re: [Aoetools-discuss] AOE ports
>>>>
>>>> It depends on the AoE target implementation you're using.
>>>>
>>>> regards.
>>>>
>>>> 2012/5/17 Charles Chou
>>>> <cc...@kimberlite.com<mailto:cc...@kimberlite.com>>
>>>> Hi,
>>>>    In the diagram I found below it shows how a 64K IO is broken into
>>>> 8x8K blocks and transferred to the AOE target via 4 ports. Can someone
>>>> kindly show me how to configured the AOE to use multiple ports? Thanks!
>>>>
>>>> http://www.millennia.it/images/AoE_delivery.png
>>>>
>>>> Regards,
>>>> Charles Chou
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond.
>>>> Discussions
>>>> will include endpoint security, mobile security and the latest in
>>>> malware
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> _______________________________________________
>>>> Aoetools-discuss mailing list
>>>> Aoetools-discuss@lists.sourceforge.net<mailto:Aoetools-discuss@lists.sourceforge.net>
>>>>
>>>> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
>>>>
>>>>
>>>> ________________________________
>>>> ------------------------------------------------------------------------------
>>>>
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond.
>>>> Discussions
>>>> will include endpoint security, mobile security and the latest in
>>>> malware
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>>
>>>> ________________________________
>>>> _______________________________________________
>>>> Aoetools-discuss mailing list
>>>> Aoetools-discuss@lists.sourceforge.net<mailto:Aoetools-discuss@lists.sourceforge.net>
>>>>
>>>> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond.
>>>> Discussions
>>>> will include endpoint security, mobile security and the latest in
>>>> malware
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Aoetools-discuss mailing list
>>>> Aoetools-discuss@lists.sourceforge.net<mailto:Aoetools-discuss@lists.sourceforge.net>
>>>>
>>>> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
>>>>
>>>>
>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond.
>>>> Discussions
>>>> will include endpoint security, mobile security and the latest in
>>>> malware
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>
>>>> _______________________________________________
>>>> Aoetools-discuss mailing list
>>>> Aoetools-discuss@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
>>>
>>>
>>
>
> --
> Jesse Becker
> NHGRI Linux support (Digicon Contractor)
> Specialization is for insects. -- R.A.Heinlein
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Aoetools-discuss mailing list
> Aoetools-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss



-- 
Vennlig hilsen
Torbjørn Thorsen
Utvikler / driftstekniker

Trollweb Solutions AS
- Professional Magento Partner
www.trollweb.no

Telefon dagtid: +47 51215300
Telefon kveld/helg: For kunder med Serviceavtale

Besøksadresse: Luramyrveien 40, 4313 Sandnes
Postadresse: Maurholen 57, 4316 Sandnes

Husk at alle våre standard-vilkår alltid er gjeldende

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss

Reply via email to