Enables a service for Oracle Clusterware. Enabling an entire service also affects the enabling of the service over all of the instances by enabling the service at each one. When the entire service is already enabled, an srvctl enable service
operation does not affect all of the instances and enable them. Instead, this operation returns an error. Therefore, you cannot always use the entire set of service operations to manipulate the service indicators for each instance.
Use the srvctl enable service
command with the following syntax:
srvctl enable service -db db_unique_name -service "service_name_list" [-instance instance_name | -node node_name]
Table A-62 srvctl enable service Parameters
Parameter | Description |
---|---|
-db db_unique_name |
Unique name for the database |
-service "service_name_list" |
Comma-delimited list of service names |
-instance instance_name |
Name of the database instance where you want the service to run Use this parameter for administrator-managed databases Note: This parameter can be used only with Oracle Clusterware and Oracle RAC. |
-node node_name |
Name of the node where you want the service to run Use this parameter for policy-managed databases Note: This parameter can be used only with Oracle Clusterware and Oracle RAC. |