Owner's Manual
Configuring Your Network 19
Configuring a DNS Client
To configure the changes required on the cluster nodes for name resolution:
1
Add host entries in the
/etc/hosts
file. On each node, modify lines in
the
/etc/hosts
file by typing:
127.0.0.1 localhost.localdomain localhost
<public IP node1> <fully qualified hostname
node1> <public hostname node1>
<public IP node2> <fully qualified hostname
node2> <public hostname node2>
<Virtual IP node1> <fully qualified Virtual
hostname node1> <Virtual hostname node1>
<Virtual IP node2> <fully qualified Virtual
hostname node2> <Virtual hostname node2>
2
You must configure the
resolv.conf
on the nodes in the cluster to contain
name server entries that are resolvable to DNS server. Provide an entry
similar to the following:
/etc/resolv.conf:
search ns1.domainserver.com
nameserver 192.0.2.100
Where
192.0.2.100
is a valid DNS server address in your network and
ns1.domainserver.com
is the domain server in your network.
3
Verify the order configuration.
/etc/nsswitch.conf
controls the name
service order. In some configurations, the NIS can cause issues with
Oracle SCAN address resolution. It is recommended that you place
the NIS entry at the end of the search list.
For example,
hosts: files dns nis