srvctl enable instance

Enables an instance for an Oracle RAC database. If you use this command to enable all instances, then the database is also enabled.

Note:

  • This command is only available with Oracle Clusterware and Oracle RAC.

  • If you run this command on an Oracle RAC One Node database, then the command returns an error instructing you to use the database noun, instead.

Syntax and Parameters

Use the srvctl enable instance command with the following syntax:

srvctl enable instance -db db_unique_name -instance "instance_name_list"

Table A-56 srvctl enable instance Parameters

Parameter Description
-db db_unique_name

Unique name for the database

-instance "instance_name_list"

Comma-delimited list of instance names.

Example

An example of this command is:

$ srvctl enable instance -db crm -instance "crm1,crm2"