Using dsedit to add server entries to the interfaces files

When you install Replication Server in an existing Sybase installation directory, the installer adds Replication Server information to the existing interfaces file. When you install Replication Server in a unique installation directory, the installer creates a new interfaces file. In this instance, you will have two interfaces files—one for your existing Sybase applications and one for Replication Server.

To allow the Adaptive Servers and Replication Server to communicate, you must use the dsedit utility to:

You will need this information for each server:

Use dsedit to add an entry for Replication Server in the Adaptive Server interfaces file. See the Adaptive Server Enterprise Utility Guide for instructions.

To add entries for the primary and replicate Adaptive Server in the Replication Server interfaces file, perform the following steps:

  1. Follow directions for your platform.

    On Windows:

    Navigate to %SYBASE%\OCS-15_0\bin.

    On UNIX:

    Navigate to $SYBASE/OCS-15_0/bin.

  2. On Windows:

    Double-click dsedit.exe.

    On UNIX:

    Enter the following command:

    dsedit
    

    The Select Directory Service window appears.

  3. Select InterfacesDriver and click OK. The InterfacesDriver window appears.

  4. Select Server Object | Add. The Input Server Name window appears.

  5. Enter the name of the primary Adaptive Server. Click OK. The Input Network Address window appears.

  6. Enter the host name and port number of the primary Adaptive Server. For example:

    chaucer, 35356
    
  7. Click OK.

  8. Select Server Object | Add. The Input Server Name window appears.

  9. Enter the name of the replicate Adaptive Server. Click OK. The Input Network Address window appears.

  10. Enter the host name and port number of the replicate Adaptive Server. For example:

    johnson, 9756
    
  11. Click OK.

  12. Click OK.

  13. Select File | Exit.