First of all, my RAC build is not done on the virtual machine, but in the actual deployment, there is a slight difference between the two, I have limited level, please forgive me.
Among them, each machine needs to configure at least 3 IP addresses, in the process of installing the operating system, we need to configure the public IP and private IP, virtual IP in the installation of cluster components allocated.
Public IP, Virtual IP, SCAN IP must be configured on the same network segment.
Private IP with them cannot be in the same network segment.
The SCAN IP is a new Oracle 11g that needs to be specified when configuring a 11g RAC.
Hostname |
Short Hostname |
Type |
IP Address |
Interface |
Node1.localdomain |
Node1 |
Public IP |
172.16.0.191 |
Eth0 |
Node1-vip.localdomain |
Node1-vip |
Virtual IP |
172.16.0.193 |
Eth0:1 |
Node1-priv.localdomain |
Node1-priv |
Private IP |
192.168.94.11 |
Eth1 |
Node2.localdomain |
Node2 |
Public IP |
172.16.0.192 |
Eth0 |
Node2-priv.localdomain |
Node2-vip |
Virtual IP |
172.16.0.194 |
Eth0:1 |
Node2-priv.localdomain |
Node2-priv |
Private IP |
192.168.94.12 |
Eth1 |
Scan-cluster.localdomain |
Scan-cluster |
SCAN IP |
172.16.0.203 |
Eth0 |
After IP assignment, configure the/etc/hosts file
Case: Modifying the/etc/hosts configuration file for node 1
[Email protected] ~]# Cp/etc/hosts/etc/hosts.bak [Email protected] ~]# cat/etc/hosts # don't remove the following line, or various programs # that require network functionality would fail. 127.0.0.1 localhost :: 1 localhost6.localdomain6 Localhost6 # Node1 172.16.0.191 Node1.localdomain Node1 172.16.0.193 Node1-vip.localdomain NODE1-VIP 192.168.94.11 Node1-priv.localdomain Node1-priv # Node2 172.16.0.192 Node2.localdomain Node2 172.16.0.194 Node2-vip.localdomain NODE2-VIP 192.168.94.12 Node2-priv.localdomain Node2-priv # SCAN-IP 172.16.0.203 Scan-cluster.localdomain Scan-cluster |
Linux oracle11g RAC (1)----IP assignment and configuration IP