2.5. Configure the network
2.5.1. Configuring the Network
Oracle RAC databases involve both public and private networks, so for network partitioning and IP address planning, the following table lists the IP addresses, host names, and network connection types for the RAC databases to be installed:
Rac1 |
Host Name |
IP Address |
Sub-Network |
Network type |
Parsing method |
Eth0 |
10.10.97.161 |
255.255.255.0 |
Public network |
|
Eth1 |
192.168.2.116 |
255.255.255.0 |
Private network |
|
|
10.10.97.181 |
255.255.255.0 |
Virtual network |
|
/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 |
Host Name |
IP Address |
Sub-Network |
Network type |
Parsing method |
Eth0 |
10.10.97.167 |
255.255.255.0 |
Public network |
|
Eth1 |
192.168.2.216 |
255.255.255.0 |
Private network |
|
|
10.10.97.183 |
255.255.255.0 |
Virtual network |
|
/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 |
Public network and private network IP settings on the network card, virtual IP is not set.
Make the configured IP effective with ifdown,ifup:
[Email protected] desktop]# Ifdown eth0 Device State:3 (Disconnected) [Email protected] desktop]# Ifdown eth1 Device State:3 (Disconnected) [Email protected] desktop]# ifup eth0 Active Connection state:activating Active Connection path:/ORG/FREEDESKTOP/NETWORKMANAGER/ACTIVECONNECTION/2 state:activated Connection activated [Email protected] desktop]# ifup eth1 Active Connection state:activated Active Connection path:/ORG/FREEDESKTOP/NETWORKMANAGER/ACTIVECONNECTION/3 |
Build oracle11g RAC 64 cluster environment based on CentOS and VMWARESTATION10:2. Build environment-2.5. Configure the Network