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.
From the Context list, click SQL Anywhere 12.
In the right pane, click the Services tab.
Select the service, and then click File » Properties.
Click the Dependencies tab.
Click Add Services or Add Service Groups to add a service or group to the list of dependencies.
Select one of the services or groups from the list.
Click OK to add the service or group to the list of dependencies.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |