Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

GI: 12C R2: DNS is not resolving scan name

Arturo GutierrezMar 14 2018 — edited Mar 15 2018

Hello,

I've installed a GI with 12cR2 using GNS, the cluster is up and running, however I'm having problems to resolve the scan, and after change several times the DNS configuration , I can not get it to work.

This is the installation screen:

pastedImage_0.png

Let me show first the scan configuration:

$ srvctl config scan

SCAN name: rac-scan.cluster01.gns.oracle.com, Network: 1

Subnet IPv4: 172.68.1.0/255.255.255.0/eth2, dhcp

Subnet IPv6:

SCAN 1 IPv4 VIP: -/scan1-vip/172.68.1.172

SCAN VIP is enabled.

SCAN VIP is individually enabled on nodes:

SCAN VIP is individually disabled on nodes:

SCAN 2 IPv4 VIP: -/scan2-vip/172.68.1.174

SCAN VIP is enabled.

SCAN VIP is individually enabled on nodes:

SCAN VIP is individually disabled on nodes:

SCAN 3 IPv4 VIP: -/scan3-vip/172.68.1.173

SCAN VIP is enabled.

SCAN VIP is individually enabled on nodes:

SCAN VIP is individually disabled on nodes:

Now, I show you the DNS configuration. I've another Linux box to set as DHCP/DNS.

The first file o change is /etc/named.conf :

..

Where I defined the zones:

zone "oracle.com" IN {
type master;
file "oracle.com.zone";
allow-update { none; };
};

zone "1.68.172.in-addr.arpa" {
type master;
file "1.68.172.in-addr.arpa";

};

And in the /var/named is the files zones:

oracle.com.zone (file)contains:

$TTL 86400
@ IN SOA dhcp root.dhcp.oracle.com (
42 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS dhcp.oracle.com
dhcp.oracle.com IN A 172.68.1.5
rac1.oracle.com IN A 172.68.1.11
rac2.oracle.com IN A 172.68.1.12
rac3.oracle.com IN A 172.68.1.13

$ORIGIN gns.oracle.com.
@ IN NS gns-srv.gns.oracle.com.

gns-srv.gns.oracle.com. IN A 172.68.1.235

$TTL 1H
@ IN SOA dhcp.oracle.com. root.localhost (
2 ; serial
3H ; refresh
1H ; retry
1W ; expire
1H ; ttk
)

@ IN NS dhcp.oracle.com.

5 IN PTR dhcp.oracle.com.
11 IN PTR rac1.oracle.com.
12 IN PTR rac2.oracle.com.
13 IN PTR rac3.oracle.com.

235 IN PTR gns-srv.gns.oracle.com.

If I try :

[root@dhcp named]# nslookup rac-scan.cluster01.gns.oracle.com
Server: 172.68.1.5
Address: 172.68.1.5#53

** server can't find rac-scan.cluster01.gns.oracle.com: NXDOMAIN

However, the GNS server is up:

[root@dhcp named]# ping 172.68.1.235

PING 172.68.1.235 (172.68.1.235) 56(84) bytes of data.

64 bytes from 172.68.1.235: icmp_seq=1 ttl=64 time=0.594 ms

64 bytes from 172.68.1.235: icmp_seq=2 ttl=64 time=0.596 ms

And the file 1.68.172.in-addr.arpa:

Do you know why the resolution of the scan does not work?

Am I forgetting or doing something wrong?

Many Thanks

Arturo

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2018
Added on Mar 14 2018
2 comments
558 views