Oracle® Database Administrator's Guide 11g Release 2 (11.2) Part Number E10595-06 |
|
|
View PDF |
This section provides details about the syntax for the CRSCTL commands that are relevant for Oracle Restart.
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. See Table 4-87 for a complete list.
Case Sensitivity
CRSCTL commands and components are case insensitive.
Table 4-87 Summary of CRSCTL Commands
Command | Description |
---|---|
Displays the Oracle Restart status. |
|
Displays the Oracle Restart configuration. |
|
Disables automatic restart of Oracle Restart. |
|
Enables automatic restart of Oracle Restart. |
|
Starts Oracle Restart. |
|
Stops Oracle Restart. |
Note:
You must be the root user or Oracle user to run the these CRSCTL commands.Displays the Oracle Restart status.
crsctl check has
Displays the Oracle Restart configuration.
crsctl config has
Disables automatic restart of Oracle Restart.
crsctl disable has
Enables automatic restart of Oracle Restart.
crsctl enable has
Starts Oracle Restart.
crsctl start has
Stops Oracle Restart.
crsctl stop has [-f]
Table 4-88 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 When the |