About Us

RSInfoMinds, a web based IT Training and Consultancy firm. It is established with high dreams in training people in IT Infrastructure Field. We provide Online and Class Room training in various fields of IT Infrastructure Management.

Join Us: http://www.facebook.com/RSInfoMinds
Mail Us: rsinfominds@gmail.com
Twitter: @RSInfoMinds

We are specialized in the below courses:

Redhat Linux Admin Redhat Linux Cluster
Redhat Virutualization IBM AIX Admin
IBM AIX Virtualization IBM AIX Cluster
HP Unix Admin HP Unix Cluster
HP Unix Virtualization Shell Scripting
Veritas Volume Manager Veritas Cluster
Oracle Core DBA VMWare


We provide training in such a way, So that you get in depth knowledge on the Courses you look for.

And we ensure you are very confident from each and every Techincal aspect that the IT Industry needs and expects from you.

We also conduct Workshops on the latest technology and the real time faculties sharing their work experiences to make you the best.

Wednesday, 7 December 2011

Link Aggregation on a Single VIOS


The below document explains the need and the process involved in link aggregation. Link aggregation is also called as "Ethernet Bonding". Which ensure continous availability of network service to avoid any failures in the networking service.

The above illustration shows link aggregation by using 3 physical ethernet adapters namely ent0, ent1 and ent2. Link aggregation is made upof primary and secondary adapters.

In this example, the primary adapter is formed my aggregating ent0 and ent1 from the ethernet switch on the left hand side. Another adapter ent2 act as a secondary adapter which is connected to the ethernet switch on the right hand side, to tolerate the failover of the switch on the left hand side.

Configuration:

1) Login into VIOS.

2) $ lsdev -type adapter
name status description
ent0 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent1 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent2 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890

3) Ensure all the attributes of the physical adapters that form the link aggregation must be the same.

# lsdev -dev ent* -attr : Command to view the attributes of an adapter.
# chdev -dev ent* -attr attribute=value : Command to change the attribute of an adapter.

4) Forming Link Aggregation:

$ mkvdev -lnagg ent0,ent1 -attr backup_adapter=ent2
ent3 Available
en3
et3

5) Verify the newly created Link Aggregation.
 ent3 Available EtherChannel / IEEE 802.3ad Link Aggregation

6) View the attributes of the Link Aggregation.

$ lsdev -dev ent3 -attr
attribute value description user_settable
adapter_names ent0,ent1 EtherChannel Adapters True
alt_addr 0x000000000000 Alternate EtherChannel Address True
auto_recovery yes Enable automatic recovery after failover True
backup_adapter ent2 Adapter used when whole channel fails True
hash_mode default Determines how outgoing adapter is chosen True
mode standard EtherChannel mode of operation True
netaddr 0 Address to ping True
noloss_failover yes Enable lossless failover after ping failure True
num_retries 3 Times to retry ping before failing True
retry_time 1 Wait time (in seconds) between pings True
use_alt_addr no Enable Alternate EtherChannel Address True
use_jumbo_frame yes Enable Gigabit Ethernet Jumbo Frames True

$ lsdev -type adapter
name status description
ent0 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent1 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent2 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890

7) Using HMC, create a new virtual ethernet adapter. Ensure the "Access External Network" flag is checked.

$ lsdev -type adapter
name status description
ent0 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent1 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent2 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent3 Available EtherChannel / IEEE 802.3ad Link Aggregation
ent4 Available Virtual I/O Ethernet Adapter (l-lan)

8) Configure Shared Ethernet Adapter using the newly created Link Aggregation (ent3) and Virtual Ethernet Adapter (ent4).

$ mkvdev -sea ent3 -vadapter ent4 -default ent4 -defaultid 2
ent5 Available
en5
et5

9) Verify the Shared Ethernet Adapter.

$ lsdev -type adapter
name status description
ent0 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent1 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent2 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (1410890
ent3 Available EtherChannel / IEEE 802.3ad Link Aggregation
ent4 Available Virtual I/O Ethernet Adapter (l-lan)
ent5 Available Shared Ethernet Adapter

10) Assign IP over the SEA ent5.

$ mktcpip -hostname <machine name> -interface en5 -inetaddr 10.0.01 -netmask 255.0.0.0

No comments:

Post a Comment