Search This Blog

Thursday 4 August 2022

Oracle Grid Infrastructure CRS status showing offline


Oracle GI CRS status is showing offline in Red Hat Linux, and because CRS is not up and running, it won't allow ASM instance to start.


check the status of the GI resource


login with "grid" os user and run the following command


[root@oracle12cdb1 bin]# ./crsctl status res -t

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

Name           Target  State        Server                   State details

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

Local Resources

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

ora.CRS.dg

               OFFLINE  OFFLINE       oracle12cdb1             STABLE

ora.DATA.dg

               OFFLINE  OFFLINE       oracle12cdb1             STABLE

ora.FRS.dg

               OFFLINE  OFFLINE       oracle12cdb1             STABLE

ora.LISTENER.lsnr

               ONLINE  ONLINE       oracle12cdb1             STABLE

ora.LISTENER12C.lsnr

               ONLINE  ONLINE       oracle12cdb1             STABLE

ora.asm

               OFFKINE  OFFLINE       oracle12cdb1             STABLE

ora.ons

               OFFLINE OFFLINE      oracle12cdb1             STABLE

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

Cluster Resources

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

ora.cssd

      1        ONLINE  ONLINE       oracle12cdb1             STABLE

ora.diskmon

      1        OFFLINE OFFLINE                               STABLE

ora.evmd

      1        ONLINE  ONLINE       oracle12cdb1             STABLE

ora.ora12cr2global.db

      1        ONLINE  OFFLINE                               STABLE

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


- To resolve the issue, do the following command, please take all the backups of GI , CRS 

run the following command

                  crsctl stop res ora.CRS.dg -init
                  
                    crsctl status res -t
                  
                    crsctl modify res ora.CRS.dg -attr ENABLED=0 -init
                   
                     crsctl status res -t
                   
                    crsctl modify res ora.CRS.dg -attr ENABLED=1 -init
                   
                    crsctl status res -t

                    crsctl start res ora.CRS.dg -init


[grid@oracle12cdb1 ~]$ crsctl status res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  ONLINE       oracle12cdb1             STABLE
ora.DATA.dg
               ONLINE  ONLINE       oracle12cdb1             STABLE
ora.FRS.dg
               ONLINE  ONLINE       oracle12cdb1             STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       oracle12cdb1             STABLE
ora.LISTENER12C.lsnr
               ONLINE  ONLINE       oracle12cdb1             STABLE
ora.asm
               ONLINE  ONLINE       oracle12cdb1             Started,STABLE
ora.ons
               OFFLINE OFFLINE      oracle12cdb1             STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        ONLINE  ONLINE       oracle12cdb1             STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.evmd
      1        ONLINE  ONLINE       oracle12cdb1             STABLE
ora.ora12cr2global.db
      1        ONLINE  OFFLINE                               STABLE




No comments:

Oracle 19c - patch 19.22 unavailability for Windows platform

 Oracle 19c - patch 19.22 unavailability for Windows platform  Having upgraded the Oracle 11g 11.2.0.4 database to Oracle 19c 19.3.0.0.0 whi...