Saturday, July 19, 2014

11G RAC Commands

11G RAC Commands

Commands                                         Function 

crs_stat:                                           Displays CRS resource status
crsctl check crs                                  Check CRS status
crsctl stop  crs                                  Stops the CRS and all services
crsctl stop resource ora.crsd             Stop resource
crsctl start resource ora.crsd             Start resource
crsctl stop cluster -all                        Stop all cluster
crsctl start cluster -all                        Start all cluster
crsctl check cluster -all                     Check all cluster
crsctl disable crs*                         Prevents CRS from autostarting on server bounce
crsctl enable crs*                         Enables CRS autostart on reboot
crs_stop all                                Stops all registered CRS resources
crs_start all                                Starts all registered resources
srvctl status scan                             SCAN STATUS
ocrcheck                                        To check ocr file
olsnodes -n -p -i                             nodes in the cluster

srvctl stop diskgroup -g data
srvctl stop diskgroup -g backup==Stop diskgroups and ASM instance
srvctl stop asm
srvctl -                                             srvctl help
crvctl -h                                           crsctl help

OPTION                         MEANING
-d                                    Database name
-h                                    Print Usage
-i                                     Comma-separated list of instance names
-n                                     Node names or comma-separated node list
-o                               $ORACLE_HOME to locate lsnrctl (node option) and oracle binaries (other options)
-c                                  Connect string for connecting to the Oracle instance using SQL*Plus
-s                                  servicename


No comments:

Post a Comment

How to create user in MY SQL

Create  a new MySQL user Account mysql > CREATE USER ' newuser '@'localhost' IDENTIFIED BY ' password '...