Thursday, January 15, 2015

How to check CRS (Cluster ready services ) status in Oracle

How to check CRS (Cluster ready services ) status in Oracle 

Go to the Grid home and bin direcotry.

oracle@testingserver1i /u01/app/11.2.0.4/grid/bin +ASM1 > crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

oracle@testingserver1i /u01/app/11.2.0.4/grid/bin +ASM1 > srvctl status nodeapps
VIP testingserver1i-vip is enabled
VIP testingserver1i-vip is running on node: testingserver1i
VIP testingserver2i-vip is enabled
VIP testingserver2i-vip is running on node: testingserver2i
Network is enabled
Network is running on node: testingserver1i
Network is running on node: testingserver2i
GSD is disabled
GSD is not running on node: testingserver1i
GSD is not running on node: testingserver2i
ONS is enabled
ONS daemon is running on node: testingserver1i
ONS daemon is running on node: testingserver2i


oracle@testingserver1i /u01/app/11.2.0.4/grid/bin +ASM1 > crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.testDB.dg
               ONLINE  ONLINE       testingserver1i
               ONLINE  ONLINE       testingserver2i
ora.DBA_BANK.dg
               ONLINE  ONLINE       testingserver1i
               ONLINE  ONLINE       testingserver2i
ora.LISTENER.lsnr
               ONLINE  ONLINE       testingserver1i
               ONLINE  ONLINE       testingserver2i
ora.OCRVOTEDG.dg
               ONLINE  ONLINE       testingserver1i
               ONLINE  ONLINE       testingserver2i
ora.asm
               ONLINE  ONLINE       testingserver1i            Started
               ONLINE  ONLINE       testingserver2i            Started
ora.gsd
               OFFLINE OFFLINE      testingserver1i
               OFFLINE OFFLINE      testingserver2i
ora.net1.network
               ONLINE  ONLINE       testingserver1i
               ONLINE  ONLINE       testingserver2i
ora.ons
               ONLINE  ONLINE       testingserver1i
               ONLINE  ONLINE       testingserver2i
ora.registry.acfs
               ONLINE  ONLINE       testingserver1i
               ONLINE  ONLINE       testingserver2i
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       testingserver1i
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       testingserver2i
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       testingserver2i

ora.testingserver1i.vip
      1        ONLINE  ONLINE       testingserver1i
ora.testingserver2i.vip
      1        ONLINE  ONLINE       testingserver2i
ora.cvu
      1        ONLINE  ONLINE       testingserver2i
ora.oc4j
      1        ONLINE  ONLINE       testingserver2i
ora.scan1.vip
      1        ONLINE  ONLINE       testingserver1i
ora.scan2.vip
      1        ONLINE  ONLINE       testingserver2i
ora.scan3.vip
      1        ONLINE  ONLINE       testingserver2i
oracle@testingserver1i /u01/app/11.2.0.4/grid/bin +ASM1 >

No comments:

Post a Comment

Command to do active duplicate for Oracle Database

1. First login to target server 2. Validate tns connectivity between Source DB and Target DB 3. Prepare and validate space availability 4. S...