Home > database >  About the setting of/etc/hosts in RAC installation
About the setting of/etc/hosts in RAC installation

Time:09-15

Install RAC (12 c) for the first time, the environment for the two virtual machine (Oracle Linux), a physical machine (Win), and modify/etc/hosts, while installing tutorial on said according to the following changes:
/root @ node1 ~ # cat/etc/hosts
# Do not remove the following line, or various designed
# that require network functionality will fail.
127.0.0.1 localhost
: : 1 localhost6. Localdomain6 localhost6

# public
Cn node1 172.16.0.33 node1. Oracleonlinux.
172.16.0.34 2. Oracleonlinux. Cn 2

# private
192.168.94.11 node1 - priv. Oracleonlinux. Cn node1 - priv
2-192.168.94.12 2 - priv. Oracleonlinux. Cn priv

# virtual
172.16.0.35 node1 - VIP. Oracleonlinux. Cn node1 - VIP
172.16.0.36 2 - VIP. Oracleonlinux. Cn VIP
2 -
# scan - IP
172.16.0.223 scan - cluster. Oracleonlinux. Cn


I want to ask next, public IP and private IP, virtual IP, scan - what IP IP correspond my environment?

CodePudding user response:

Public IP is your host foreign IP, VIP during the installation process is bound to the public IP network card IP, you don't need to worry about, private IP is used to cluster of internal communication, independent of the public IP network card, SCAN IP like VIP, usually without the assistance from external service, use the/etc/hosts, will only start to start on the node in the cluster, this is also the installation process will create IP, don't need to add
  • Related