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:
As you can see, the Etherchannel is currently active on the backup adapter. To see the defined adapters for both primary and backup, run:# entstat -d ent4 | grep "Active channel" Active channel: backup adapter
Now, force it to fail over to the primary adapter:# lsattr -El 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".# /usr/lib/methods/ethchan_config -f ent4
Now run the entstat command again to determine the active channel:
# entstat -d ent4 | grep "Active channel" Active channel: primary channel
If you found this useful, here's more on the same topic(s) in our blog:
- Removing error report entries forever
- How to change the HMC password (of user hscroot)
- Using iptrace
- Email messages from the cron daemon
- Lsmksysb
UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.
Interested in learning more?
Interested in learning more?