Starts a service or multiple services on the specified instance. The srvctl start service command will fail if you attempt to start a service on an instance if that service is already running on its maximum number of instances, that is, its number of preferred instances. You may move a service or change the status of a service on an instance with the srvctl modify service and srvctl relocate service commands described later in this appendix.
Note:
All manual service startup must specify the name of the service to be started by the user.See Also:
Oracle Data Guard BrokerUse the srvctl start service command with the following syntax:
srvctl start service -db db_unique_name [-eval] [-service "services_list" [-node node_name | -instance instance_name | -serverpool pool_name | -global_override] [-startoption start_options] [-verbose]
Table A-163 srvctl start service Parameters
| Parameter | Description |
|---|---|
-db db_unique_name |
Unique name for the database. |
-eval |
Use this parameter to hypothetically evaluate the impact of the command on the system. |
-service "services_list" |
Comma-delimited list of service names. If you do not include this parameter, then SRVCTL starts all of the services for the specified database. |
-node node_name |
The name of the node where the service should be started. Use this parameter for policy-managed databases. Note: This parameter can be used only with Oracle Clusterware. |
-instance instance_name |
The name of the instance for which the service should be started. Use this parameter for administrator-managed databases. Note: This parameter can be used only with Oracle Clusterware. |
-serverpool pool_name |
The name of the server pool in which to start the service. Use this parameter for policy-managed databases. |
-global_override |
Override value to operate on a global service. Use this parameter only with global services; this parameter is ignored if specified for a non-global service. |
-startoption start_options |
Startup options used when service startup requires starting a database instance. Options include Note: For multi-word startup options, such as See Also: SQL*Plus User's Guide and Reference for more information about startup options |
-verbose |
Display verbose output. |
The following example starts a named service. If the instances that support these services, including available instances that the service uses for failover, are not running but are enabled, then SRVCTL starts them.
$ srvctl start service -db crm -service crm
The following example starts a named service on a specified instance:
$ srvctl start service -db crm -service crm -instance crm2