4 Replies Latest reply on Mar 28, 2012 5:45 PM by Cuong Pham

    INS-40719, SCAN name problem when installing Grid Infra

    Cuong Pham
      Hello everyone.
      I have a big trouble when installing Oracle Grid Infrastructure 11gR2. When I run into Cluster configuration, I meet the following error message:
      Broadcast message from oracle (pts/2) (Wed Mar 28 16:36:14 2012):
      
      Cause - The installer could not find the IP addresses you selected as SCAN addresses. This may be because they are assigned to another system, or the IP addresses are not listed in the DNS or hosts files as assigned to this domain name.  Action - Enter resolvable IP addresses to use as SCAN addresses.
      I tried to install Grid Infra on two Vmware machines, these are configurations on those machines:

      On vm4:
      - eth0, eth2, eth3: configured to bridged network (subnet: 192.168.50.0), that connected already to vmnet bridged interface
      - eth1: configured to host only network (subnet: 192.168.150.0), that connected already to vmnet host-only interface
      */etc/hosts:*
      192.168.50.185  vm4.vzone       vm4
      192.168.150.104     vm4-priv.vzone     vm4-priv
      192.168.150.105     vm5-priv.vzone     vm5-priv
      127.0.0.1     localhost.localdomain localhost
      On vm5
      There are 4 NIC cards (same to vm4 machine):
      - eth0, eth2, eth3: configured to bridged network (subnet: 192.168.50.0)
      - eth1: configured to host only network (subnet: 192.168.150.0)
      */etc/hosts:*
      192.168.50.184     vm5.vzone     vm5
      192.168.150.104 vm4-priv.vzone  vm4-priv
      192.168.150.105 vm5-priv.vzone  vm5-priv
      127.0.0.1     localhost.localdomain localhost
      On private DNS server:
      *vzone.db*
      
      $TTL 1W
      @     IN SOA     vm3.vzone. root.vm3.vzone. (
           2;
           3H;
           15M;
           1W;
           1D;
      )
           IN NS     vm3.vzone
      vm3     IN A     192.168.50.183
      vm4     IN A     192.168.50.185
      vm5     IN A     192.168.50.184
      vm4-priv     IN A     192.168.150.104
      vm5-priv     IN A     192.168.150.105
      vm-scan     IN A     192.168.50.211
           IN A     192.168.50.186
           IN A     192.168.50.210
           IN A     192.168.50.187
      
      
      *reverse zone file:*
      $TTL 1D
      @     IN     SOA vm3.vzone.     root.vm3.vzone. (
           3;
           3H;
           1H;
           1W;
           1H;
      )
           IN NS     vm3.vzone.
      183     IN PTR     vm3.vzone.
      185     IN PTR     vm4.vzone.
      184     IN PTR     vm5.vzone.
      211     IN PTR     vm-scan.vzone.
      186     IN PTR     vm-scan.vzone.
      210     IN PTR     vm-scan.vzone.
      187     IN PTR     vm-scan.vzone.
      I can ensure the success of these command:
      nslookup vm4
      nslookup vm5
      nslookup vm-scan : resolved to 4 IP address with round-robin
      When I tried to install Grid Infra, the Installer error on Cluster configuration step, I found these log contents from log file:
      ===> file oraInstall2012-03-28_04-10-38PM.err 
      
      ERROR: vm-cluster: vm-cluster
      java.net.UnknownHostException: vm-cluster: vm-cluster
              at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
              at java.net.InetAddress.getAllByName(InetAddress.java:1072)
              at java.net.InetAddress.getAllByName(InetAddress.java:1008)
              at java.net.InetAddress.getByName(InetAddress.java:958)
              at oracle.install.ivw.crs.validator.CRSValidationHelper.validateSCANVIP(
      CRSValidationHelper.java:660)
              at oracle.install.ivw.crs.validator.ClusterInfoValidator.validate(ClusterInfoValidator.java:96)
              at oracle.install.commons.flow.validation.ValidationHelper.validateState(ValidationHelper.java:178)
              at oracle.install.commons.flow.AbstractFlowExecutor.validate(AbstractFlowExecutor.java:394)
              at oracle.install.commons.flow.AbstractFlowExecutor.leaveVertex(AbstractFlowExecutor.java:607)
              at oracle.install.commons.flow.AbstractFlowExecutor.transition(AbstractFlowExecutor.java:321)
              at oracle.install.commons.flow.AbstractFlowExecutor.nextState(AbstractFlowExecutor.java:261)
              at oracle.install.commons.flow.AbstractFlowExecutor.nextViewState(AbstractFlowExecutor.java:220)
      
      ========> file installActions2012-03-28_04-10-38PM.log 
      INFO: Preparing to check passwordless SSH Connectivity between nodes: [vm4, vm5]
      INFO: Testing passwordless SSH connectivity between the selected nodes. This may take several minutes, please wait...
      INFO: OverallStatus of User Equivalence check using CVU is SUCCESSFUL
      INFO: Finding passwordless SSH connectivity setup on remote nodes
      INFO: Checking passwordless SSH connectivity from vm5
      INFO: Passwordless SSH connectivity not setup from vm5 to the following nodes: [vm5]
      INFO: Remote node(s) not configured for passwordless SSH connectivity : [vm5]
      INFO: Waiting for completion of background operations
      INFO: Completed background operations
      INFO: Validating view at state <ClusterInfoUI>
      INFO: Completed validating view at state <ClusterInfoUI>
      INFO: Validating state <ClusterInfoUI>
      INFO: Validating SCAN Information
      INFO: validating SCAN name for emptiness and bad chars
      INFO: Validating SCAN VIP
      SEVERE: ERROR: vm-cluster: vm-cluster
      SEVERE: [FATAL] [INS-40922] Invalid SCAN Name - unresolvable to IP address.
         CAUSE: Unable to resolve SCAN Name to an IP Address
         ACTION: Be sure the SCAN Name is valid and resolvable to an IP Address.
      SEVERE: [FATAL] [INS-40718] Single Client Access Name (SCAN) name:vm-cluster could not be resolved.
         CAUSE: The SCAN name could not be resolved using TCP/IP host name lookup.
         ACTION: Specify a SCAN name for which the domain can be resolved.
      INFO: Advice is ABORT
      Can you help me to detect this problem? I've search clearly on Google but cannot found something helpful. By the way, can you give me some suggestion of step to install Oracle DB 11gR2 RAC:

      - should we install Grid Infra for standalone server or RAC ?

      Any suggestion is appreciated :)

      Regards
        • 1. Re: INS-40719, SCAN name problem when installing Grid Infra
          Nikolay Ivankin
          SEVERE: [FATAL] [INS-40718] Single Client Access Name (SCAN) name:vm-cluster could not be resolved.
          Are you able to resolve vm-cluster ?
          • 2. Re: INS-40719, SCAN name problem when installing Grid Infra
            Cuong Pham
            Hi, Nikolay, thank for your quickly reply. I'm sorry, that error was found when I typied wrong cluster name, I think it is not the reason of my trouble. At cluster configuration screen I've entered:

            Cluster name: vm
            SCAN name: vm-scan
            SCAN port: 1521
            (configure GNS: unchecked)

            Then, the installation wizard verify and give me the described error above :(

            And this is the result when I use nslookup to test IP resolving:

            on VM4
            [oracle@vm4 logs]$ nslookup vm-scan
            Server:          192.168.50.183
            Address:     192.168.50.183#53
            
            Name:     vm-scan.vzone
            Address: 192.168.50.211
            Name:     vm-scan.vzone
            Address: 192.168.50.186
            Name:     vm-scan.vzone
            Address: 192.168.50.187
            Name:     vm-scan.vzone
            Address: 192.168.50.210
            
            PING vm-scan.vzone (192.168.50.186) 56(84) bytes of data.
            64 bytes from vm-scan.vzone (192.168.50.186): icmp_seq=1 ttl=64 time=0.031 ms
            64 bytes from vm-scan.vzone (192.168.50.186): icmp_seq=2 ttl=64 time=0.024 ms
            On VM5:
            [oracle@vm5 ~]$ nslookup vm-scan
            Server:          192.168.50.183
            Address:     192.168.50.183#53
            
            Name:     vm-scan.vzone
            Address: 192.168.50.210
            Name:     vm-scan.vzone
            Address: 192.168.50.211
            Name:     vm-scan.vzone
            Address: 192.168.50.186
            Name:     vm-scan.vzone
            Address: 192.168.50.187
            
            [oracle@vm5 ~]$ ping -c 2 vm-scan
            PING vm-scan.vzone (192.168.50.211) 56(84) bytes of data.
            64 bytes from vm-scan.vzone (192.168.50.211): icmp_seq=1 ttl=64 time=0.882 ms
            64 bytes from vm-scan.vzone (192.168.50.211): icmp_seq=2 ttl=64 time=0.159 ms
            The error appear on log file is:
            SEVERE: [FATAL] [INS-40719] IP address configured for Single Client Access Name (SCAN): vm-scan is already assigned to another system.
               CAUSE: The installer could not find the IP addresses you selected as SCAN addresses. This may be because they are assigned to another system, or the IP addresses are not listed in the DNS or hosts files as assigned to this domain name.
               ACTION: Enter resolvable IP addresses to use as SCAN addresses.
            Can you help me to detect this ?

            Regards

            Edited by: Doubt_Man on Mar 28, 2012 5:39 PM
            • 3. Re: INS-40719, SCAN name problem when installing Grid Infra
              Nikolay Ivankin
              Are you able to ping just vm-scan without domain name?

              Also I think you shouldn't use domain names in named configuration:

              211     IN PTR     vm-scan.vzone.

              Just

              211     IN PTR     vm-scan.
              • 4. Re: INS-40719, SCAN name problem when installing Grid Infra
                Cuong Pham
                Hi Nikolay, I've tried already to change the reverse dns record to remove domain name from PTR record, but it's not work, the error still here.
                200     IN PTR  dns.
                131     IN PTR  vm1.
                132     IN PTR  vm2.
                10      IN PTR  vm1-vip.
                11      IN PTR  vm2-vip.
                151     IN PTR  vm-scan.
                152     IN PTR  vm-scan.
                153     IN PTR  vm-scan.
                154     IN PTR  vm-scan.
                The error message:
                SEVERE: [FATAL] [INS-40718] Single Client Access Name (SCAN) name:vm-scan could not be resolved.
                   CAUSE: The SCAN name could not be resolved using TCP/IP host name lookup.
                I do not know why the installer cannot resolve my SCAN name although it can be done with nslookup :(