銆怬racle Database銆慜racle RAC锛堜節锛夛細绠$悊宸ュ叿--crsctl & srvctl

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了銆怬racle Database銆慜racle RAC锛堜節锛夛細绠$悊宸ュ叿--crsctl & srvctl相关的知识,希望对你有一定的参考价值。

鏍囩锛?a href='http://www.mamicode.com/so/1/class' title='class'>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

 

以上是关于銆怬racle Database銆慜racle RAC锛堜節锛夛細绠$悊宸ュ叿--crsctl & srvctl的主要内容,如果未能解决你的问题,请参考以下文章

racle11g DBCA 创建数据库2%时报错ORA-12547

racle undo 解析

是否无法在运行或编译时更改 SSDL 内容(Visual Studio 2015 EntityFramework Database First With Oracle)

linux 下安装的0racle ,在启用系统防火墙后,使用tnsping 服务器,显示超时,同时

銆愯档寮鸿€佸笀銆戠涓€涓狾racle鐨勬墜宸ュ浠藉拰鎭㈠

mysql鎴栬€卭racle鍒嗙粍鎺掑簭鍙栧墠鍑犳潯鏁版嵁