标签:des style io os ar strong sp 数据 div
Oracle Rac数据库涉及到公用网络和私有网络,因此要做网络划分和IP地址规划,下表列出了要安装的RAC数据库对应的IP地址、主机名以及网络连接类型:
Rac1 |
||||
主机名 |
IP址址 |
子网 |
网络类型 |
解析方式 |
Eth0 |
10.10.97.161 |
255.255.255.0 |
公用网络 |
|
Eth1 |
192.168.2.116 |
255.255.255.0 |
私有网络 |
|
|
10.10.97.181 |
255.255.255.0 |
虚拟网络 |
|
/etc/hosts |
||||
#eth0 public 10.10.97.161 linuxrac1 10.10.97.167 linuxrac2 #eth1 private 192.168.2.116 linuxrac1-pri 192.168.2.216 linuxrac2-priv #virtual 10.10.97.181 linuxrac1-vip 10.10.97.183 linuxrac2-vip #scan 10.10.97.193 linuxrac-scan
|
Rac2 |
||||
主机名 |
IP址址 |
子网 |
网络类型 |
解析方式 |
Eth0 |
10.10.97.167 |
255.255.255.0 |
公用网络 |
|
Eth1 |
192.168.2.216 |
255.255.255.0 |
私有网络 |
|
|
10.10.97.183 |
255.255.255.0 |
虚拟网络 |
|
/etc/hosts |
||||
#eth0 public 10.10.97.161 linuxrac1 10.10.97.167 linuxrac2 #eth1 private 192.168.2.116 linuxrac1-pri 192.168.2.216 linuxrac2-priv #virtual 10.10.97.181 linuxrac1-vip 10.10.97.183 linuxrac2-vip #scan 10.10.97.193 linuxrac-scan |
公网与私网IP设置在网卡上,虚拟IP不用设置.
通过ifdown,ifup使配置的IP生效:
[root@linuxrac2 Desktop]# ifdown eth0 Device state: 3 (disconnected) [root@linuxrac2 Desktop]# ifdown eth1 Device state: 3 (disconnected) [root@linuxrac2 Desktop]# ifup eth0 Active connection state: activating Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/2 state: activated Connection activated [root@linuxrac2 Desktop]# ifup eth1 Active connection state: activated Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/3 |
基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:2.搭建环境-2.5. 配置网络
标签:des style io os ar strong sp 数据 div
原文地址:http://www.cnblogs.com/HondaHsu/p/4046443.html