srvctl disable database

Disables a database. If the database is a cluster database, then its instances are also disabled.

Syntax and Parameters

Use the srvctl disable database command with the following syntax:

srvctl disable database -db db_unique_name [-node node_name]

Table A-33 srvctl disable database Parameters

Parameter Description
-db database_name

Database name

-node node_name

Disables the database from running on the named node.

Note: This parameter can be used only with Oracle Clusterware.

Example

An example of this command is:

$ srvctl disable database -db mydb1