Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Oracle Cluster Registry CRSCTL Command

Oracle Tips by Burleson Consulting

 

CRSCTL is an action packed program that allows many different operations related to the clusterware software.  Oracle 11g release 2 introduced some enhanced crsctl commands to check the CRS status from any RAC node:

root> crsctl stop cluster -all

root> crsctl start cluster -all

 

root> crsctl check cluster -all

 

These crsctl operations include the enabling/disabling of clusterware on startup, replacing or moving voting disks, checking the viability of the cluster, and advanced debugging.

 

The crsctl command by itself prints the specifications of the program:

 

Usage: crsctl check crs - checks the viability of the Oracle Clusterware

       crsctl check cssd        - checks the viability of Cluster Synchronization Services

       crsctl check crsd        - checks the viability of Cluster Ready Services

       crsctl check evmd        - checks the viability of Event Manager

       crsctl check cluster [-node <nodename>] - checks the viability of CSS across nodes

       crsctl set css <parameter> <value> - sets a parameter override

       crsctl get css <parameter> - sets the value of a Cluster Synchronization Services parameter

       crsctl unset css <parameter> - sets the Cluster Synchronization Services parameter to its default

       crsctl query css votedisk - lists the voting disks used by Cluster Synchronization Services

       crsctl add css votedisk <path> - adds a new voting disk

       crsctl delete css votedisk <path> - removes a voting disk

       crsctl enable crs - enables startup for all Oracle Clusterware daemons

       crsctl disable crs - disables startup for all Oracle Clusterware daemons

       crsctl start crs [-wait] - starts all Oracle Clusterware daemons

       crsctl stop crs [-wait] - stops all Oracle Clusterware daemons. Stops Oracle Clusterware managed resources in case of cluster.

       crsctl start resources - starts Oracle Clusterware managed resources

       crsctl stop resources - stops Oracle Clusterware managed resources

       crsctl debug statedump css - dumps state info for Cluster Synchronization Services objects

       crsctl debug statedump crs - dumps state info for Cluster Ready Services objects

       crsctl debug statedump evm - dumps state info for Event Manager objects

       crsctl debug log css [module:level] {,module:level} ... - turns on debugging for Cluster Synchronization Services

       crsctl debug log crs [module:level] {,module:level} ... - turns on debugging for Cluster Ready Services

       crsctl debug log evm [module:level] {,module:level} ... - turns on debugging for Event Manager

       crsctl debug log res [resname:level] ... - turns on debugging for Event Manager

       crsctl debug trace css [module:level] {,module:level} ... - turns on debugging for Cluster Synchronization Services

       crsctl debug trace crs [module:level] {,module:level} ... - turns on debugging for Cluster Ready Services

       crsctl debug trace evm [module:level] {,module:level} ... - turns on debugging for Event Manager

       crsctl query crs softwareversion [<nodename>] - lists the version of Oracle Clusterware software installed

       crsctl query crs activeversion - lists the Oracle Clusterware operating version

       crsctl lsmodules css - lists the Cluster Synchronization Services modules that can be used for debugging

       crsctl lsmodules crs - lists the Cluster Ready Services modules that can be used for debugging

       crsctl lsmodules evm - lists the Event Manager modules that can be used for debugging

If necessary any of these commands can be run with additional tracing by adding a 'trace'

 argument at the very front. Example: crsctl trace check css

 

The various crsctl check commands are very useful when resources do not start up, or the cluster is suffering from stability issues.

 

crsctl query css votedisk, crsctl add css votedisk <path>, and crsctl delete css votedisk <path> are useful when it is necessary to move the voting disk location.  Remember that there may be no more than three copies of the voting disk.

 

Example:

 

[root@racnode1 bin]# crsctl add css votedisk /dev/sdg -force

 

TIP:  Arguably, some of the most useful commands are the enable crs and disable crs commands.  When the crsctl disable crs command is run, the cluster will be disabled on startup.  If any maintenance must be run on a cluster, this command is great to make sure no cluster components start on the system.

 
   
Oracle Grid and Real Application Clusters

See working examples of Oracle Grid and RAC in the book Oracle Grid and Real Application Clusters.

Order directly from Rampant and save 30%. 
 


 

 

��  
 
 
 
 

 
 
 

 
 
Oracle performance tuning software 
 
oracle dba poster
Oracle Linux poster
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright 1996 -  2014

All rights reserved by Burleson

Oracle is the registered trademark of Oracle Corporation.