DNS Server Configuration Steps For 11gR2 RAC On RHEL
DNS Server Configuration Steps For 11gR2 RAC On RHEL
DNS Server Configuration Steps For 11gR2 RAC On RHEL
The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services,
or any resource connected to the Internet or a private network. It associates various information with
domain names assigned to each of the participating entities.
A Domain Name Service translates queries for domain names (which are easier to understand and
utilize when accessing the internet) into IP addresses for the purpose of locating computer services
and devices worldwide.
DNS provides 11gR2 RAC with the capability of Configuring multiple SCAN IP’s. Also DNS along with
GNS (Grid Naming Service) simplifies the administration of Nodes. Oracle 11gR2 RAC supports a
maximum of 3 SCAN IP’s.
====================================================================================
==================
In this article, I will configure DNS Server for 11gR2 SCAN IP that is required in 11gR2 RAC cluster
configuration. If you use /etc/hosts file then only one IP will be taken for configuration and hence a DNS is
required for resolving all the SCAN IP’s.
We will configure 3 SCAN IPs as below,
====================================================================================
==================
file:///D:/DATA KERJA/Oracle/Oracle Databases/11g/Golden Gate/DNS Server configuration steps for 11gR2 RAC on RHEL.html 1/7
11/2/21, 9:54 AM DNS Server configuration steps for 11gR2 RAC on RHEL
– bind
– bind-libs
– bind-utils
# cp /usr/share/doc/bind-9.3.6/sample/etc/* /etc/
# cp -r /usr/share/doc/bind-9.3.6/sample/var/named /var
# dns-keygen
76VVOEPvQRbO0jIIY6FZhaHOiaWpF7QdByEpkY0Bis3UT0uHRbMpBqjgsLPp
Add the DNS key to the /etc/named.conf file in the below section,
1 key ddns_key
2 {
3 algorithm hmac-md5;
4 secret "76VVOEPvQRbO0jIIY6FZhaHOiaWpF7QdByEpkY0Bis3UT0uHRbMpBqjgsLPp";
5 };
• Add the below line in the /etc/named.conf file in the “view internal” section
1 zone "homedns.com" IN {
2 type master;
3 file "homedns.com.zone";
4 allow-update { none; };
5 };
# cd /var/named/
# cp localdomain.zone homedns.com.zone
Add the below entries to the zone file /var/named/homedns.com.zone and /var/named/localdomain.zone file.
file:///D:/DATA KERJA/Oracle/Oracle Databases/11g/Golden Gate/DNS Server configuration steps for 11gR2 RAC on RHEL.html 2/7
11/2/21, 9:54 AM DNS Server configuration steps for 11gR2 RAC on RHEL
1 scan-ip IN A 192.168.0.12
Find Copy Paste
2 scan-ip IN A 192.168.0.13
3 scan-ip IN A 192.168.0.14
Blog QnA About Resume Contact
To identify the SCAN name from any of the IPS’s we need to configure a reverse proxy.
Add the below entry to /etc/named.conf file in the “view internal” section.
1 zone "0.168.192.in-addr.arpa." IN {
2 type master;
3 file "0.168.192.in-addr.arpa";
4 allow-update { none; };
5 };
# cd /var/named
1 # vi 0.168.192.in-addr.arpa
2 $ORIGIN 0.168.192.in-addr.arpa.
3 $TTL 1H
4 @ IN SOA homedns.com. root.homedns.com. ( 2
5 3H
6 1H
7 1W
8 1H )
9 0.168.192.in-addr.arpa. IN NS homedns.com.
10 12 IN PTR scan-ip.homedns.com.
11 13 IN PTR scan-ip.homedns.com.
12 14 IN PTR scan-ip.homedns.com.
# chkconfig named on
On all the nodes, edit the /etc/resolv.conf and put your domain name and the DNS server name.
file:///D:/DATA KERJA/Oracle/Oracle Databases/11g/Golden Gate/DNS Server configuration steps for 11gR2 RAC on RHEL.html 3/7
11/2/21, 9:54 AM DNS Server configuration steps for 11gR2 RAC on RHEL
# viFind
/etc/resolv.conf
Copy Paste
search homedns.com
Now try to do a nslookup of the SCAN name on all nodes and check if it gets resolved.
1 # nslookup scan-ip
2 [It should show below output]
3 Server: 192.168.0.11
4 Address: 192.168.0.11#53
5
6 Name: scan-ip.homedns.com
7 Address: 192.168.0.13
8 Name: scan-ip.homedns.com
9 Address: 192.168.0.14
10 Name: scan-ip.homedns.com
11 Address: 192.168.0.12
You can see from above output that the scan name is resolving all the 3 IP’s.
====================================================================================
==================
← Oracle 10g ASM Installation Steps in RHEL !!! Dataguard configuration using Active Database feature
!!! →
Leave a Reply
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
file:///D:/DATA KERJA/Oracle/Oracle Databases/11g/Golden Gate/DNS Server configuration steps for 11gR2 RAC on RHEL.html 4/7
11/2/21, 9:54 AM DNS Server configuration steps for 11gR2 RAC on RHEL
Post Comment
Confir Confir
m you m you
are NOT a spammer are NOT a spammer
Search.. Search
Categories
10g
11g
LINUX
ORACLE
Others
Recent Posts
Install Oracle Multimedia component in 12c database !!!
Oracle Golden Gate with Source and Target databases in same server !!!
Popular Questions
What is Cache Fusion in Oracle RAC?
asked by TJ
file:///D:/DATA KERJA/Oracle/Oracle Databases/11g/Golden Gate/DNS Server configuration steps for 11gR2 RAC on RHEL.html 5/7
11/2/21, 9:54 AM DNS Server configuration steps for 11gR2 RAC on RHEL
Latest Questions
Find Copy Paste
What is Cache Fusion in Oracle RAC? Blog QnA About Resume Contact
asked by TJ, 6 months ago
Archives
March 2016
January 2016
November 2015
October 2015
September 2015
March 2015
February 2015
December 2014
September 2014
July 2014
October 2013
September 2013
June 2013
February 2013
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
January 2012
Tags
file:///D:/DATA KERJA/Oracle/Oracle Databases/11g/Golden Gate/DNS Server configuration steps for 11gR2 RAC on RHEL.html 6/7
11/2/21, 9:54 AM DNS Server configuration steps for 11gR2 RAC on RHEL
Find
10 ASMCopy Paste to 11gR2
RAC upgrade
10g in linux steps
10g installation steps
10g rac
10g rac configuration steps
Contact
11g RAC
add new node in 10g rac
asm in 10g
asm installation steps in 10g
bonding
bonding in linux
ethernet bonding
iscsi disks
iSCSI disks using NetApp 8.1
iscsi using openfiler
kickstart configuration in liinux
The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does
not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate
comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of
any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or
fitness for a particular
file:///D:/DATA KERJA/Oracle/Oracle Databases/11g/Golden Gate/DNS Server configuration steps for 11gR2 RAC on RHEL.html 7/7