June 24, 2019

Difference between SRVCTL and CRSCTL

What is the difference between SRVCTL and CRSCTL utility commands in Oracle RAC.

srvctl

Use SRVCTL to manage Oracle supplied resources such as
  • Listener
  • Instances
  • Disk groups
  • Networks

srvctl is used to manage the elements of the cluster like databases, instances, listeners, services etc.


srvtcl was introduced with Oracle 9i.


If the resource name begins with ora then use SRVCTL.


Oracle suggests DBAs use the srvctl command to start the databases.


SRVCTL manages Oracle resource related operations:

  • Starting and stopping database instances and services
  • Also from 11gR2 manages the cluster resources like network, vip, disks etc

We can use the SRVCTL to manage configuration information.  Use SRVCTL commands to add, remove, start, stop, modify, enable, and disable a number of entities, such as Databases, instances, listeners, SCAN listeners, services, grid naming Service (GNS), and Oracle ASM.


crsctl

Use CRSCTL for managing Oracle Clusterware and its resources.

crsctl command is used to manage the elements of the Clusterware like crs, css, evm.

crsctl was introduced with Oracle 10g.

CRSCTL manages Oracle Clusterware related operations like:

  • Starting and stopping Oracle Clusterware
  • Enabling and disabling Oracle Clusterware daemons
  • Checking the health of the cluster
  • Registering cluster resources

Related Oracle RAC Articles: srvctl commands in Oracle 12c    crsctl commands in RAC


1 comment: