Sponsored Content
Operating Systems AIX Configure VIOS SEA w. load sharing Post 302681263 by bakunin on Friday 3rd of August 2012 05:10:48 AM
Old 08-03-2012
SEA with Load-sharing How-To

OK, as promised, here is the How-To. First off, it was basically an occurrence of PEBKAC on my side, but once i straightened this out it worked fairly straightforward. You might want to read the following documents for reference:

How to Setup SEA Failover on DUAL VIO servers

Shared Ethernet Adapter (SEA) Failover with Load Balancing

Tips for implementing PowerHA in a virtual I/O environment


1. Build EtherChannel
=============

Code:
# lsdev -type adapter | grep '10 Gigabit Ethernet Adapter'
ent7             Available   10 Gigabit Ethernet Adapter (ct3)
ent8             Available   10 Gigabit Ethernet Adapter (ct3)

# chdev -dev ent7 -attr flow_ctrl=yes large_receive=yes large_send=yes
ent7 changed
# chdev -dev ent8 -attr flow_ctrl=yes large_receive=yes large_send=yes
ent8 changed

# mkvdev -lnagg ent7,ent8 -attr mode=8023ad hash_mode=src_dst_port
ent9 Available
en9
et9



2. Build SEA on the EtherCannel Device
========================

This is the critical part, where i failed before: for every external VLAN there has to be a distinct internal VLAN to match. We have 5 external VLANS here and for every VLAN there is one virtual adapter defined. The adapters are created with a priority of 1 on the "primary" VIOS and 2 on the "secondary" VIOS, every other property stays identical. The control channel has only an internal VLAN (ID=99) because it is only internally used.

Code:
# lsdev -slots | grep ent
U9119.FHB.841DC07-V1-C2      Virtual I/O Slot  ent0
U9119.FHB.841DC07-V1-C3      Virtual I/O Slot  ent1
U9119.FHB.841DC07-V1-C4      Virtual I/O Slot  ent2
U9119.FHB.841DC07-V1-C5      Virtual I/O Slot  ent3
U9119.FHB.841DC07-V1-C6      Virtual I/O Slot  ent4
U9119.FHB.841DC07-V1-C7      Virtual I/O Slot  ent5
U9119.FHB.841DC07-V1-C8      Virtual I/O Slot  ent6

# for i in ent0 ent1 ent2 ent3 ent4 ent5 ent6 ; do
     echo $i ; entstat -all $i | grep -E 'Port VLAN ID|VLAN Tag IDs'
done

ent0
Port VLAN ID:     1
VLAN Tag IDs:   <first external VLAN-ID>
ent1
Port VLAN ID:     2
VLAN Tag IDs:   <second external VLAN-ID>
ent2
Port VLAN ID:     3
VLAN Tag IDs:   <third external VLAN-ID>
ent3
Port VLAN ID:     4
VLAN Tag IDs:   <fourth external VLAN-ID>
ent4
Port VLAN ID:     5
VLAN Tag IDs:   <fifth external VLAN-ID>
ent5
Port VLAN ID:    99
VLAN Tag IDs:  None
ent6
Port VLAN ID:   <external VLAN-ID>
VLAN Tag IDs:  None

# mkvdev -sea ent9 -vadapter ent0,ent1,ent2,ent3,ent4 \
         -default ent0 -defaultid 1 \
         -attr ha_mode=sharing accounting=enabled largesend=1 \
                large_receive=yes ctl_chan=ent5
ent10 Available
en10
et10

Note that "load balancing" is not done, at least not in the classical way. In fact this setup serves the first (third, fifth, ...) VLAN over the first route (first SEA) and the second (fourth, sixth, ...) over the second. It is advisable, therefore, to sort the VLANs based on expected traffic prior to defining the adapters to balance the load as good as possible.


I hope this helps.

bakunin

Last edited by bakunin; 08-03-2012 at 09:00 AM..
These 2 Users Gave Thanks to bakunin For This Post:
 

9 More Discussions You Might Find Interesting

1. IP Networking

sharing of IP address for load sharing avoiding virtual server & redirection machine

I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers. Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies

2. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

3. AIX

VIOS SEA on LHEA doesn't work

I am trying to create a SEA on a LHEA port and it gives me error lsdev -Cc adapter: ent0 logical host ethernet port (l-hea) ent1 virtual I/O ethernet adapter mkvdev -sea ent0 -vadapter ent1 -default ent1 -defaultid 199 method error (/usr/lib/methods/cfgsea): Failed to configure SEA... (0 Replies)
Discussion started by: filosophizer
0 Replies

4. AIX

VIOS SEA Creation

Hi Guys, I'm getting the below error while trying to create a SEA adapter in VIOS $ mkvdev -sea ent0 -vadapter ent2 -default ent2 -defaultid 1 ... (4 Replies)
Discussion started by: kkeng808
4 Replies

5. AIX

How to set 4 SEA on single VIOS

Hi experts, i got a 4-port Adapter card on VIOS and would like to configure 4SEA for 4 difference segment IP client's LPAR use, first SEA succeed to be configured on ent0 but once second SEA configured, first SEA fail to be connected. Any issues i need to be concerned in order to configure 4 SEA on... (8 Replies)
Discussion started by: polar
8 Replies

6. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

7. AIX

How to configure iSCSI TOE w/ load balancing?

Sorry guys but let me start off by saying I am an AIX noob! I am running AIX 6.1 and recently purchased two iSCSI TOE cards. The plan is to connect these two cards to a Dell EqualLogic SAN and that has two volumes configured for logs and data. The point of the two cards is to do load balancing... (21 Replies)
Discussion started by: cbrinker
21 Replies

8. Shell Programming and Scripting

Checking running process status using "grep" on multiple servers in load sharing system.

Suppose i have 3 different servers say x,y and z. Im running some process say ABC and 40 instances for the same is being created. In load sharing suppose on server x, 20 instances are running server y, 10 instances are running server z, 10 instances are running. While checking the... (1 Reply)
Discussion started by: ankitknit
1 Replies

9. AIX

VIOS entstat versus seastat for SEA

Hello, I found that the packet counts given by entstat -d SEA is not the same as the total of the packet counts given by seastat -d SEA for the same interval of time. Do anyone have an explanation for the difference. We recently got a recommendation that the throughput on an SEA should not... (5 Replies)
Discussion started by: N8R
5 Replies
All times are GMT -4. The time now is 08:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy