enable service
Enables the specified global services.
Syntax
enable service [-gdspool gdspool_name] [-service service_name_list] [-database db_name|[-override -connect conn_str [-pwd password]]]
Options
Table 2-48 GDSCTL enable service Options
| Syntax | Description |
|---|---|
-connect conn_str |
An Oracle Net connect descriptor or net service name that resolves to a connect descriptor for the database (or shard). |
-database db_name |
Specify the name of the database on which the service is located. If you do not specify this option, then the service is enabled globally. |
-gdspool gdspool_name |
Specify the GDS pool in which the services are located. If not specified and there is only one gdspool with access granted to the user, it is used as the default gdspool. |
-override |
Skip the GDS catalog (used when the GDS catalog is not available). |
-pwd |
The GSMUSER password. |
-service service_name |
Specify a comma-delimited list of global service names. If you do not use |
Usage Notes
You must connect to the catalog database as a user with the pool administrator privileges, using the connect command before running this command
ENABLE SERVICE will start the global service if it is preferred_all or cardinality is not reached.
If -override is specified, the command is executed without going to the GDS catalog. Use this option when the GDS catalog is unavailable. It is not recommended for use under normal operation.
Example
Enable the service G_SALES_REPORT on the database DB1 in the database pool READERFARM.
GDSCTL> enable service -gdspool readerfarm -service g_sales_report -database db1
See Also: