Installing Replication Server in a unique directory

WARNING! Installing Replication Server in a unique directory might reset environment variables for other Sybase products and produce unpredictable results.

To install Replication Server in a separate installation directory:

  1. Terminate all Sybase processes running on the system on which you are installing Replication Server, including SySAM.

    NoteIf you do not know which processes are running on the system, see the system administrator.

    To stop SySAM:

    1. Go to %SYBASE%\%SYBASE_SYSAM%\bin.

    2. Run sysam stop.

  2. If you have an existing Adaptive Server that runs as a Windows service, disable the service:

    1. Click Start | Control Panel | Services.

    2. Double-click Administrative Tools.

    3. In the Services window, right-click the Adaptive Server service, shown as Sybase SQLServer servername in the Services list.

    4. Select Properties.

    5. Set Startup Type to Disabled.

    6. Close the Services window.

  3. Record the current environment variable settings by running the following command:

    set > env.orig
    

    This command saves the environment variables in a file called env.orig. You can read this file with a text editor.

    Specifically, record the current values of:

    • INCLUDE

    • LIB

    • LM_LICENSE_FILE

    • PATH

    • SYBASE

    • SYBASE_JRE

  4. Insert the Replication Server product CD into the CD drive.

  5. Install Replication Server 15.2 as described in the Replication Server Installation Guide for Windows.

  6. Specify a unique directory for the Replication Server product.

  7. Click No when prompted to register a Sybase Software Asset Management Certificate.

  8. Click Yes when asked, “Have you registered your Sybase Software Asset Management Certificates at a central license host?”

  9. Specify the host name and port number of the license server.

  10. Change the environment variables to the original settings that you recorded in step 3:

    1. Go to Start | Settings | Control Panel | System.

    2. Click the Advanced tab.

    3. Select Environment Variables.

    4. Under System Variables, change the values of the variables listed in step 3.

  11. Configure Adaptive Server to start automatically:

    1. Go to Start | Settings | Control Panel | Administrative Tools | Services.

    2. Right-click the Adaptive Server service shown as Sybase SQLServer servername in the Services list.

    3. Click Properties.

    4. Set Startup Type to Automatic.

  12. Restart your system.

NoteWhen you install Replication Server in a unique installation directory, you must maintain two sql.ini files. One sql.ini file is required for Replication Server components and another for your other Sybase applications.