Question:
: What is the
/etc/resolv.conf
file and how does /etc/resolv.conf
work on a RAC database system?
Answer: The
/etc/resolv.conf file allows the DNS to
translate user-friendly domain names into IP addresses.
The etc/resolv.conf
file must be edited on each RAC node.
The /etc/resolv.conf
file is used to point the node where the IP address and DNS matches
the system-wide DNS server name.
With RAC, you edit the
/etc/resolv.conf file on each RAC node and always make sure
the file contains the following entries, where the IP address and
domain match those of your DNS server and the domain you have
configured.
nameserver 192.192.1.1
search
localdomain
Here is the format of an
/etc/resolv.conf file:
search "same DNS domain
name"
domain "same
DNS local domain name"
nameserver "IP address of DNS domain name
server for first set of servers"
nameserver "IP address of DNS domain name
server for second set of servers"
nameserver "IP address of DNS domain name
server for third set of servers"
nameserver "IP address of DNS domain name
server for nth set of servers"
Here is an example of an /etc/resolv.conf
file:
cat
/etc/resolv.conf
search "192.192.1.1"
domain "diogenes"
nameserver "192.168.14.2"
Note that you can have up to three nameserver entries in
/etc/resolv.conf.
|
|
Get the Complete
Oracle SQL Tuning Information
The landmark book
"Advanced Oracle
SQL Tuning The Definitive Reference" is
filled with valuable information on Oracle SQL Tuning.
This book includes scripts and tools to hypercharge Oracle 11g
performance and you can
buy it
for 30% off directly from the publisher.
|