Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Database Administration » SQL Anywhere database connections » SQL Anywhere database servers » How to run the database server as a service or daemon » Managing service groups

 

Managing service dependencies

You can add a service or a group to a list of dependencies using Sybase Central.

Prérequis

There are no prerequisites for this task.

Contexte et remarques

In some circumstances you may want to run more than one executable as a service, and these executables may depend on each other. For example, you may want to run a server and a SQL Remote Message Agent to assist in replication. Services must start in the correct order. If a SQL Remote Message Agent service starts before the server has started, it fails because it cannot find the server. You can prevent these problems by using service groups, which you manage from Sybase Central. With Sybase Central you can specify dependencies for a service. For example:

  • You can ensure that at least one member of each of a list of service groups has started before the current service.

  • You can ensure that any number of services have started before the current service. For example, you may want to ensure that a particular network server has started before a SQL Remote Message Agent that is to run against that server starts.

 Task
  1. In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.

  2. In the left pane, click SQL Anywhere 16.

  3. In the right pane, click the Services tab.

  4. Right-click the service and click Properties.

  5. Click the Dependencies tab.

  6. Click Add Services or Add Service Groups to add a service or group to the list of dependencies.

  7. Select one of the services or groups from the list.

  8. Click OK to add the service or group to the list of dependencies.

Résultat

The service or group is added to a list of dependencies.