When you install a new Replication Server to your replication system, rs_init creates a runserver file in the Sybase installation directory. The runserver file is an executable script that contains the complete command line required to start a Replication Server.
The runserver file name is constructed based on the name of the server. For example, for a Replication Server named ROME_RS, the runserver file is named RUN_ROME_RS.
Start servers in this order:
If the Replication Server uses RSSD in Adaptive Server Enterprise, start the Adaptive Server first.
Replication Servers.
In a production system, you must start Adaptive Servers and Replication Servers, whenever your machine reboots. To do this, see your System Administrator.
Starting a Replication Server using the runserver file
Log in to your system as the “sybase” user. Replication Server must execute as “sybase” so that it has the permissions required to access its configuration file, log file, and disk partitions.
Set the $SYBASE_REP and $SYBASE_OCS environment variables to the path of the Sybase installation directory, as described in the Replication Server Installation Guide.
From the shell prompt, execute the runserver file as a background process.
For example, enter this command to start the TOKYO_RS Replication Server:
$SYBASE/$SYBASE_REP/RUN_TOKYO_RS &
Diagnostic messages display as the servers start up. The messages are also recorded in the servers’ log files.