Owner's Manual
14 Configuring Your Network
Configuring a DNS Client
To configure a DNS client:
1
Add host entries within the
/etc/hosts
file domain name. 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>
2
On all nodes in the cluster, edit the
resolv.conf
file to include name server
entries that are resolvable to DNS servers.
For example, edit the
/etc/resolv.conf
file as:
options attempts: 2
options timeout: 1
search clusterdomain.example.com example.com
nameserver 192.0.2.1
nameserver 192.0.2.2
NOTE: The total time-out period which is a combination of options attempted
and options timed out should be less than 30 seconds.
Where
192.0.2.1
is the valid DNS server address and
192.0.2.2
is the GNS
Virtual IP address in your network, and
clusterdomain.example.com
is the
GNS sub domain.
3
Verify the order of configuration.
/etc/nsswitch.conf
controls name service
lookup order.
In some system configurations, the Network Information System (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
Lnx_Stnwt.book Page 14 Wednesday, August 4, 2010 11:58 AM