Sunday, 12 January 2025

Oracle 19C RAC Shutdown sequence step by step

 Dear All,

In this post i am going to show you how to shut down oracle 19C rac step by step.

>> by using ./crsctl stop crs   command we can stop the cluster and database services.

Step1 :: check the status of the cluster local and Cluster resources using below command .





below is the log in text format :

================================

[root@racslab1 bin]# ./crsctl stat res -t

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

Name           Target  State        Server                   State details

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

Local Resources

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

ora.LISTENER.lsnr

               ONLINE  OFFLINE      racslab1                 STABLE

ora.LISTENER_RACSDB.lsnr

               ONLINE  OFFLINE      racslab1                 STABLE

ora.chad

               ONLINE  ONLINE       racslab1                 STABLE

ora.net1.network

               ONLINE  ONLINE       racslab1                 STABLE

ora.ons

               ONLINE  ONLINE       racslab1                 STABLE

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

Cluster Resources

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

ora.ARCH.dg(ora.asmgroup)

      1        ONLINE  ONLINE       racslab1                 STABLE

      2        OFFLINE OFFLINE                               STABLE

      3        OFFLINE OFFLINE                               STABLE

ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup)

      1        ONLINE  ONLINE       racslab1                 STABLE

      2        ONLINE  OFFLINE                               STABLE

      3        ONLINE  OFFLINE                               STABLE

ora.DATA.dg(ora.asmgroup)

      1        ONLINE  ONLINE       racslab1                 STABLE

      2        OFFLINE OFFLINE                               STABLE

      3        OFFLINE OFFLINE                               STABLE

ora.LISTENER_SCAN1.lsnr

      1        ONLINE  ONLINE       racslab1                 STABLE

ora.LISTENER_SCAN2.lsnr

      1        ONLINE  ONLINE       racslab1                 STABLE

ora.LISTENER_SCAN3.lsnr

      1        ONLINE  ONLINE       racslab1                 STABLE

ora.OCR.dg(ora.asmgroup)

      1        ONLINE  ONLINE       racslab1                 STABLE

      2        OFFLINE OFFLINE                               STABLE

      3        OFFLINE OFFLINE                               STABLE

ora.asm(ora.asmgroup)

      1        ONLINE  ONLINE       racslab1                 Started,STABLE

      2        ONLINE  OFFLINE                               STABLE

      3        OFFLINE OFFLINE                               STABLE

ora.asmnet1.asmnetwork(ora.asmgroup)

      1        ONLINE  ONLINE       racslab1                 STABLE

      2        ONLINE  OFFLINE                               STABLE

      3        OFFLINE OFFLINE                               STABLE

ora.cvu

      1        ONLINE  ONLINE       racslab1                 STABLE

ora.qosmserver

      1        ONLINE  ONLINE       racslab1                 STABLE

ora.racsdb.db

      1        ONLINE  ONLINE       racslab1                 Open,HOME=/u01/app/o

                                                             racle/product/19.0.0

                                                             /dbhome_1,STABLE

      2        ONLINE  OFFLINE                               STABLE

ora.racslab1.vip

      1        ONLINE  OFFLINE                               STABLE

ora.racslab2.vip

      1        ONLINE  OFFLINE                               STABLE

ora.scan1.vip

      1        ONLINE  ONLINE       racslab1                 STABLE

ora.scan2.vip

      1        ONLINE  ONLINE       racslab1                 STABLE

ora.scan3.vip

      1        ONLINE  ONLINE       racslab1                 STABLE

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

[root@racslab1 bin]# 


step 2 : stop the cluster and database services using below command 



Uploading: 101425 of 101425 bytes uploaded.





Below is the log for cluster stop details :
================================
[root@racslab1 bin]# ./crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'racslab1'
CRS-2673: Attempting to stop 'ora.crsd' on 'racslab1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'racslab1'
CRS-2673: Attempting to stop 'ora.chad' on 'racslab1'
CRS-2673: Attempting to stop 'ora.racsdb.racsdbs.svc' on 'racslab1'
CRS-2673: Attempting to stop 'ora.qosmserver' on 'racslab1'
CRS-2677: Stop of 'ora.racsdb.racsdbs.svc' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.racsdb.db' on 'racslab1'
CRS-2677: Stop of 'ora.racsdb.db' on 'racslab1' succeeded
CRS-33673: Attempting to stop resource group 'ora.asmgroup' on server 'racslab1'
CRS-2673: Attempting to stop 'ora.OCR.dg' on 'racslab1'
CRS-2673: Attempting to stop 'ora.ARCH.dg' on 'racslab1'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'racslab1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'racslab1'
CRS-2673: Attempting to stop 'ora.LISTENER_RACSDB.lsnr' on 'racslab1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'racslab1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'racslab1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'racslab1'
CRS-2673: Attempting to stop 'ora.cvu' on 'racslab1'
CRS-2677: Stop of 'ora.ARCH.dg' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.OCR.dg' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'racslab1'
CRS-2677: Stop of 'ora.qosmserver' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.cvu' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.LISTENER_RACSDB.lsnr' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.racslab1.vip' on 'racslab1'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'racslab1'
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'racslab1'
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'racslab1'
CRS-2677: Stop of 'ora.scan1.vip' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.racslab1.vip' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.scan2.vip' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.scan3.vip' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.asm' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'racslab1'
CRS-2677: Stop of 'ora.chad' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.asmnet1.asmnetwork' on 'racslab1'
CRS-2677: Stop of 'ora.asmnet1.asmnetwork' on 'racslab1' succeeded
CRS-33677: Stop of resource group 'ora.asmgroup' on server 'racslab1' succeeded.
CRS-2673: Attempting to stop 'ora.ons' on 'racslab1'
CRS-2677: Stop of 'ora.ons' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'racslab1'
CRS-2677: Stop of 'ora.net1.network' on 'racslab1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'racslab1' has completed
CRS-2677: Stop of 'ora.crsd' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'racslab1'
CRS-2673: Attempting to stop 'ora.crf' on 'racslab1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'racslab1'
CRS-2677: Stop of 'ora.crf' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.storage' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'racslab1'
CRS-2677: Stop of 'ora.mdnsd' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.asm' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'racslab1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'racslab1'
CRS-2673: Attempting to stop 'ora.evmd' on 'racslab1'
CRS-2677: Stop of 'ora.ctssd' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'racslab1'
CRS-2677: Stop of 'ora.cssd' on 'racslab1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'racslab1'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'racslab1'
CRS-2677: Stop of 'ora.gipcd' on 'racslab1' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'racslab1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'racslab1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@racslab1 bin]#

step 3 : check the status of the cluster 



Its not running , we need to start the services using crsctl start crs , check my preview post for start up the oracle 19c rac services .. 

https://anjaniappsdba.blogspot.com/2025/01/


Thanks,
Srini

No comments:

Post a Comment


No one has ever become poor by giving