Installing Replication Server in a Unique Directory on Windows

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

  1. Terminate all Sybase processes running on the system on which you are installing Replication Server, including SySAM.
    Note: If you do not know which processes are running, contact your system administrator.

    To stop SySAM license server, see SySAM Users Guide.

  2. If you have an existing Adaptive Server that runs as a Windows service, disable the service.
    1. Click Start > Settings > Control Panel > Administrative Tools > Services.
    2. In the Services list, right-click the Sybase SQLServer server name.
    3. Select Properties.
    4. Set Startup Type to Disabled.
    5. Close the Services window.
  3. Record the current environment variable settings in a file called env.orig by entering:
    set > 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 media in the appropriate drive, or download and extract the Replication Server installation image from the Sybase Product Download Center (SPDC).
  5. Install Replication Server.
  6. Specify a unique directory for the Replication Server product.
  7. Specify the host name and port number of the license server.
  8. Change the environment variables to the original settings that you recorded in step 3:
    1. Select 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.
  9. Configure Adaptive Server to start automatically:
    1. Select Start > Settings > Control Panel > Administrative Tools > Services.
    2. In the Services list, right-click the Sybase SQLServer server name.
    3. Click Properties.
    4. Set Startup Type to Automatic.
  10. Restart your system.
    Note: When 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.
Related tasks
Installing Replication Server in GUI Mode
Related reference
Environment Variables on Windows