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
--------------------------------------------------------------------------------
Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: