4.6 CRSCTL Command Reference

«« Previous
Next »»

You can reference details about the syntax for the CRSCTL commands that are relevant for Oracle Restart.

Note: You must be the root user or Oracle grid infrastructure software owner to run these CRSCTL commands.

CRSCTL Command Syntax Overview

CRSCTL expects the following command syntax:

crsctl command has

where command is a verb such as start, stop, or enable. The has object indicates Oracle high availability services.

Case Sensitivity

CRSCTL commands and components are case insensitive.

  • 4.6.1check

Displays the Oracle Restart status.

Syntax and Options

crsctl check has

  • 4.6.2 config

Displays the Oracle Restart configuration.

Syntax and Options

crsctl config has

  • 4.6.3 disable

Disables automatic restart of Oracle Restart.

Syntax and Options

crsctl disable has

  • 4.6.4 enable

Enables automatic restart of Oracle Restart.

Syntax and Options

crsctl enable has

  • 4.6.5 start

Starts Oracle Restart.

Syntax and Options

crsctl start has

  • 4.6.6 stop

Stops Oracle Restart.

Syntax and Options

crsctl stop has [-f]

 Table 4-71 crsctl stop has Options

Options Description
 -f Force. If any resources that are managed by Oracle Restart are still running, then try to stop these resources gracefully. If a resource cannot be stopped gracefully, then try to force the resource to stop.

For example, if an Oracle ASM instance is running, then SHUTDOWN IMMEDIATE attempts to stop the Oracle ASM instance gracefully, while SHUTDOWN ABORT attempts to force the Oracle ASM instance to stop.

When the -f option is not specified, this command tries to stop resources managed by Oracle Restart gracefully but does not try to force them to stop.

For a database resource, this command always uses SHUTDOWN ABORT, regardless of whether the -f option is specified.

«« Previous
Next »»