Oracle® Database Administrator's Guide 11g Release 2 (11.2) Part Number E25494-02 |
|
|
PDF · Mobi · ePub |
This section provides 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. See Table 4-80 for a complete list of commands.
CRSCTL commands and components are case insensitive.
Table 4-80 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. |
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-81 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 |