02_bond 網卡設定
bonding bond ifcfg
http://www.cloudibee.com/network-bonding-modes/
# 超無腦設定法
# 1 關閉 NetworkManager
service NetworkManager stop
# 2 關閉 iptables
service iptables stop
#
#3 直接貼到 bond alias
echo "alias bond0 bonding" > /etc/modprobe.d/bonding.conf
#4
cd /e*/s*/n*s
# 設定 網卡ip及 bond
vi /e*/s*/n*s/ifcfg-bond0
DEVICE=bond0
BONDING_OPTS="miimon=100 mode=1"
TYPE=Bond
BONDING_MASTER=yes
BOOTPROTO=none
IPADDR=192.168.8.101
PREFIX=24
GATEWAY=192.168.8.254
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=bond0
ONBOOT=yes
vi /e*/s*/n*s/ifcfg-eth6
TYPE=Ethernet
ONBOOT=yes
DEVICE=eth6
MASTER=bond0
SLAVE=yes
`
vi /e*/s*/n*s/ifcfg-eth2
TYPE=Ethernet
ONBOOT=yes
DEVICE=eth2
MASTER=bond0
SLAVE=yes
# Check bond0
cat /proc/net/bonding/bond0
Bonding Mode: adaptive load balancing
Primary Slave: None
Currently Active Slave: eth6
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth6
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr:
Slave queue ID: 0
Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr:
Slave queue ID: 0
2016年6月24日 星期五
訂閱:
張貼留言 (Atom)
RHEL install EPEL
https://www.linuxtechi.com/install-epel-repo-on-rhel-system/ EPEL dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest...
-
記事本開啟 HKEY_CLASSES_ROOT\*\shell] [HKEY_CLASSES_ROOT\*\shell\NotePad] @="用記事本開啟" [HKEY_CLASSES_ROOT\*\shell\NotePad\command] @=...
-
https://www.linuxtechi.com/install-epel-repo-on-rhel-system/ EPEL dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest...
-
Check Log Mode SQL> select dbid,name from v$database; select log_mode , OPEN_MODE , DATABASE_ROLE from v$database; --Data...
沒有留言:
張貼留言