Sundaramurthy Blog

February 3, 2010

Non GNS(Grid Naming Service) option:

Filed under: Oracle 11R2,Oracle 11R2 installtion — sundar5 @ 8:45 pm

Non GNS option:

Before starting 11R2 Grid Infrastructure Installation, you have to make sure that SCAN IP (3 IP recommended) addresses in the DNS server. This is new requirement for grid Infrastructure.

While grid installation, CVU checks nslookup for SCAN IP address. SCAN IP address was assigned by network engineer in the DNS server(check SCAN setup document).  You wonder how Grid Infrastructure knows where to check the SCAN IP? There are two files used under  Linux OS

/etc/nsswitch.conf
/etc/resolv.conf

Where nsswitch.conf file is used for setting the sequence of search option and resolve.conf is used for DNS location.

Look at the nsswitch.conf file. hosts: files dns

First search order is  files ,that is /etc/hosts file, then it is  DNS server. Where as dns location is available under resolv.conf file.

Note: Oracle strongly recommends that do not configure SCAN VIP addresses in the hosts file. you  will only be able to resolve to one IP address and you will have only one SCAN address.

/etc/nsswitch.conf

passwd:     files
shadow:     files
group:      files

#hosts:     db files ldap nis dns
hosts:      files dns

Note: If you modified any values in the nsswitch.conf,restart the nscd daemon as below

#/sbin/service nscd restart

/etc/resolv.conf

search abc.corp.com mycorp.com

nameserver 260.221.171.121
nameserver 260.221.172.111

check the configuration:

$GRID_HOME/bin/cluvfy comp scan


Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: