码迷,mamicode.com
首页 > 数据库 > 详细

【Oracle Database】Oracle RAC(九):管理工具--crsctl & srvctl

时间:2020-11-24 12:43:06      阅读:10      评论:0      收藏:0      [点我收藏+]

标签:class   evmd   cts   walle   工具   crsctl   monitor   node   --   

[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  ONLINE       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
      
[grid@wallet01 ~]$ srvctl status asm
ASM is running on wallet02,wallet01,wallet03

[grid@wallet01 ~]$ srvctl status diskgroup -g data
Disk Group data is running on wallet02,wallet01,wallet03

[grid@wallet01 ~]$ srvctl status diskgroup -g fra
Disk Group fra is running on wallet02,wallet01,wallet03

[grid@wallet01 ~]$ srvctl status diskgroup -g ocrvdisk
Disk Group ocrvdisk is running on wallet02,wallet01,wallet03

[grid@wallet01 ~]$ srvctl status database -d wallet
Instance wallet1 is running on node wallet01
Instance wallet2 is running on node wallet02
Instance wallet3 is running on node wallet03

[grid@wallet01 ~]$ srvctl status instance -d wallet -n wallet01  
Instance wallet1 is running on node wallet01

[grid@wallet01 ~]$ srvctl status instance -d wallet -n wallet02
Instance wallet2 is running on node wallet02

[grid@wallet01 ~]$ srvctl status instance -d wallet -n wallet03
Instance wallet3 is running on node wallet03

[grid@wallet01 ~]$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): wallet02,wallet01,wallet03

[grid@wallet01 ~]$ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node wallet02
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node wallet03
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node wallet01

[grid@wallet01 ~]$ srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node wallet02
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node wallet03
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node wallet01

[grid@wallet01 ~]$ srvctl status nodeapps
VIP wallet01-vip is enabled
VIP wallet01-vip is running on node: wallet01
VIP wallet02-vip is enabled
VIP wallet02-vip is running on node: wallet02
VIP wallet03-vip is enabled
VIP wallet03-vip is running on node: wallet03
Network is enabled
Network is running on node: wallet01
Network is running on node: wallet02
Network is running on node: wallet03
GSD is disabled
GSD is not running on node: wallet01
GSD is not running on node: wallet02
GSD is not running on node: wallet03
ONS is enabled
ONS daemon is running on node: wallet01
ONS daemon is running on node: wallet02
ONS daemon is running on node: wallet03

 

【Oracle Database】Oracle RAC(九):管理工具--crsctl & srvctl

标签:class   evmd   cts   walle   工具   crsctl   monitor   node   --   

原文地址:https://www.cnblogs.com/dbamonkey/p/14011249.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!