Monday, 26 March 2012

Etherchannel with SEA

Configuring your SEA with Etherchannel.
 First check the shared virtual ethernet adapters you have -

# lsmap -all -net
SVEA   Physloc
------ --------------------------------------------
ent3   U9117.MMB.101697P-V1-C2-T1

SEA                 NO SHARED ETHERNET ADAPTER FOUND



Then we need to check what adapters we can use, now in our case we will be using the first 2 adapters from a dual port 1Gb card -  

# lsdev -type adapter
name             status      description
ent0             Available   2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)
ent1             Available   2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)

  
Then we need to create the Etherchannel device -   

# mkvdev -lnagg ent0 ent1
ent2 Available



This creates the device in standard mode, though you can switch it over to round robin -

# chdev -l ent2 -a mode=round_robin  

Then we can create a SEA "bridge" between the physical Etherchannel device ent2 and the virtual ent3

 # mkvdev -sea ent2 -vadapter ent3 -default ent3 -defaultid  1
            main:  86 Recived SEA events bytes 163
ent9 Available

 
 Once that is done, you can set-up initial TCP/IP config (en9 is the interface for the SEA ent9)

# mktcpip -hostname <vio-name> -inetaddr <ip-address> -interface en9 -start -netmask <subnet> -gateway <gateway-ip>
  
Now your server ready to go.

No comments:

Post a Comment