Adds a configuration for an instance to your cluster database configuration.
You can only use this command for administrator-managed databases. If you have a policy-managed database, then use the srvctl modify srvpool
command to add an instance to increase either the maximum size, minimum size, or both, of the server pool used by the database.
Note:
This command increments the CARDINALITY
resource attribute.
This command is only available with Oracle Clusterware and Oracle RAC.
If you attempt to use this command on an Oracle RAC One Node database, then the command returns an error stating you must convert the database to Oracle RAC.
Use the srvctl add instance
command with the following syntax:
srvctl add instance -db db_unique_name -instance instance_name -node node_name [-force]
Table A-10 srvctl add instance Parameters
Parameter | Description |
---|---|
-db db_unique_name |
The unique name of the database you are adding the instance to |
-instance instance_name |
The name of the instance you are adding |
-node node_name |
The name of the node on which you are creating the instance |
-force |
Optionally, you can force the add operation, even though some resources will be stopped. |