This section describes the required configurations to allow replication to occur when Replication Server is installed on a different (remote) machine than the primary or standby ASE servers.
The interfaces file entry for SAMPLE_RS and SAMPLE_RS_ERSSD uses “localhost” as the name of the machine where SAMPLE_RS and SAMPLE_RS_ERSSD reside. If the primary ASE database is not on the same machine as the SAMPLE_RS, the interfaces file entry must be changed to use either the machine name or the IP address of the machine.
This procedure is not required if the primary and standby
ASE servers are on the same machine as Replication Server.
To configure the SAMPLE_RS for remote
access
Shut down Replication Server:
isql -Usa -P -SSAMPLE_RS shutdown go
A message displays indicating that Replication Server is shut down.
Edit the interfaces file.
Change the entry for the SAMPLE_RS and SAMPLE_RS_ERSSD from “localhost” to either a machine name or an IP address.
If the SAMPLE_RS is running, you receive a
warning that the port is currently in use by a running server.
Add the primary ASE server and the standby ASE servers to the interfaces file, if they do not exist.
If the primary ASE server and standby ASE server are
running, and you receive a warning that the port is currently in
use by a running server., click OK. If the primary ASE server and
standby ASE server are not running, start them.
Go to the $SYBASE/$SYBASE_REP/samp_repserver directory:
cd $SYBASE/$SYBASE_REP/samp_repserver/
Run the start-up script:
./RUN_SAMPLE_RS &