Adding a RepConnector Entry to the Interfaces File

Create a new entry for the RepConnector connection in the interfaces file, on the machine on which Replication Server is running.

  1. Use dsedit, a utility that is part of the Replication Server installation, located in the OCS-15_0\bin subdirectory on Windows, and OCS-15_0/bin on UNIX.
    Note: You can manually add information to the interfaces file, but Sybase recommends that you use dsedit.

    See the Adaptive Server Utility Guide for more information about the dsedit utility and editing interfaces files.

  2. Open the file to verify that your entry is correct. The Replication Server interfaces file is located in %SYBASE%\ini\sql.ini on Windows and $SYBASE/interfaces on UNIX, where %SYBASE% and $SYBASE are the locations of the Replication Server installation.
    A sample entry for the interfaces file:
    • On Windows:
      [server_name]
      master=protocol, machine_name, port_number
      query=protocol, machine_name, port_number
    • On UNIX:
      server_name
      master protocol machine_name port_number
      query protocol machine_name port_number
    where:
    • server_name is the DSI name as recorded on your worksheet in 3.a.

    • protocol is the network protocol for the DSI connection as recorded on your worksheet in 3.b.

    • port_number is the port recorded on your worksheet in 3.d.

Examples

This is an interface entry for the RepConnector connection:
  • On Windows:

    [RepConnector]
    master=TCP, localhost, 7000
    query=TCP, localhost, 7000
  • On UNIX:

    RepConnector
    master tcp ether localhost 7000
    query tcp ether localhost 7000
Note: If you are creating more than one RepConnector connection, each entry to the interfaces file must have a unique name and port number.