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
Using AIX VG mirroring in combination with hardware snapshots
Viewed 5731 times since Sat, May 25, 2019
Using splitvg in AIX to make a copy of a volume group
Viewed 9452 times since Mon, Jun 3, 2019
Burn Image to DVD in AIX
Viewed 14082 times since Thu, Sep 20, 2018
What is OS Watcher Utility and How to use it for Database Troubleshooting ?
Viewed 31218 times since Thu, Jun 21, 2018
AIX check the HBA status
Viewed 17769 times since Tue, May 22, 2018
AIX Full memory dump configure
Viewed 3862 times since Mon, Jul 16, 2018
ILMT Procedure - ILMT / TAD4D / SUA / BFI
Viewed 10782 times since Fri, Jul 5, 2019
AIX alt_disk_copy
Viewed 10520 times since Sun, Jun 30, 2019
AIX - How to unlock and reset user’s account
Viewed 17761 times since Fri, Jun 8, 2018
AIX -- extending Logical Volumes online
Viewed 3289 times since Tue, Mar 12, 2019