3 Replies Latest reply: Aug 19, 2013 8:58 PM by 1000685 RSS

    Oracle grid 12c ASM cannot be configured on SLES11 SP3

    1000685

      Hi,

      I installed Grid 12c

      I can’t execute command ‘asmca’, GUI or silent mode ether.

      Asmca log:

      [main] [ 2013-08-15 19:04:15.508 GMT+08:00 ] [ClusterUtil.getASMMode:710]  Calling native code getASMMode

      [main] [ 2013-08-15 19:04:15.719 GMT+08:00 ] [ClusterUtil.getASMMode:714]  Returned from native code

      [main] [ 2013-08-15 19:04:15.720 GMT+08:00 ] [ClusterUtil.getASMMode:715]  mode string returned from native code is NONE

      [main] [ 2013-08-15 19:04:15.726 GMT+08:00 ] [Usmca.checkIfBigClusterAndHubNode:462]  Exception checking big cluster / client clusterPRCA-1084 : Failed to retrieve ASM Mode

      PRKH-1059 : Failed to get ASM mode

      PRKH-1056 : Unexpected CSS error(error code[0])

      PRKH-1002 : Internal HASContext Error: JNI Native Call Failure


      After reinstall, asm started, but still hit the following errors. That makes database fail to online db.

      grid@cdc-d2950l30:~> srvctl status asm -n cdc-d2950l31

      PRCA-1084 : Failed to retrieve ASM Mode

      PRKH-1059 : Failed to get ASM mode

      PRKH-1056 : Unexpected CSS error(error code[0])

      PRKH-1002 : Internal HASContext Error: JNI Native Call Failure

       

      Does anybody know this errors?

       

      Waiting for your suggestion, thank you

       

      BR,

      Johnny

        • 1. Re: Oracle grid 12c ASM cannot be configured on SLES11 SP3
          1000685

          grid@cdc-d2950l30:~> crsctl stat res -t

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

          Name           Target  State        Server                   State details      

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

          Local Resources

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

          ora.ASMDGDMP.dg

                         ONLINE  ONLINE       cdc-d2950l30             STABLE

                         ONLINE  ONLINE       cdc-d2950l31             STABLE

          ora.ASMNET1LSNR_ASM.lsnr

                         ONLINE  ONLINE       cdc-d2950l30             STABLE

                         ONLINE  ONLINE       cdc-d2950l31             STABLE

          ora.LISTENER.lsnr

                         ONLINE  ONLINE       cdc-d2950l30             STABLE

                         ONLINE  ONLINE       cdc-d2950l31             STABLE

          ora.OCRVOTING.dg

                         ONLINE  ONLINE       cdc-d2950l30             STABLE

                         ONLINE  ONLINE       cdc-d2950l31             STABLE

          ora.net1.network

                         ONLINE  ONLINE       cdc-d2950l30             STABLE

                         ONLINE  ONLINE       cdc-d2950l31             STABLE

          ora.ons

                         ONLINE  ONLINE       cdc-d2950l30             STABLE

                         ONLINE  ONLINE       cdc-d2950l31             STABLE

          ora.proxy_advm

                         ONLINE  OFFLINE      cdc-d2950l30             STABLE

                         ONLINE  OFFLINE      cdc-d2950l31             STABLE

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

          Cluster Resources

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

          ora.LISTENER_SCAN1.lsnr

                1        ONLINE  ONLINE       cdc-d2950l30             STABLE

          ora.asm

                1        ONLINE  ONLINE       cdc-d2950l30             STABLE

                2        ONLINE  ONLINE       cdc-d2950l31             STABLE

                3        OFFLINE OFFLINE                               STABLE

          ora.cdc-d2950l30.vip

                1        ONLINE  ONLINE       cdc-d2950l30             STABLE

          ora.cdc-d2950l31.vip

                1        ONLINE  ONLINE       cdc-d2950l31             STABLE

          ora.cvu

                1        ONLINE  ONLINE       cdc-d2950l30             STABLE

          ora.oc4j

                1        OFFLINE OFFLINE                               STABLE

          ora.scan1.vip

                1        ONLINE  ONLINE       cdc-d2950l30             STABLE

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

          • 2. Re: Oracle grid 12c ASM cannot be configured on SLES11 SP3
            Flávio Soares

            I guess that a problem about your node name alias.

             

            Verify that the system can execute remote commands on those nodes.

             

            Check: Oracle Real Application Clusters Tools Messages

            • 3. Re: Oracle grid 12c ASM cannot be configured on SLES11 SP3
              1000685

              It is caused by wrong default setting of oracle environment variable on SLES11SP3.

               

              Issue description:

              1. ASM instance started, but db installer will fail when you install/configure database. The errors are same as the following,
              2. Run ‘srvctl status asm’ will get several errors

              PRCA-1084 : Failed to retrieve ASM Mode

              PRKH-1059 : Failed to get ASM mode

              PRKH-1056 : Unexpected CSS error(error code[0])

              PRKH-1002 : Internal HASContext Error: JNI Native Call Failure

              1. On RHEL5/6, the issue won’t be found.

              Fixed:

              If you want to install 12c on SLES11SP3, please make proper changes of env variable like below,

              # vim /etc/profile.d/oracle.sh

              export ORA_CRS_HOME=/u01/app/grid/product/12.1/gridhome

              export ORA_ASM_HOME=/u01/app/grid/product/12.1/gridhome