Adding a RepConnector entry to the interfaces file

You must create a new entry for the RepConnector connection in the interfaces file, at the machine on which Replication Server is running.

To add the interfaces entry, use dsedit, a utility that is part of the Replication Server installation in the OCS-15_0/bin subdirectory.

NoteYou can also add the information to the interfaces file manually, but Sybase recommends that you use dsedit.

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

The Replication Server interfaces file is in %SYBASE%\ini\sql.ini for Windows, or $SYBASE/interfaces for UNIX, where %SYBASE% and $SYBASE are the location of the Replication Server installation.

On UNIX, in interfaces:

server_name
master protocol machine_name port_number
query protocol machine_name port_number

On Windows, in sql.ini:

[server_name]
master=protocol, machine_name, port_number
query=protocol, machine_name, port_number

where:

Examples

This is an interface entry for the RepConnector connection:

On UNIX:

RepConnector
master tcp ether localhost 7000
query tcp ether localhost 7000

On Windows:

[RepConnector]
master=TCP, localhost, 7000
query=TCP, localhost, 7000

NoteIf you are creating more than one RepConnector connection, each entry to the interfaces file must have a unique name and port number.