반응형
Bonding 인터페이스를 수동으로 절체하는 방법.
1. Bonding 상태 및 Master 인 인터페이스 확인
Currently Active Slave: ens1f1 인터페이스가 Master인 것을 확인할 수 있다.
[root@test ~]# cat /proc/net/bonding/bond2
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: ens1f1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: ens1f1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: d4:f5:ef:30:ed:28
Slave queue ID: 0
Slave Interface: ens4f1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: d4:f5:ef:30:ca:e8
Slave queue ID: 0
2. 수동으로 ens4f1로 절체
ifenslave -c bond2 ens4f1
3. ens4f1가 master 되었는지 확인
Currently Active Slave: ens4f1
[root@test ~]# cat /proc/net/bonding/bond2
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: ens4f1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
728x90
'Linux > RHEL7 & 8' 카테고리의 다른 글
[Linux] net-tools vs iproute CLI (0) | 2021.07.08 |
---|---|
[Linux] Password 복잡성 무시하고 강제로 비번 설정방법 (0) | 2021.07.08 |
[RHEL7] XFS LVM 디스크 증설 (용량 늘리기) (0) | 2021.07.05 |
[RHEL7] Disk 추가 및 mount 설정 (0) | 2021.07.05 |
[RHEL8] UnicodeEncodeError: 'ascii' codec can't encode characters in position 89-91: ordinal not in range(128) (0) | 2021.06.29 |