status service

Displays the status of a specific service.

Syntax

{status service | services} [-gsm gsm_name]
                            [-service service_name]
                            [{-raw|-verbose|-support}]

Options

Table 2-110 GDSCTL status service Options

Option Description
-gsm gsm_name

Specify the name of a global service manager. If the name is not specified, then GDSCTL uses the current global service manager name for the session (specified with the GDSCTL set gsm command).

-raw

Used by oracle internal components.

-service service_name

Specify a comma-delimited list of global service names. If you do not specify any services, then GDSCTL displays the status of all services in the database pool.

-support

Display more detailed information concerning load balancing.

-verbose

Display extra information related to load balancing.

Usage Notes

  • You must connect to the catalog database as a user with the pool administrator privileges, using the command connect before running this command.

  • This command is similar to services.

Example

Display the status of service sales_report1.sales.oradbcloud:

GDSCTL> status service -service sales_report1.sales.oradbcloud

The gdsctl status service command returns output similar to the following:

Service "sales_report1.sales.oradbcloud" has 3 instance(s). Affinity: ANYWHERE
   Instance "sales%1", name: "dbcat2", db: "dbcat2", region: "east",
 status: ready.
   Instance "sales%11", name: "dbcat1", db: "dbcat1", region: "west",
 status: ready.
   Instance "sales%31", name: "dbcat3", db: "dbcat3", region: "east",
 status: ready.