Disabling a Global Service

To prevent a global service from starting or failing over on databases, perform GDSCTL disable service after stopping it.

A global service can be disabled on a database or a set of databases by executing the disable service command. A disabled service cannot be started until it is reenabled. This includes the service failover from another database; a database with the disabled service is never considered a failover target.

A service has to be stopped to be disabled. An error is returned if disable service is executed against a database where the service is running.

To disable and stop the service G_SALES_REPORT on all databases in the database pool READERFARM:

GDSCTL> disable service -gdspool readerfarm -service g_sales_report -database db1

Related Topics

Parent topic: Managing Global Services