Managing Resources

Sequence of stopping  all cluster  resources for a certain Node

Display all resources
[root@grac41 Desktop]# my_crs_stat | egrep 'NAME|grac41|---'
NAME                           TARGET     STATE           SERVER       STATE_DETAILS   
-------------------------      ---------- ----------      ------------ ------------------
ora.DATA.dg                    ONLINE     ONLINE          grac41        
ora.FRA.dg                     ONLINE     ONLINE          grac41        
ora.LISTENER.lsnr              ONLINE     ONLINE          grac41        
ora.OCR.dg                     ONLINE     ONLINE          grac41        
ora.SSD.dg                     ONLINE     ONLINE          grac41        
ora.asm                        ONLINE     ONLINE          grac41       Started 
ora.gsd                        OFFLINE    OFFLINE         grac41        
ora.net1.network               ONLINE     ONLINE          grac41        
ora.ons                        ONLINE     ONLINE          grac41        
ora.registry.acfs              ONLINE     ONLINE          grac41        
ora.LISTENER_SCAN2.lsnr        ONLINE     ONLINE          grac41        
ora.grac4.db                   ONLINE     ONLINE          grac41       Open 
ora.grac4.grac41.svc           ONLINE     ONLINE          grac41        
ora.grac41.vip                 ONLINE     ONLINE          grac41        
ora.scan2.vip                  ONLINE     ONLINE          grac41        
procwatcher                    ONLINE     ONLINE          grac41     

Stop listner, services and databases resources
# crsctl stop resource procwatcher -n grac41
# crsctl stop resource ora.LISTENER.lsnr   -n grac41
# crsctl stop resource ora.LISTENER_SCAN2.lsnr
# crsctl stop resource ora.grac4.grac41.svc
# crsctl stop resource ora.grac41.vip
# crsctl stop resource ora.grac4.db  -n grac41
# crsctl stop resource ora.registry.acfs  -n grac41
# crsctl stop resource ora.scan2.vip 

Stop all ASM Data groups and ASM resources
# crsctl stop resource  ora.DATA.dg -n grac41
# crsctl stop resource ora.FRA.dg
# crsctl stop resource ora.OCR.dg -n grac41
# crsctl stop resource ora.SSD.dg  -n grac41
# crsctl stop resource ora.asm   -n grac41

Stop Network resources
#  crsctl stop  resource  ora.ons -n grac41
#  crsctl stop  resource  ora.net1.network  -n grac41

Stop local resources 
$ crsctl stop resource ora.mdnsd -init
$ crsctl stop resource  ora.crsd -init
$ crsctl stop resource ora.ctssd  -init
$ crsctl stop resource ora.cluster_interconnect.haip -init
$ crsctl stop resource ora.evmd -init
$ crsctl stop resource ora.cssd  -init
$ crsctl stop resource ora.drivers.acfs -init
$ crsctl stop resource  ora.gipcd -init
$ crsctl stop resource  ora.gpnpd -init
[grid@grac41 ~]$  my_crs_stat_init
NAME                           TARGET     STATE           SERVER       STATE_DETAILS   
-------------------------      ---------- ----------      ------------ ------------------
ora.asm                        OFFLINE    OFFLINE                      Instance Shutdown
ora.cluster_interconnect.haip  OFFLINE    OFFLINE                       
ora.crf                        OFFLINE    OFFLINE                       
ora.crsd                       OFFLINE    OFFLINE                       
ora.cssd                       OFFLINE    OFFLINE                       
ora.cssdmonitor                OFFLINE    OFFLINE                       
ora.ctssd                      OFFLINE    OFFLINE                       
ora.diskmon                    OFFLINE    OFFLINE                       
ora.drivers.acfs               OFFLINE    OFFLINE                       
ora.evmd                       OFFLINE    OFFLINE                       
ora.gipcd                      OFFLINE    OFFLINE                       
ora.gpnpd                      OFFLINE    OFFLINE   

Start local resouces ( single step )
# crsctl start crs

Start ASM ( DG should be become available automtically
# crsctl start resource ora.asm   -n grac41a
 --> ora.grac41.vip gets started
 --> ora.LISTENER.lsnr gets started
 --> ora.registry.acfs gets started

Start Instance 
# crsctl start resource ora.grac4.grac41.svc
 --> ora.grac4.grac41.svc starts ora.scan2.vip
     ora.grac4.grac41.svc starts ora.LISTENER_SCAN2.lsnr
     ora.grac4.grac41.svc starts ora.grac4.db

$ my_crs_stat | grep grac41
ora.DATA.dg                    ONLINE     ONLINE          grac41        
ora.FRA.dg                     ONLINE     ONLINE          grac41        
ora.LISTENER.lsnr              ONLINE     ONLINE          grac41        
ora.OCR.dg                     ONLINE     ONLINE          grac41        
ora.SSD.dg                     ONLINE     ONLINE          grac41        
ora.asm                        ONLINE     ONLINE          grac41       Started 
ora.gsd                        OFFLINE    OFFLINE         grac41        
ora.net1.network               ONLINE     ONLINE          grac41        
ora.ons                        ONLINE     ONLINE          grac41        
ora.registry.acfs              ONLINE     ONLINE          grac41        
ora.LISTENER_SCAN2.lsnr        ONLINE     ONLINE          grac41        
ora.grac4.db                   ONLINE     ONLINE          grac41       Open 
ora.grac4.grac41.svc           ONLINE     ONLINE          grac41        
ora.grac41.vip                 ONLINE     ONLINE          grac41        
ora.scan2.vip                  ONLINE     ONLINE          grac41

Leave a Reply

Your email address will not be published. Required fields are marked *