zoukankan      html  css  js  c++  java
  • 老集群RAC双网卡绑定

    老集群RAC双网卡绑定

    作者:周万春
    
    [root@db-rac02 network-scripts]# cat ifcfg-bond0
    DEVICE=bond0
    IPADDR=192.168.56.12
    NETMASK=255.255.255.0
    GATEWAY=192.168.56.254
    ONBOOT=yes
    BOOTPROTO=none
    USERCTL=no
    BONDING_OPTS="mode=0 miimon=100"
    
    
    [root@db-rac02 network-scripts]# cat ifcfg-em1
    DEVICE=em1
    HWADDR=B8:2A:72:D7:D1:82
    TYPE=Ethernet
    UUID=11f22735-e4e9-4db9-9e56-125ce3d27157
    MASTER=bond0
    SLAVE=yes
    USERCTL=no
    BOOTPROTO=none
    ONBOOT=yes
    
    
    [root@db-rac02 network-scripts]# cat ifcfg-em2
    DEVICE=em2
    HWADDR=B8:2A:72:D7:D1:80
    TYPE=Ethernet
    UUID=e1ea1410-e3fd-4696-bd7b-f1a6d51163f3
    MASTER=bond0
    SLAVE=yes
    USERCTL=no
    BOOTPROTO=none
    ONBOOT=yes
    
    
    [root@db-rac02 network-scripts]# cat ifcfg-bond1
    DEVICE=bond1
    IPADDR=10.10.10.2
    NETMASK=255.255.255.0
    ONBOOT=yes
    BOOTPROTO=none
    USERCTL=no
    BONDING_OPTS="mode=1 miimon=100"
    
    
    [root@db-rac02 network-scripts]# cat ifcfg-em3
    DEVICE=em3
    HWADDR=B8:2A:72:D7:D1:83
    TYPE=Ethernet
    UUID=e66b8177-621d-47bf-901e-c9520782d857
    MASTER=bond1
    SLAVE=yes
    USERCTL=no
    BOOTPROTO=none
    ONBOOT=yes
    
    
    [root@db-rac02 network-scripts]# cat ifcfg-em4
    DEVICE=em4
    HWADDR=B8:2A:72:D7:D1:81
    TYPE=Ethernet
    UUID=cbf8d4ce-5322-4d48-949b-ce2562b018e4
    MASTER=bond1
    SLAVE=yes
    USERCTL=no
    BOOTPROTO=none
    ONBOOT=yes
  • 相关阅读:
    Python #面向对象
    Python #@property属性
    Linux # screen 用法
    Shell #监控进程脚本
    Linux # nethogs
    Python #logging
    Python #time
    Python # 一个api接口调用POST请求
    Python # 和风天气接口
    IP地址的组成
  • 原文地址:https://www.cnblogs.com/zhouwanchun/p/10700616.html
Copyright © 2011-2022 走看看