Oracle - RAC安装配置指导书[华为] - 图文

2026/4/27 18:27:36

Document Title Security Level:

3.4 3.4 配置网络

执行命令用户 Root 节点 所有 3.4.1 3.4.1规划网络:

主机名 node-11 IP地址 对应网卡 bond0 备注 公网:ATAE fabric平面 私网:ATAE basic平面 10.71.164.38 node-11_priv 192.168.bond1 100.38 10.71.164.8 10.71.164.39 bond0 node-11_vip node-12 node-12_priv 虚拟IP:无需手工配置 公网:ATAE fabric平面 私网:ATAE basic平面 192.168.bond1 100.39 10.71.164.9 node-12_vip 虚拟IP:无需手工配置 注意:

I. II.

在网络配置过程中,各节点的网卡名和网络平面要一致,由于ATAE在SLES10上存在网卡漂移现象,建议使用绑定总线的方式配置虚拟网卡.

为了启用enable VIP failover虚拟IP必须与公网IP处于同一网段, 如:10.71.114.*,因此安装ORACLE RAC所需的IP数目=节点数*2,由于RAC对IP个数要求较多,因此若要使用RAC,各项目可能需要重新规划组网方式。

不推荐使用DHCP,尤其是对外提供服务的公网IP,应使用静态IP

ATAE环境下,公网(public ip)对应fabric平面,必须配置网关,连接到机房网络。私网(private ip)对应basic平面,承载ORACLE RAC心跳, 不应连接机框外网络。浮动(virtual)IP无须手工配置网卡,只需写入/etc/hosts文件,安装RAC时会自动设置, 它必须与公网public ip处于同一网段。

私网必须为高速网络Gigabit Ethernet或更高,支持UDP, 不要与其它网络服务器或公网连接,避免网络风暴等不定的外界影响。

III. IV.

V.

2013-07-16 HUAWEI Confidential

Page13, Total85

Document Title Security Level:

3.4.2 3.4.2 通过绑定总线的方式配置网卡:

由于目前ATAE SLES10下存在严重的网卡偏移BUG, 表现为单板复位后,原来对应某一网络平面的网卡漂离到其它平面上;或者同一块网卡(MAC地址不变)重启前后名字可能不一样等故障,因此数据库TMG建议在此BUG未修复前,采用绑定总线的方式规避此问题。具体做法是: 3.4.1.1 查询总线地址

# /var/adm/autoinstall/scripts/eth_alias.sh eth1 6,0,0 Fabric1 eth2 3,0,0 Update eth3 13,4,0 Base1 eth4 13,4,1 Base2 eth0 6,0,1 Fabric2 填写下表:

网卡平面Fabric1 6,0,0 Fabric2 6,0,1 Base1 Base1 总线地址13,4,0 13,4,1 注意:不同产品线的ATAE单板上网卡识别脚本eth_alias.sh的路径可能不一样,请咨询相关负责人

3.4.1.2 编辑绑定文件

# cd /etc/sysconfig/network/

把所有名为ifcfg-eth-id-MAC地址(如ifcfg-eth-id-00:18:82:35:f6:28)或ifcfg-网卡名(如ifcfg-eth1)的文件全部移走或重命名 # vi ifcfg-bond0

在ifcfg-bond0配置文件中添加如下内容:

2013-07-16 HUAWEI Confidential

Page14, Total85

Document Title Security Level:

BOOTPROTO='static' STARTMODE='onboot' WIRELESS='no' device='bond0'

BROADCAST='10.71.164.255' IPADDR='10.71.164.38' NETMASK='255.255.254.0' NETWORK='10.71.164.0' REMOTE_IPADDR='' BONDING_MASTER='yes'

BONDING_MODULE_OPTS='mode=1 miimon=200' BONDING_SLAVE0='bus-pci-0000:06:00.0' BONDING_SLAVE1='bus-pci-0000:06:00.1'

粗体为需编辑部分,由于绑定的是FABRIC的总线,表明BOND0用于承载公网IP # vi ifcfg-bond1 BOOTPROTO='static' STARTMODE='onboot' WIRELESS='no' device='bond1'

BROADCAST='192.168.100.255' IPADDR='192.168.100.38' NETMASK='255.255.255.0' NETWORK='10.71.164.1' REMOTE_IPADDR='' BONDING_MASTER='yes'

BONDING_MODULE_OPTS='mode=1 miimon=200' BONDING_SLAVE0='bus-pci-0000:0d:04.0' BONDING_SLAVE1='bus-pci-0000:0d:04.1'

注意:

Bond1承载私网IP, 绑定文件中总线地址的写法是16进制的,14对应0d

3.4.1.3 重启网络

2013-07-16 HUAWEI Confidential

Page15, Total85

Document Title Security Level:

# rcnetwork restart

Shutting down network interfaces:

bond0 done

bond1 done

eth1 device: Intel Corporation PRO/1000 EB Backplane Connection with I/O Acceleration (rev 01)

No configuration found for eth1

Nevertheless the interface will be shut down. done eth2 device: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06) No configuration found for eth2

Nevertheless the interface will be shut down. done eth3 device: Broadcom Corporation NetXtreme BCM5715 Gigabit Ethernet (rev a3)

No configuration found for eth3

Nevertheless the interface will be shut down. done eth4 device: Broadcom Corporation NetXtreme BCM5715 Gigabit Ethernet (rev a3)

No configuration found for eth4

Nevertheless the interface will be shut down. done ethxx2 device: Intel Corporation PRO/1000 EB Backplane Connection with I/O Acceleration (rev 01)

No configuration found for ethxx2

Nevertheless the interface will be shut down. done Shutting down service network . . . . . . . . . . . . . done Setting up network interfaces: lo

lo IP address: 127.0.0.1/8 done eth1 device: Intel Corporation PRO/1000 EB Backplane Connection with I/O Acceleration (rev 01)

No configuration found for eth1 unused eth2 device: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06) No configuration found for eth2 unused

2013-07-16 HUAWEI Confidential

Page16, Total85


Oracle - RAC安装配置指导书[华为] - 图文.doc 将本文的Word文档下载到电脑
搜索更多关于: Oracle - RAC安装配置指导书[华为] - 图文 的文档
相关推荐
相关阅读
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219