Using dsedit to change the Replication Server host name

If either the primary or the target Adaptive Server is not on the Replication Server machine, you must change the default host name “localhost” in the Replication Server interfaces file to the actual server name.

To change the default host name in the Replication Server, 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.

    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 SAMPLE_RS in the left pane.

  5. Double-click the Server Address line in the right pane. The Network Address Attribute window appears.

  6. Click Edit.

  7. In the Network Address field:

    • Delete localhost.

    • Add the name of the machine on which Replication Server will run.

  8. Click OK.

  9. Click OK.

  10. Select File | Exit.