This discussion is archived
11 Replies Latest reply: Feb 19, 2013 7:21 PM by user12288492 RSS

Scan IP

743462 Newbie
Currently Being Moderated
Oracle 11g r2 Scan IP need to registed in the DNS Server. DNS server is a seprate server. How this scan IP interact with Oralce rac node(for example I configure 3 node rac)

Can anyone please provide ?
  • 1. Re: Scan IP
    just a DBA Newbie
    Currently Being Moderated
    user8934564 wrote:
    Oracle 11g r2 Scan IP need to registed in the DNS Server. DNS server is a seprate server. How this scan IP interact with Oralce rac node(for example I configure 3 node rac)

    Can anyone please provide ?
    Rac nodes are dns clients. Scan is dns name that is registered to 1 - 3 IPs.
  • 2. Re: Scan IP
    JohnWatson Guru
    Currently Being Moderated
    user8934564 wrote:
    Oracle 11g r2 Scan IP need to registed in the DNS Server. DNS server is a seprate server. How this scan IP interact with Oralce rac node(for example I configure 3 node rac)

    Can anyone please provide ?
    No, the SCAN IPs are not statically registered in the DNS. Your cluster domain is a delegated sub-domain within the DNS, so the DNS knows that it must contact the GNS when asked to resolve the SCAN to IP addresses. It is the address of the GNS that is statically registered in the DNS, not the SCAN.
    --
    John Watson
    Oracle Certified Master DBA
    http://skillbuilders.com
  • 3. Re: Scan IP
    743462 Newbie
    Currently Being Moderated
    I am not clear about the details what you have given.

    For example in the three node: rachost1(node1), rachost2(node2), rachost3(node3). If I want SCAN IP to be registered in DNS and my DNS server name is hostdomain

    Do I need to add in hostdomain DNS server in the /etc/named.conf file
  • 4. Re: Scan IP
    Osama_Mustafa Oracle ACE
    Currently Being Moderated
    Check
    http://www.pythian.com/blog/oracle-11g-scan-q-a-post/
  • 5. Re: Scan IP
    Aman.... Oracle ACE
    Currently Being Moderated
    user8934564 wrote:
    I am not clear about the details what you have given.

    For example in the three node: rachost1(node1), rachost2(node2), rachost3(node3). If I want SCAN IP to be registered in DNS and my DNS server name is hostdomain

    Do I need to add in hostdomain DNS server in the /etc/named.conf file
    SCAN is nothing different than a normal host name resolution except that it's done for the oracle rac. Now, in your question, yes the scan VIPs would need to be configured under the zone that's going to be configured in the DNS with both the forward and reverse lookups. The scan VIP's would be required to be mentioned in case you are using DNS method to resolve the SCAN name. In the case of the GNS, you wouldn't be mentioning the SCAN VIP's in the DNS but the static VIP of the GNSD(Grid Naming Service Daemon). The SCAN ViPs and the Node VIPs would come from the DHCP which would be a must for the GNS. In that case, you won't be configuring the complete forward and reverse lookup rules but the "forward only" rule. In this case, you would need to configure the sub-domain that would be required to be mentioned in the "forward only" rule.

    HTH
    Aman....
  • 6. Re: Scan IP
    onedbguru Pro
    Currently Being Moderated
    how about reading the documentation on this..

    here: https://www.lmgtfy.com/?q=oracle+scan+pdf
  • 7. Re: Scan IP
    986120 Explorer
    Currently Being Moderated
    Hi user8934564,

    DNS Server configuration in detail:
    http://www.dbaspace.com/2012/04/08/linux-how-to-configure-the-dns-server-for-11gr2-scan-id-1107295-1/

    DNS Client(All Nodes) configuration:
    See 5 & 6th point in same link

    Note: Maximum you can assign only 3 SCAN VIP even if you have more than 3 nodes+.
    --
    Bala:)
  • 8. Re: Scan IP
    743462 Newbie
    Currently Being Moderated
    Do I need to configure Local Listener for all the three nodes, If configure SCAN in DNS
  • 9. Re: Scan IP
    986120 Explorer
    Currently Being Moderated
    Not required, it will update automatically..

    --
    Bala:)
  • 10. Re: Scan IP
    onedbguru Pro
    Currently Being Moderated
    I am going to modify what Bala said:

    It "should" be updated automatically. Follow the SCAN document I pointed it out. While well meaning "blogs" purport to have the answers, you still will want to get the SCAN document and follow it.
  • 11. Re: Scan IP
    user12288492 Newbie
    Currently Being Moderated
    Please go through the following link. It provides detailed description of how to configure SCAN:

    http://oracleinaction.blogspot.in/2013/01/SCAN.html

    Hope it helps
    Regards

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points