SRVCTL Command Reference

Use this comprehensive list of SRVCTL commands to manage Oracle Real Application Clusters (Oracle RAC) environments.

About Using SRVCTL Commands

To be able to use SRVCTL commands to obtain the outcome you require, review these guidelines.

SRVCTL commands, object names, and parameters are case-sensitive. Database, instance, listener, and service names are case insensitive and case preserving. You cannot create listener names that differ only in case, such as LISTENER and listener. SRVCTL uses the following command syntax:

srvctl command object [parameters]

In SRVCTL syntax:

  • command is a verb, such as start, stop, or remove
  • object (also known as a noun) is the target or object on which SRVCTL performs the command, such as database or instance. You can also use object abbreviations.
  • parameters extend the use of a preceding command combination to include additional parameters for the command. For example, the -instances parameter indicates that a comma-delimited list of preferred instance names follows; the -instance parameter only permits one value and not a list of names. Do not use spaces between the items in a comma-delimited list.

Note:

If specifying a comma-delimited list in Windows, then you must enclose the list within double quotation marks ("").

The following table lists the keywords that you can use for the object portion of SRVCTL commands. You can use either the full name or the abbreviation for each object keyword. The Purpose column describes the object and the actions that can be performed on that object.

Table: Object Keywords and Abbreviations

ObjectKeywordPurpose
DatabasedatabaseTo add, modify, manage environment variables for, list the configuration of, enable, disable, start, stop, and obtain the status of databases, remove configuration information for or get behavior predictions for a database, and also to convert, upgrade, downgrade, and relocate databases
DiskgroupdiskgroupTo enable, disable, start, stop, obtain the status of, remove, or get behavior predictions for an Oracle ASM disk group
HomehomeTo start, stop, or obtain the status of resources running from a particular Oracle home directory
Instance

instance

inst

To add, modify, enable, disable, start, stop, obtain the status of, update, and remove database instances
Listener

listener

lsnr

To add, modify, manage environment variables for, list the configuration of, enable, disable, start, stop, obtain the status of, remove, and get behavior predictions for listeners
Networknetwork

To add, modify, list the configuration of, remove and get behavior predictions for a non-default network resource.

Note: The node applications object, and the config and modify commands also manage the default network

Node applicationsnodeappsTo add, modify, manage environment variables for, list the configuration of, enable, disable, start, stop, obtain the status of, and remove node applications
Oracle Notification ServiceonsTo add, configure, enable, start, obtain the status of, stop, disable, and remove Oracle Notification Service instances only for Oracle Restart
Pluggable Database (PDB)pdbTo add, modify, remove, list the configuration of, enable, disable, start, stop, and obtain the status of PDBs
Single client access name (SCAN)scanTo add, list the configuration of, modify, enable, disable, start, stop, relocate, remove, obtain the status of, and get behavior predictions for SCAN VIPs
SCAN listenerscan_listenerTo add, list the configuration of, modify, enable, disable, start, stop, relocate, obtain the status of, remove, and get behavior predictions for SCAN listeners
ServiceserviceTo add, modify, list the configuration of, enable, disable, start, stop, obtain the status of, relocate, remove, and get behavior predictions for services
Virtual IPvipTo add, manage environment variables for, list the configuration of, enable, disable, start, stop, obtain the status of, remove, and get behavior predictions for a VIP
VolumevolumeTo list the configuration of, enable, disable, start, stop, obtain the status of, and remove an Oracle ACFS volume

Note:

SRVCTL commands specific to Oracle Grid Infrastructure administration operations are documented in CWADD SRVCTL Command Reference