5 Replies Latest reply: May 19, 2011 5:07 AM by user982764 RSS

    GI installation on a single-node cluster error.

    user982764
      Hello, I am trying to install GI on a single-node cluster (Solaris 10 / Sparc) but the root.sh script fails with the following error (this is not a GI installation for a Standalone Server :

      root@selvac./dev/ASM/OCRVTD_DG # /app/oracle/grid/11.2/root.sh
      Running Oracle 11g root script...

      The following environment variables are set as:
      ORACLE_OWNER= grid
      ORACLE_HOME= /app/oracle/grid/11.2

      Enter the full pathname of the local bin directory: [usr/local/bin]:
      Copying dbhome to /usr/local/bin ...
      Copying oraenv to /usr/local/bin ...
      Copying coraenv to /usr/local/bin ...


      Creating /var/opt/oracle/oratab file...
      Entries will be added to the /var/opt/oracle/oratab file as needed by
      Database Configuration Assistant when a database is created
      Finished running generic part of root script.
      Now product-specific root actions will be performed.
      Using configuration parameter file: /app/oracle/grid/11.2/crs/install/crsconfig_params
      Creating trace directory
      LOCAL ADD MODE
      Creating OCR keys for user 'root', privgrp 'root'..
      Operation successful.
      OLR initialization - successful
      root wallet
      root wallet cert
      root cert export
      peer wallet
      profile reader wallet
      pa wallet
      peer wallet keys
      pa wallet keys
      peer cert request
      pa cert request
      peer cert
      pa cert
      peer root cert TP
      profile reader root cert TP
      pa root cert TP
      peer pa cert TP
      pa peer cert TP
      profile reader pa cert TP
      profile reader peer cert TP
      peer user cert
      pa user cert
      Adding daemon to inittab
      ACFS-9200: Supported
      ACFS-9300: ADVM/ACFS distribution files found.
      ACFS-9312: Existing ADVM/ACFS installation detected.
      ACFS-9314: Removing previous ADVM/ACFS installation.
      ACFS-9315: Previous ADVM/ACFS components successfully removed.
      ACFS-9307: Installing requested ADVM/ACFS software.
      ACFS-9308: Loading installed ADVM/ACFS drivers.
      ACFS-9327: Verifying ADVM/ACFS devices.
      ACFS-9309: ADVM/ACFS installation correctness verified.
      CRS-2672: Attempting to start 'ora.mdnsd' on 'selvac'
      CRS-2676: Start of 'ora.mdnsd' on 'selvac' succeeded
      CRS-2672: Attempting to start 'ora.gpnpd' on 'selvac'
      CRS-2676: Start of 'ora.gpnpd' on 'selvac' succeeded
      CRS-2672: Attempting to start 'ora.cssdmonitor' on 'selvac'
      CRS-2672: Attempting to start 'ora.gipcd' on 'selvac'
      CRS-2676: Start of 'ora.cssdmonitor' on 'selvac' succeeded
      CRS-2676: Start of 'ora.gipcd' on 'selvac' succeeded
      CRS-2672: Attempting to start 'ora.cssd' on 'selvac'
      CRS-2672: Attempting to start 'ora.diskmon' on 'selvac'
      CRS-2676: Start of 'ora.diskmon' on 'selvac' succeeded
      CRS-2676: Start of 'ora.cssd' on 'selvac' succeeded

      ASM created and started successfully.

      Disk Group OCRVTD_DG created successfully.

      The ora.asm resource is not ONLINE
      Did not succssfully configure and start ASM at /app/oracle/grid/11.2/crs/install/crsconfig_lib.pm line 6465.
      /app/oracle/grid/11.2/perl/bin/perl -I/app/oracle/grid/11.2/perl/lib -I/app/oracle/grid/11.2/crs/install /app/oracle/grid/11.2/crs/install/rootcrs.pl execution failed

      I also found the "PRVF-5150: Path OCRL:DISK1 is not a valid path on all nodes" error but as I have read it is a bug I Ignored it. But...
      I think my ASM_DG OCR and voting is ok, accessible by grid user and 660. It seems ASM does not start or does not start in time.

      Any help is wellcome.

      Thanks in advance.
        • 1. Re: GI installation on a single-node cluster error.
          wiZ
          Hi,

          have look at metalink id 1259874.1: "root.sh Fails as the ora.asm resource is not ONLINE or PROTL-16 Reports"

          And please mark your questions as answered and helpful/correct..

          Regards,

          - wiZ
          • 2. Re: GI installation on a single-node cluster error.
            user982764
            Thanks a lot for the hint. I had already checked this doc. but I think it is not the problem. Actually de error ora.asm is not online is not correct. After failing root.sh, ora.asm is ONLINE:
            root@selvac./app/oracle/grid/11.2/bin # ./crsctl check resource ora.asm -init
            root@selvac./app/oracle/grid/11.2/bin # ./crsctl stat resource ora.asm -init
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=ONLINE on selvac

            The last part of the /app/oracle/grid/11.2/cfgtoollogs/crsconfig/rootcrs_selvac.log file reads :

            >
            ASM created and started successfully.

            Disk Group OCRVTD_DG created successfully.

            End Command output
            2011-04-14 13:24:16: Executing cmd: /app/oracle/grid/11.2/bin/crsctl check resource ora.asm -init
            2011-04-14 13:24:17: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:24:17: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:24:17: Checking the status of ora.asm
            2011-04-14 13:24:22: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:24:22: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:24:22: Checking the status of ora.asm
            2011-04-14 13:24:27: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:24:28: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:24:28: Checking the status of ora.asm
            2011-04-14 13:24:33: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:24:33: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:24:33: Checking the status of ora.asm
            2011-04-14 13:24:38: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:24:38: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:24:38: Checking the status of ora.asm
            2011-04-14 13:24:43: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:24:43: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:24:43: Checking the status of ora.asm
            2011-04-14 13:24:48: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:24:49: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:24:49: Checking the status of ora.asm
            2011-04-14 13:24:54: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:24:54: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:24:54: Checking the status of ora.asm
            2011-04-14 13:24:59: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:24:59: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:24:59: Checking the status of ora.asm
            2011-04-14 13:25:04: Executing cmd: /app/oracle/grid/11.2/bin/crsctl status resource ora.asm -init
            2011-04-14 13:25:04: Command output:
            NAME=ora.asm
            TYPE=ora.asm.type
            TARGET=ONLINE
            STATE=OFFLINE

            End Command output
            2011-04-14 13:25:04: Checking the status of ora.asm
            2011-04-14 13:25:09: The ora.asm resource is not ONLINE
            2011-04-14 13:25:09: Running as user grid: /app/oracle/grid/11.2/bin/cluutil -ckpt -oraclebase /app/grid -writeckpt -name ROOTCRS_BOOTCFG -state FAIL
            2011-04-14 13:25:09: s_run_as_user2: Running /bin/su grid -c ' /app/oracle/grid/11.2/bin/cluutil -ckpt -oraclebase /app/grid -writeckpt -name ROOTCRS_BOOTCFG -state FAIL '
            2011-04-14 13:25:10: Removing file /var/tmp/mbahSaGPn
            2011-04-14 13:25:10: Successfully removed file: /var/tmp/mbahSaGPn
            2011-04-14 13:25:10: /bin/su successfully executed

            2011-04-14 13:25:10: Succeeded in writing the checkpoint:'ROOTCRS_BOOTCFG' with status:FAIL
            2011-04-14 13:25:10: ###### Begin DIE Stack Trace ######
            2011-04-14 13:25:10: Package File Line Calling
            2011-04-14 13:25:10: --------------- -------------------- ---- ----------
            2011-04-14 13:25:10: 1: main rootcrs.pl 322 crsconfig_lib::dietrap
            2011-04-14 13:25:10: 2: crsconfig_lib crsconfig_lib.pm 6465 main::__ANON__
            2011-04-14 13:25:10: 3: crsconfig_lib crsconfig_lib.pm 6390 crsconfig_lib::perform_initial_config
            2011-04-14 13:25:10: 4: main rootcrs.pl 671 crsconfig_lib::perform_init_config
            2011-04-14 13:25:10: ####### End DIE Stack Trace #######

            2011-04-14 13:25:10: 'ROOTCRS_BOOTCFG' checkpoint has failed

            So this must be a bug. During root.sh execution ora.asm is OFFLINE but after failing it is ONLINE. It maight be a question of waiting/repeating or timeout as I see the "Checking the status of ora.asm" command is repeated several times during root.sh, but not enough perhaps. Now root.sh is failed, installation halted but ASM is ONLINE.

            Any other Idea?

            Thanks again.
            • 3. Re: GI installation on a single-node cluster error.
              Sebastian Solbach -Dba Community-Oracle
              What does the alertlog of ASM tell?

              adrci
              show alert
              Regards
              Sebastian
              • 4. Re: GI installation on a single-node cluster error.
                855753
                having same issue... while installing 3 node cluster...

                anyone having the same problem and resolved ?

                Edited by: 852750 on Apr 15, 2011 4:46 PM
                • 5. Re: GI installation on a single-node cluster error.
                  user982764
                  Sorry for this late update. In the end the error I found during root.sh execution was due to the fact that, although I am installing GI 11.2.0.2 on 1 single node simulating a cluster with 1 member node, the interconnect MUST be cabled, UP and RUNNIG. It is not enough to have the IP interconnect up (ifconfig) on the interconnect interface; this interconnect must be cabled so that system set it as RUNNING. This requires a network cable to a switch/router with the corresponding port correctly defined for the private VLAN or an RJ45 stopper on it. It is not very logical and makes me think this kind of installation, GI on a single node, is not correctly documented.
                  Thanks for your kind help.

                  Edited by: MarcosCB on 19-may-2011 3:06