Thinking Out Loud

srvctl & crsctl

srvctl remove database -db dbcrm -force

srvctl stop asm

PRCR-1065 : Failed to stop resource ora.asm
CRS-2529: Unable to act on 'ora.asm' because that would require stopping or relocating 'ora.DATA1.dg', but the force option was not specified

crsctl stop resource ora.DATA1.dg

CRS-2673: Attempting to stop 'ora.DATA1.dg' on 'san'
CRS-2677: Stop of 'ora.DATA1.dg' on 'san' succeeded

srvctl stop asm
srvctl start asm
srvctl start database -d cdb01

srvctl config database -d cdb01

Database unique name: cdb01
Database name: cdb01
Oracle home: /u01/app/oracle/product/12.1.0/dbhome_1
Oracle user: oracle
Spfile: +DATA1/cdb01/spfilecdb01.ora
Password file:
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Database instance: cdb01
Disk Groups: DATA1
Services:

srvctl config asm

ASM home: /u01/app/oracle/product/12.1.0/grid
Password file: +DATA1/orapwasm
ASM listener: LISTENER
Spfile: +DATA1/ASM/ASMPARAMETERFILE/registry.253.822250561
ASM diskgroup discovery string:

srvctl config ons

ONS exists: Local port 6100, remote port 6200, EM port 2016

srvctl config listener

Name: LISTENER
Home: /u01/app/oracle/product/12.1.0/grid
End points: TCP:1521

crsctl stat res -t

--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA1.dg
               ONLINE  ONLINE       san                      STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       san                      STABLE
ora.asm
               ONLINE  ONLINE       san                      Started,STABLE
ora.ons
               OFFLINE OFFLINE      san                      STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cdb01.db
      1        ONLINE  ONLINE       san                      Open,STABLE
ora.cssd
      1        ONLINE  ONLINE       san                      STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.evmd
      1        ONLINE  ONLINE       san                      STABLE
--------------------------------------------------------------------------------
Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

%d bloggers like this: