8 Replies Latest reply: Nov 15, 2012 11:58 AM by nnarimanov RSS

    INS-40922 Invalid Scan Name - Unresolvable to IP address

    963732
      Hi

      During grind (Latest version) installation on Oracle Linux 5.7 I am getting the subject error, the /etc/hosts file contains the following entries on both nodes ( I am not running DNS) :

      127.0.0.1 localhost.localdomain localhost
      # Public
      192.168.2.101 rac1.localdomain rac1
      192.168.2.102 rac2.localdomain rac2
      # Private
      192.168.0.101 rac1-priv.localdomain rac1-priv
      192.168.0.102 rac2-priv.localdomain rac2-priv
      # Virtual
      192.168.2.111 rac1-vip.localdomain rac1-vip
      192.168.2.112 rac2-vip.localdomain rac2-vip
      # SCAN
      192.168.2.201 rac-scan.localdomain rac-scan
      192.168.2.202 rac-scan.localdomain rac-scan
      192.168.2.203 rac-scan.localdomain rac-scan

      The IP addresses for rac-scan are not attached to any network adapter therefore are not resolvable, its a test setup just to check out the grid infrastructure, I have setup the nodes on vmware workstation.

      Should I add another adaptor, one each on both nodes, and assign the rac-scan ips to them ?

      Please help me fix it.
      thx
      T
        • 1. Re: INS-40922 Invalid Scan Name - Unresolvable to IP address
          phaeus
          Hello,
          i don`t think you need a other adapter for the scan. The Installer checks your scan is setup correct, which means it should not apear in your hosts file. SCAN Adapter must be in a simple setup configured in the DNS not in the hosts.
          In your setup the host cannot resolve to a second ip address, because it search from the first line of your hosts to the first finding. In this case never a second IP can be resolved.
          If you want this setup i suggest to setup a small named name server to do this for you.
          Also check
          Solutions for Typical 11gR2 Grid Infrastructure/RAC Database runInstaller Issues [ID 1056713.1]

          regards
          Peter
          • 2. Re: INS-40922 Invalid Scan Name - Unresolvable to IP address
            963732
            Thanks Peter for your response.

            I have now setup DNS on both nodes as master and slave, but I am still getting the same error, here is the output of the dig command on rac-scan

            [oracle@rac1 grid]$ dig @192.168.2.101 rac-scan.localdomain

            ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.5 <<>> @192.168.2.101 rac-scan.localdomain
            ; (1 server found)
            ;; global options: printcmd
            ;; Got answer:
            ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 57765
            ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

            ;; QUESTION SECTION:
            ;rac-scan.localdomain. IN A

            ;; AUTHORITY SECTION:
            localdomain. 3600 IN SOA rac1.localdomain. rac1.localdomain. 22 900 600 86400 3600

            ;; Query time: 4 msec
            ;; SERVER: 192.168.2.101#53(192.168.2.101)
            ;; WHEN: Tue Oct 30 15:34:37 2012
            ;; MSG SIZE rcvd: 79

            ---------

            Here's how the /etc/hosts file looks now :


            127.0.0.1 localhost.localdomain localhost
            # Public
            192.168.2.101 rac1.localdomain rac1
            192.168.2.102 rac2.localdomain rac2
            # Private
            192.168.0.101 rac1-priv.localdomain rac1-priv
            192.168.0.102 rac2-priv.localdomain rac2-priv
            # Virtual
            192.168.2.111 rac1-vip.localdomain rac1-vip
            192.168.2.112 rac2-vip.localdomain rac2-vip
            # SCAN
            #192.168.2.201 rac-scan.localdomain rac-scan
            #192.168.2.202 rac-scan.localdomain rac-scan
            #192.168.2.203 rac-scan.localdomain rac-scan

            ------------


            Is there anything else that I am missing - Please help
            Thx
            T
            • 3. Re: INS-40922 Invalid Scan Name - Unresolvable to IP address
              phaeus
              Hello,
              your DNS needs to resolve your A Record to 3 IP Adresses in the reverse lookup (in your example).

              Maybe i am wrong but i did not find one of your SCAN IP`s in your Output ?

              #192.168.2.201 rac-scan.localdomain rac-scan
              #192.168.2.202 rac-scan.localdomain rac-scan
              #192.168.2.203 rac-scan.localdomain rac-scan

              The Hosts File seem correct (for this node) also be sure you have the same configuration on both nodes.


              Sample:
              [root@server1 ~]# dig scan1.local

              ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> scan1.local
              ;; global options: printcmd
              ;; Got answer:
              ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44767
              ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

              ;; QUESTION SECTION:
              ;scan1.local. IN A

              ;; ANSWER SECTION:
              scan1.local. 3600 IN A *192.168.1.231*

              ;; Query time: 0 msec
              ;; SERVER: 192.168.1.88#53(192.168.1.88)
              ;; WHEN: Tue Oct 30 11:59:11 2012
              ;; MSG SIZE rcvd: 65

              [root@server1 ~]#

              regards
              Peter

              Edited by: phaeus on 30.10.2012 11:59
              • 4. Re: INS-40922 Invalid Scan Name - Unresolvable to IP address
                963732
                Hi Peter,
                thanks for pointing out the problem with dig outcome which I have fixed now and here are the new results:

                [oracle@rac1 grid]$ dig rac-scan.localdomain

                ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.5 <<>> rac-scan.localdomain
                ;; global options: printcmd
                ;; Got answer:
                ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1941
                ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 2

                ;; QUESTION SECTION:
                ;rac-scan.localdomain. IN A

                ;; ANSWER SECTION:
                rac-scan.localdomain. 3600 IN A 192.168.2.203
                rac-scan.localdomain. 3600 IN A 192.168.2.201
                rac-scan.localdomain. 3600 IN A 192.168.2.202

                ;; AUTHORITY SECTION:
                localdomain. 3600 IN NS rac1.localdomain.
                localdomain. 3600 IN NS rac2.localdomain.

                ;; ADDITIONAL SECTION:
                rac1.localdomain. 3600 IN A 192.168.2.101
                rac2.localdomain. 3600 IN A 192.168.2.102

                ;; Query time: 3 msec
                ;; SERVER: 192.168.2.101#53(192.168.2.101)
                ;; WHEN: Tue Oct 30 17:44:29 2012
                ;; MSG SIZE rcvd: 156

                ----

                However, unfortunately I am still getting the same error message.

                Any ideas ?
                Thanks for your help
                Rgds
                T
                • 5. Re: INS-40922 Invalid Scan Name - Unresolvable to IP address
                  phaeus
                  Hello,
                  can you check your oraInventory Logfiles? Look for the *.err File and the log file. They have may more Information about details of your error.

                  Also check your Nameresolution if the Reverse Lookup is correct. Means check hostname to ip (what you have done already) and ip to hostname resolution.

                  regards
                  Peter
                  • 6. Re: INS-40922 Invalid Scan Name - Unresolvable to IP address
                    963732
                    Hi Peter
                    The problem was with the name in the scan name box on the installer which by default is scan-cluster when I changed it to rac-scan it went through ( my mistake ).

                    However I have a new problem now may be I should open a new thread for that ?
                    The problem is the high memory usage by the oracle installer which eats up too much memory which freezes my VM and I don't have enough RAM to allocate more, so what I am looking for is to limit the Installer to a specific memory size usage.

                    Do you have any idea how can I do that, the installer is using Java and it runs so many JREs in a single process and I have no clue how to limit it to a max memory size.

                    Thanks
                    Rgds.
                    Tariq
                    • 7. Re: INS-40922 Invalid Scan Name - Unresolvable to IP address
                      973278
                      rac node require atleast 2gb
                      • 8. Re: INS-40922 Invalid Scan Name - Unresolvable to IP address
                        nnarimanov
                        Hi,

                        Please ensure that none of IPs in SCAN is used. In other words SCAN VIPs should be unused and pinged. Also SCAN should not be defined in /etc/hosts

                        Regards