As teaming is deprecated in RHEL 9 and onwards, what is a suitable replacement?
Environment
- Red Hat Enterprise Linux (RHEL) 9.
- Red Hat Enterprise Linux (RHEL) 10.
teamdlibteamteam2bond
Issue
- As teaming is deprecated in RHEL 9 and onwards, what is a suitable replacement?
- Is there any utility to convert the network team configuration to a bond?
Resolution
The teamd service and the libteam library are deprecated in Red Hat Enterprise Linux 9 and will be removed in the next major release. As a replacement, configure a bond instead of a network team.
For configuring bonding from scratch, please refer to article How do I configure a bonding device on Red Hat Enterprise Linux (RHEL)?
For having a working network team configured, for example because you upgraded from an earlier RHEL version, you can migrate the configuration to a network bond that is managed by NetworkManager. The team2bond tool helps migrate teams to bonding. Kindly refer to this article for migrating a network team configuration to network bond using team2bond utility.
NOTE: From RHEL 10 onwards the network teaming module is completely removed.
NOTE: The team2bond utility only converts the network team configuration to a bond. Afterward, you must manually configure further settings of the bond, such as IP addresses and DNS configuration.
Diagnostic Steps
It shows the below warning in dmesg.
[root@localhost ~]# uname -r
5.14.0-1.7.1.el9.x86_64
[root@localhost ~]# rpm -qa | grep -i team
libteam-1.31-10.el9.x86_64
teamd-1.31-10.el9.x86_64
NetworkManager-team-1.32.10-2.el9.x86_64
[root@localhost ~]# teamd -d
This program is not intended to be run as root.
[root@localhost ~]# dmesg | grep -i team
[ 629.838278] Warning: team - this hardware is not recommended for new deployments. It continues to be supported in this RHEL release, but it is likely to be removed in the next major release. Driver updates and fixes for this device will be limited to critical issues. Please contact Red Hat Support or your device's hardware vendor for additional information.
[ 629.888248] team0: Mode changed to "roundrobin"
The same has been modified in the teamd man page.
NOTE
Teaming is deprecated on RHEL9 and will be removed on RHEL10! For replacement please use bonding.
DESCRIPTION
teamd is a daemon to control a given team network device, during runtime, as a puppeteer controls a puppet. It uses libteam to communicate with the kernel team device instance via Netlink sockets. The behaviour depends on the selected runner and its configuration. This daemon is part of the libteam project.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.