AIX, Networking Etherchannel failover testing

When an Etherchannel has been configured on AIX, using a primary and a backup adapter for failover purposes, it is possible to force a failover between these adapters.

To do this, first check what the currently active adapter is within the Etherchannel. For example, if the Etherchannel is called ent4, run:

# entstat -d ent4 | grep "Active channel"
Active channel: backup adapter

As you can see, the Etherchannel is currently active on the backup adapter. To see the defined adapters for both primary and backup, run:

# lsattr -El ent4

Now, force it to fail over to the primary adapter:

# /usr/lib/methods/ethchan_config -f ent4

Please note that it is best to run this command from the console, as you may temporarily lose network connectivity when the Etherhannel is failing over. You may also notice messages being logged in the error report by running the errpt command in the form of "ETHERCHANNEL FAILOVER".

Now run the entstat command again to determine the active channel:

# entstat -d ent4 | grep "Active channel"
Active channel: primary channel
5 (1)
Article Rating (1 Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Rootvg Mirroring in AIX
Viewed 2567 times since Mon, May 21, 2018
Problem on resizing volume group on AIX 0516-1714, 0516-792, 0516-787, and 0516-404
Viewed 2488 times since Fri, Jul 6, 2018
List AIX File Systems the Easy Way With the lsvgfs Command
Viewed 1922 times since Thu, Sep 20, 2018
AIX Encrypted File System
Viewed 5690 times since Tue, Jul 17, 2018
How To Mirror Your Root Disk On AIX (a.k.a. rootvg)
Viewed 5178 times since Mon, May 21, 2018
How to Easily Generate AIX Systems Management Reports
Viewed 2875 times since Wed, May 30, 2018
To do a quick check on the number of path present (does not mean all are Enabled] using for loop
Viewed 3704 times since Fri, Jun 8, 2018
AIX: Script to check if all paths are consistent and available
Viewed 3074 times since Tue, Jun 12, 2018
List of 10 Must Know Oracle Database Parameters for Database Administrator
Viewed 123360 times since Thu, Jun 21, 2018
AIX Creating a Volume Group
Viewed 2411 times since Tue, Jul 17, 2018