Using dsedit to add server entries to the interfaces files

When you install Replication Server in an existing Sybase installation directory, InstallShield adds Replication Server information to the existing interfaces file. When you install Replication Server in a unique installation directory, InstallShield 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:

To add an entry for Replication Server in the Adaptive Server interfaces file, See Chapter 5, “Using dsedit” in the Adaptive Server Enterprise Utility Guide.

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 <return>
    

    The Select Directory Service window appears.

    For more information on dsedit, see Chapter 5, “Using dsedit” in the Adaptive Server Enterprise Utility Guide.

  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 an unused port number.

    For example:

    chaucer, 35356
    
  7. Click OK.

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

  9. Enter the host name and an unused port number. Click OK. The Input Network Address window appears.

  10. Enter the host name and an unused port number.

    For example:

    johnson, 9756
    
  11. Click OK.

  12. Click OK.

  13. Select File | Exit.