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.
Configuring the SAMPLE_RS for remote
access
Shut down Replication Server:
isql -Usa -P -SSAMPLE_RS
shutdown
go
A message appears, indicating that Replication Server is shut down.
Edit the interfaces file.
You can use any Tabular Data Stream™ (TDS)
client utility (isql, isqlApp,
or SQLAdvantage) that you prefer.
Change the entry for the SAMPLE_RS and SAMPLE_RS_ERSSD from “localhost” to either a machine name or an IP address.
Add the primary ASE server and the standby ASE servers to the interfaces file, if they do not exist.
Go to the $SYBASE/$SYBASE_REP/samp_repserver directory:
cd $SYBASE/$SYBASE_REP/samp_repserver/
Run the start-up script:
./RUN_SAMPLE_RS &