Home > Oracle > CRSCTL commands that are relevant for Oracle Restart

CRSCTL commands that are relevant for Oracle Restart

These command manage the the Oracle High Availability Services stack in the Oracle Restart environment,
which consists of the Oracle High Availability Services daemon (ohasd), Oracle ASM (if installed),
and Cluster Synchronization Services (if Oracle ASM is installed). These commands only affect the local server on which you run them.

* crsctl check has
* crsctl config has
* crsctl disable has
* crsctl enable has
* crsctl query has releaseversion
* crsctl query has softwareversion
* crsctl start has
* crsctl stop has
* crsctl start resource -all

./crsctl check css

CRS-4529: Cluster Synchronization Services is online

./crsctl check has

CRS-4638: Oracle High Availability Services is online

./crsctl stat res -t

——————————————————————————–
NAME           TARGET  STATE        SERVER                   STATE_DETAILS
——————————————————————————–
Cluster Resources
——————————————————————————–
ora.cssd
1        ONLINE  ONLINE       uknesdb99
ora.diskmon
1        ONLINE  ONLINE       uknesdb99

Start resource ora.diskmon and ora.cssd

/opt/app/oracle/product/11.2.0/grid/bin # ./crsctl start resource  -all

Enable Auto start

To configure the auto start for cssd/diskmon, modify the auto_start attribute value to “1”

cd <grid home>/bin

crsctl modify resource “ora.cssd” -attr “AUTO_START=1”

or

crsctl modify resource “ora.diskmon” -attr “AUTO_START=1”

Advertisements
Categories: Oracle
  1. No comments yet.
  1. No trackbacks yet.

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

%d bloggers like this: