-
install teamd
#yum install teamd
-
edit /etc/sysconfig/network-scripts/ifcfg-team0
DEVICE=team0 DEVICETYPE=Team ONBOOT=yes BOOTPROTO=none NM_CONTROLLED=no IPADDR=192.168.10.201 PREFIX=24 TEAM_CONFIG='{"runner": {"name": "activebackup"}, "link_watch": {"name": "ethtool"}}'
-
edit /etc/sysconfig/network-scripts/ifcfg-em1 (physical 1)
DEVICE=em1
#HWADDR=D4:85:64:01:46:9E DEVICETYPE=TeamPort ONBOOT=yes NM_CONTROLLED=no TEAM_MASTER=team0 TEAM_PORT_CONFIG='{"prio": 100}'
-
edit /etc/sysconfig/network-scripts/ifcfg-em2 (physical 2)
DEVICE=em2
#HWADDR=D4:85:64:01:46:9E DEVICETYPE=TeamPort ONBOOT=yes TEAM_MASTER=team0 NM_CONTROLLED=no TEAM_PORT_CONFIG='{"prio": 100}'
-
down physical
#ip link set em1 down
#ip link set em2 down
-
up team0
#ifup team0
-
verify with commands
#ip addr
#nmcli device status
#teamdctl team0 state
-
การลบ team
#teamd -t team0 -k