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:
commandis a verb, such asstart,stop, orremoveobject(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.parametersextend the use of a preceding command combination to include additional parameters for the command. For example, the-instancesparameter indicates that a comma-delimited list of preferred instance names follows; the-instanceparameter 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
| Object | Keyword | Purpose |
|---|---|---|
| Database | database | To 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 |
| Diskgroup | diskgroup | To enable, disable, start, stop, obtain the status of, remove, or get behavior predictions for an Oracle ASM disk group |
| Home | home | To start, stop, or obtain the status of resources running from a particular Oracle home directory |
| Instance |
| To add, modify, enable, disable, start, stop, obtain the status of, update, and remove database instances |
| Listener |
| 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 |
| Network | network | 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 |
| Node applications | nodeapps | To add, modify, manage environment variables for, list the configuration of, enable, disable, start, stop, obtain the status of, and remove node applications |
| Oracle Notification Service | ons | To add, configure, enable, start, obtain the status of, stop, disable, and remove Oracle Notification Service instances only for Oracle Restart |
| Pluggable Database (PDB) | pdb | To add, modify, remove, list the configuration of, enable, disable, start, stop, and obtain the status of PDBs |
| Single client access name (SCAN) | scan | To add, list the configuration of, modify, enable, disable, start, stop, relocate, remove, obtain the status of, and get behavior predictions for SCAN VIPs |
| SCAN listener | scan_listener | To add, list the configuration of, modify, enable, disable, start, stop, relocate, obtain the status of, remove, and get behavior predictions for SCAN listeners |
| Service | service | To add, modify, list the configuration of, enable, disable, start, stop, obtain the status of, relocate, remove, and get behavior predictions for services |
| Virtual IP | vip | To 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 |
| Volume | volume | To 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