Oracle Grid and Rac startup&configuration scripts

Two important Command . Crsctl and Srvctl.

Crsctl commands. Manage clusterware related operations

start-stop cluster

Srvctl commands. manage Oracle related operations.

start-stop instances and services

Start or stop Oracle Clusterware on a specific node:

crsctl start cluster

crsctl stop cluster

Determine the overall health on a specific node:

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

Determine the location of the voting disk:

crsctl query css votedisk

crsctl query crs activeversion

Oracle Clusterware active version on cluster is [11.2.0.1.0]

Stop the Oracle Clusterware stack on all nodes:

crsctl stop cluster -all

Determine the list of interfaces available to the cluster:

oifcfg iflist –p -n

Stop Clusterware on all nodes:

crsctl stop crs

Start Clusterware on all nodes:

crsctl start crs

View SCAN VIP configuration

srvctl config scan

View SCAN LISTENER configuration

srvctl config scan_listener

grid@host01 bin$ ./crsctl stat res -t

You can view resource name , target,state,status

Start and Stop Asm instances

$ srvctl start asm -n host01

$ srvctl status asm -n host01

ASM is running on host01.

$ srvctl stop asm

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