Art Hebert art@arzoon.com writes:
2 F760 filers clustered together, onboard ethernet (e0), 10/100 nic (e6) Cisco 6509 switch trunked together
I'm trying to get the e0 and e6 ports to work failover for each other and ideally load balance to get better performance.
A multi-mode vif will, when attached to a switch or set of interfaces on another host capable of trunking, balance network load across its constituent links. Most switches distribute the load across the links by hashing an incoming packet's source and destination address. Thus, if incoming packets share the same source and destination address, they will flow over the same link. This may be what is biting you here.
Of course, you need to configure the switch to tell it that the switch ports you connected to the filer's e0 and e6 ports comprise a trunk (or, to use Cisco terminology, an EtherChannel). If you don't do this, traffic will also flow over only one link.
I've been able to get the virtual interface running and fail the cluster and everything is fine but I can't get it to load balance (I even tried 4 clients hitting it copying 500mb files) and it seems to always want to use e0, even if I do a "vif favor e6"
"vif favor" is for use with single mode vifs only. I don't think this is your problem, but you don't need (and shouldn't use) "vif favor" in this configuration.
Here is my rc lines:
ifconfig e6 mediatype 100tx-fd ifconfig e0 mediatype 100tx-fd vif create multi vif01 e6 e0 vif favor e6 ifconfig vif01 `hostname`-e6 mediatype 100tx-fd partner vif01
^^^^^
When specifying the partner of a vif, use the IP address of the partner interface, not the interface name.
Does it matter what order the e6 and e0 commands come in, seems that it affects how vif stat reports?
Order shouldn't matter, save for statistics output.
Can I even use e0 and e6 together or should I have another card? its on the 32 bit bus and performance is half of e6.
The vif logic doesn't care. Whether the performance will be acceptable is your call.
Sam
Hi,
I think what Sam Cramer said about switch might be considered :
A multi-mode vif will, when attached to a switch or set of interfaces on another host capable of trunking, balance network load across its constituent links. Most switches distribute the load across the links by hashing an incoming packet's source and destination address. Thus, if incoming packets share the same source and destination address, they will flow over the same link. This may be what is biting you here.
Try to get an expert from the Cisco support to help you in knowing how to configure your Cisco 6509 switch, and the way you could make some tries to see if it works.
Also , I wonder if you do not bad in using identical names for your devices (vif01 in both Filer). Also (again), try to use ifconfig only to set up the IP adress. Instead of : > ifconfig e6 mediatype 100tx-fd > ifconfig e0 mediatype 100tx-fd > vif create multi vif01 e6 e0 > ifconfig vif01 `hostname`-e6 mediatype 100tx-fd partner vif01 you could try : > ifconfig e6 mediatype 100tx-fd > ifconfig e0 mediatype 100tx-fd > vif create multi vif01 e6 e0 > ifconfig vif01 `hostname`-e6 partner vif02
At the end (not also), I noted in you sysconfig -v output that one of two interface was down. So to be sure you right use single or multi here is : - failover purpose : ifconfig e1... ifconfig e2... vif create single vifa e1 e2 vif favor e1 ifconfig vifa... - loadbalancing purpose : ifconfig e1... ifconfig e2... vif create multi vifa e1 e2 # no favor expected ifconfig vifa...
Thank you to let us know how it works.