This discussion is archived
7 Replies Latest reply: Dec 13, 2012 2:20 AM by 698658 RSS

How many SCAN listners for 2 node rac ?

698658 Newbie
Currently Being Moderated
Hi,
Oracle recommends min 3 SCAN listeners , but what if I've got 2 node RAC ? :)
Regards
GregG
  • 1. Re: How many SCAN listners for 2 node rac ?
    MahirM.Quluzade Guru
    Currently Being Moderated
    Hi,

    After Oracle RAC 11.2 comes SCAN (single client access name) for RAC database.
    SCAN IPs must be 3, with Round-Robin alghoritm.
    Then SCAN Listeners must be 3.

    Thanks
    Mahir M. Quluzade
    www.mahir-quluzade.com
  • 2. Re: How many SCAN listners for 2 node rac ?
    Levi-Pereira Guru
    Currently Being Moderated
    GregG wrote:
    Hi,
    Oracle recommends min 3 SCAN listeners , but what if I've got 2 node RAC ? :)
    The number of SCAN IP does not depend on qtd of node, because the SCAN IP is a "cluster resource" which can be in any place of cluster.

    But if you have a cluster with only 2 nodes, in this particular case 2 SCAN IP is enough ... I see no benefits to use 3 SCAN IP in a cluster with 2 nodes.

    {message:id=9829323}

    {message:id=9554024}

    Regards,
    Levi Pereira
  • 3. Re: How many SCAN listners for 2 node rac ?
    Levi-Pereira Guru
    Currently Being Moderated
    Hi Mahir,

    Use 3 SCAN IP is recommended not mandatory.

    IMHO, The setup of 3 SCAN IP have benefit when you have 3 or more nodes on your clusterware ... I see no benefit duplicate the same "cluster resource" (SCAN IP/Listener) on the same node.

    Levi Pereira
  • 4. Re: How many SCAN listners for 2 node rac ?
    LaserSoft Journeyer
    Currently Being Moderated
    Hi Friend

    About SCAN :


    1. The single client access name (SCAN) is the address used by all clients connecting to the cluster.
    2. The SCAN name is a domain name registered to three IP addresses, either in the domain name service (DNS) or the Grid Naming Service (GNS).
    3. The SCAN name eliminates the need to change clients when nodes are added to or removed from the cluster.
    4. Clients using SCAN names can also access the cluster using EZCONNECT.
    5. The Single Client Access Name (SCAN) is a domain name that resolves to all the addresses allocated for the SCAN name.
    6. Three IP addresses should be provided (in DNS) to use for SCAN name mapping as this ensures high availability.
    7. During Oracle Grid Infrastructure installation, listeners are created for each of the SCAN addresses, and Oracle Grid Infrastructure controls which server responds to a
    SCAN address request.
    8. The SCAN addresses need to be on the same subnet as the VIP addresses for nodes in the cluster.

    Note 1 : SCAN IPs must NOT be in the /etc/hosts file, the SCAN name must be resolved by DNS.

    Note 2 : When you are installing Grid Infrastructure it will ask for the following things :

    *1. Cluster Name :*
    *2. Scan Name :*
    *3. Scan Port :*

    Thanks
    LaserSoft
  • 5. Re: How many SCAN listners for 2 node rac ?
    onedbguru Pro
    Currently Being Moderated
    3 SCAN addresses regardless of number of cluster nodes.

    http://lmgtfy.com/?q=oracle+scan+pdf and read it for yourself.
  • 6. Re: How many SCAN listners for 2 node rac ?
    MahirM.Quluzade Guru
    Currently Being Moderated
    Hi Levi,

    Really, I installing RAC every time with 3 SCAN IP. I didn't try use 1 or 2 scan IP address. I will try :)
    Because
    Three Static IP addresses configured on the domain name server (DNS) before installation 
    so that the three IP addresses are associated with the name provided as the SCAN, 
    and all three addresses are returned in random order by the DNS to the requestor
    http://docs.oracle.com/cd/E11882_01/install.112/e22489/typinstl.htm#BABDFFDG


    Thanks
    Mahir M. Quluzade
    www.mahir-quluzade.com
  • 7. Re: How many SCAN listners for 2 node rac ?
    698658 Newbie
    Currently Being Moderated
    Thank You.
    Regards
    GregG

Legend

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