Configure the Replication Server for remote access

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.

NoteThis procedure is not required if the primary and standby ASE servers are on the same machine as Replication Server.

StepsTo configure the SAMPLE_RS for remote access

  1. Shut down Replication Server:

    isql -Usa -P -SSAMPLE_RS 
    shutdown
    go
    

    A message displays indicating that Replication Server is shut down.

  2. Edit the interfaces file.

  3. Change the entry for the SAMPLE_RS and SAMPLE_RS_ERSSD from “localhost” to either a machine name or an IP address.

    NoteIf the SAMPLE_RS is running, you receive a warning that the port is currently in use by a running server.

  4. Add the primary ASE server and the standby ASE servers to the interfaces file, if they do not exist.

    NoteIf 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.

  5. Go to the $SYBASE/$SYBASE_REP/samp_repserver directory:

    cd $SYBASE/$SYBASE_REP/samp_repserver/
    
  6. Run the start-up script:

    ./RUN_SAMPLE_RS &