teaming failback error
OS : Redhat 7.3
network interface
team0-port1(ens37) speed 1000m
team0-port2(ens38) speed 100m
# teamdctl Team0 state
setup:
runner: activebackup
ports:
ens37
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 1
ens38
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 0
runner:
active port: ens37
=======================================
[root@localhost/]# ifconfig ens37 down
[root@localhost/]# teamdctl Team0 state
setup:
runner: activebackup
ports:
ens37
link watches:
link summary: down
instance[link_watch_0]:
name: ethtool
link: down
down count: 2
ens38
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 0
runner:
active port: ens38
[root@localhost/]# ifconfig ens37 up
[root@localhost/]# teamdctl Team0 state
setup:
runner: activebackup
ports:
ens37
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 2
ens38
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 0
runner:
active port: ens37
======================================
The following options are inserted.
[root@localhost/]# cat /etc/sysconfig/network-scripts/ifcfg-Team0
BONDING_OPTS="mode=1 miimon=100 primary_reselect=2"
I don't want to be failback
Is there any other way not to "failback"?
|