【Oracle Database】Oracle RAC(七):crsctl & srvctl

[root@wallet01 ~]# su - grid
[grid@wallet01 ~]$ crsctl check cluster -all
**************************************************************
wallet01:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
wallet02:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
wallet03:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************

[grid@wallet01 ~]$ crsctl stat res -t -init
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       wallet01                 Started             
ora.cluster_interconnect.haip
      1        ONLINE  ONLINE       wallet01                                     
ora.crf
      1        ONLINE  ONLINE       wallet01                                     
ora.crsd
      1        ONLINE  ONLINE       wallet01                                     
ora.cssd
      1        ONLINE  ONLINE       wallet01                                     
ora.cssdmonitor
      1        ONLINE  ONLINE       wallet01                                     
ora.ctssd
      1        ONLINE  ONLINE       wallet01                 ACTIVE:0            
ora.diskmon
      1        OFFLINE OFFLINE                                                   
ora.evmd
      1        ONLINE  ONLINE       wallet01                                     
ora.gipcd
      1        ONLINE  ONLINE       wallet01                                     
ora.gpnpd
      1        ONLINE  ONLINE       wallet01                                     
ora.mdnsd
      1        ONLINE  ONLINE       wallet01
      
[grid@wallet01 ~]$ crsctl status res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       wallet01                                     
               ONLINE  ONLINE       wallet02                                     
               ONLINE  ONLINE       wallet03                                     
ora.FRA.dg
               ONLINE  ONLINE       wallet01                                     
               ONLINE  ONLINE       wallet02                                     
               ONLINE  ONLINE       wallet03                                     
ora.LISTENER.lsnr
               ONLINE  ONLINE       wallet01                                     
               ONLINE  ONLINE       wallet02                                     
               ONLINE  ONLINE       wallet03                                     
ora.OCRVDISK.dg
               ONLINE  OFFLINE      wallet01                                     
               ONLINE  ONLINE       wallet02                                     
               ONLINE  ONLINE       wallet03                                     
ora.asm
               ONLINE  ONLINE       wallet01                 Started             
               ONLINE  ONLINE       wallet02                 Started             
               ONLINE  ONLINE       wallet03                 Started             
ora.gsd
               OFFLINE OFFLINE      wallet01                                     
               OFFLINE OFFLINE      wallet02                                     
               OFFLINE OFFLINE      wallet03                                     
ora.net1.network
               ONLINE  ONLINE       wallet01                                     
               ONLINE  ONLINE       wallet02                                     
               ONLINE  ONLINE       wallet03                                     
ora.ons
               ONLINE  ONLINE       wallet01                                     
               ONLINE  ONLINE       wallet02                                     
               ONLINE  ONLINE       wallet03                                     
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       wallet02                                     
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       wallet03                                     
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       wallet01                                     
ora.cvu
      1        ONLINE  ONLINE       wallet01                                     
ora.oc4j
      1        ONLINE  ONLINE       wallet01                                     
ora.scan1.vip
      1        ONLINE  ONLINE       wallet02                                     
ora.scan2.vip
      1        ONLINE  ONLINE       wallet03                                     
ora.scan3.vip
      1        ONLINE  ONLINE       wallet01                                     
ora.wallet.db
      1        ONLINE  ONLINE       wallet01                 Open                
      2        ONLINE  ONLINE       wallet02                 Open                
      3        ONLINE  ONLINE       wallet03                 Open                
ora.wallet.gspublic.svc
      1        ONLINE  ONLINE       wallet01                                     
ora.wallet01.vip
      1        ONLINE  ONLINE       wallet01                                     
ora.wallet02.vip
      1        ONLINE  ONLINE       wallet02                                     
ora.wallet03.vip
      1        ONLINE  ONLINE       wallet03


上一篇:《设计模式面试小炒》策略和工厂模式替代业务场景中复杂的ifelse


下一篇:动态内存管理、文件操作、预处理