2 Replies Latest reply: Feb 1, 2014 7:31 PM by Vandana B -Oracle RSS

    Scan IP is configured only in one node

    007

      Hi,

       

      I have set up Oracle 11GR2 (11.2.0.1) RAC in my VMware. When i checked the scan ip and scan listener it shows that it is configured only in 2nd node not in first node.The nslookup command works fine as shown below and when i checked the srvctl status scan_listener and srvctl status scan it shows that it is running only in second node.I have checked in few sites where the srvctl status scan_listener and srvctl status scan command shows output of all nodes.Can anyone help me out what could be the problem or how to configure the scan ip and scan listener in 1st node.

       

      *********************

      /etc/hosts file

      *********************

      # Do not remove the following line, or various programs

      # that require network functionality will fail.

      127.0.0.1               localhost.localdomain localhost

      #::1            localhost6.localdomain6 localhost6

       

       

      #public

      192.168.32.142 mark.oracle.com mark

      192.168.32.152 nike.oracle.com nike

      #private

      10.0.0.56 mark-prv.oracle.com mark-prv

      10.0.0.57 nike-prv.oracle.com nike-prv

      #vip

      192.168.32.20 mark-vip.oracle.com  mark-vip

      192.168.32.21 nike-vip.oracle.com  nike-vip

      #scan

      192.168.32.153   db1-scan.oracle.com  db1-scan

      192.168.32.154   db1-scan.oracle.com  db1-scan

      192.168.32.155   db1-scan.oracle.com  db1-scan

       

       

      ****************************************

      srvctl command output

      ***************************************

      [oracle@nike bin]$ ./srvctl status scan_listener

      SCAN Listener LISTENER_SCAN1 is enabled

      SCAN listener LISTENER_SCAN1 is running on node nike

       

       

      [oracle@nike bin]$ ./srvctl status scan

      SCAN VIP scan1 is enabled

      SCAN VIP scan1 is running on node nike

       

       

      ***********************************

      ns lookup command output

      ***********************************

      [oracle@mark bin]$ nslookup db1-scan

      Server:         192.168.32.142

      Address:        192.168.32.142#53

       

       

      Name:   db1-scan

      Address: 192.168.32.155

      Name:   db1-scan

      Address: 192.168.32.153

      Name:   db1-scan

      Address: 192.168.32.154

       

       

      [oracle@mark bin]$

      [oracle@mark bin]$

      [oracle@mark bin]$ nslookup db1-scan

      Server:         192.168.32.142

      Address:        192.168.32.142#53

       

       

      Name:   db1-scan

      Address: 192.168.32.153

      Name:   db1-scan

      Address: 192.168.32.154

      Name:   db1-scan

      Address: 192.168.32.155

       

       

      [oracle@mark bin]$

      [oracle@mark bin]$ nslookup db1-scan

      Server:         192.168.32.142

      Address:        192.168.32.142#53

       

       

      Name:   db1-scan

      Address: 192.168.32.154

      Name:   db1-scan

      Address: 192.168.32.155

      Name:   db1-scan

      Address: 192.168.32.153

       

      ****************************************************************************************

       

      Regards,

      007

        • 1. Re: Scan IP is configured only in one node
          Nelson Calero

          Hi,

           

          This is the expected behavior if using /etc/hosts file instead of DNS/GNS. It is documented on the note "RAC: Frequently Asked Questions (Doc ID 220970.1)"

           

          If you want to have more than one scan listener, then start using DNS for scan name resolution.

           

          Regards.

          Nelson

          • 2. Re: Scan IP is configured only in one node
            Vandana B -Oracle

            When configuring multiple IP's for scan, the same should be done from DNS and not /etc/hosts.

             

             

            when multiple entries for 1 scan name are added into /etc/hosts then the OS cannot interpret the same, and will always pick and parse only 1 IP from the list specified in the /etc/hosts file

             

             

            Please refer to the below mentioned document for further understanding of SCAN and its requirements

             

             

            Ref: How to Configure the DNS Server for SCAN VIP on Linux for 11gR2 GI installation (Doc ID 1107295.1)

            Ref: 11gR2 Grid Infrastructure Single Client Access Name (SCAN) Explained (Doc ID 887522.1)

             

            Regards,

            Vandana - Oracle