AddServer utility  DCStart utility

Appendix B: DirectConnect Utilities

Starting a server

In the past, you started a DirectConnect server using a command that used the direct executable itself. For example, the command, direct –Ssrvname, was the standard way to start an existing DirectConnect server. This method is not recommended because it has some limitations: For this command to work properly, all of the appropriate environment variables need to be set properly before attempting to execute the command. Also, if multiple installs of DirectConnect exist on a single machine, each installation will need its own environment.

To provide some help with this, a shell script or a batch file is provided with DirectConnect version 12.6 that sets the installation-specific variables before executing the direct –Ssrvname command. This script, called DCStart, requires that all the non-Sybase variables be set properly, and ensures that the environment variables that are specific to a DirectConnect installation are all correctly set.

To stop a server, see “Stopping the DirectConnect server” section in Chapter 5, “Installing DirectConnect Manager.”





Copyright © 2005. Sybase Inc. All rights reserved. DCStart utility

View this book as PDF