Installing Replication Server

Follow the procedures in this section to install Replication Server components.

StepsInstalling Replication Server components

  1. Choose one of the following installation modes:

    • Graphical user interface (GUI) – lets you install the components using the InstallShield interface.

    • Console – lets you install components in a command line environment.

    • Response file – lets you record or create a response file. You can install Replication Server in two different ways using a response file:

      • Silent – lets you save the installation settings in a response file and install the product without any interaction required on your part. This is convenient if you are performing identical installations on multiple machines.

      • Console installation using response file – lets you install in console mode but with all the responses already filled in, so that you can accept all the defaults and install Replication Server according to the responses in the response file. This can be convenient if several sites are installing Replication Server in a nongraphical user interface environment and must conform to a standard installation with minor changes.

    NoteIf you encounter problems during installation, check the installation log file to see a record of the installation process. The file is located in %SYBASE%\log.txt, where %SYBASE% is the Replication Server installation directory.

  2. Verify that the drive on which you install the products has enough disk space for the products being installed.

    Set the TEMP environment variable to a temporary directory, such as c:\temp. The installation program uses the extra space and directory to write files temporarily during the installation. The installation program frees this space after the installation is complete.

StepsInstalling in GUI mode

  1. Insert the Replication Server CD in the CD drive.

    InstallShield starts automatically.

  2. If it does not, double-click setup.exe or select Start | Run, and enter the following, where x: is your CD drive:

    x:\setup.exe
    

    You might see the following error message:

    Error writing file =  There may not be enough
    temporary disk space. Try using -is:tempdir to use a
    temporary directory on a partition with more disk
    space.
    

    If so, set the temporary directory to another directory that has more disk space by entering the following at the command line, where directory_name is the name of the temporary directory to which InstallShield will write its temporary files:

    setup.exe -is:tempdir directory_name
    

    This directory should have at least 100MB of disk space.

  3. Select Next.

  4. Choose your geographic location in the license and copyright agreement window.

  5. Read the Sybase license agreement and select “I agree.” Click Next. You must agree to the license and copyright before you can continue.

  6. In the install directory window, click Next to accept the default directory for the installation (c:\sybase), or enter a different directory name.

  7. If the installation directory you chose does not exist, InstallShield prompts:

    The directory does not exist. Do you want to create it?
    
  8. Click Yes. If the installation directory you selected exists, and contains a prior installation, InstallShield prompts you with the following message:

    You have chosen to install into an existing
    directory. Any older versions of the products you
    choose to install that are detected in this directory
    will be replaced. Do you want to continue with
    installation into this directory?
    

    Click Yes if you wish to install on top of the previous installation. If the products were previously installed with:

    • Studio Installer (for example, if you installed a version of Replication Server earlier than 12.6 or a version of Adaptive Server earlier than 12.5.1), InstallShield overwrites common components.

    • InstallShield, the correct course of action is determined by InstallShield without prompting you.

    If you are prompted to overwrite a DLL, select Yes only if the version of the new DLL is later than the one InstallShield is attempting to overwrite.

  9. Select the type of installation:

    • If you choose Full or Typical, InstallShield displays the following default components:

      • Sybase Servers – Replication Server

      • Connectivity

      • Language Modules for Replication Server

      • Language Modules for Connectivity

      • Shared

      • Sybase Software Asset Management

      • Sybase Unified Agent

    • If you choose Custom, select the components to install. Certain components are automatically installed if they are required to run your selected components.

      Click next. InstallShield displays a summary page showing the installation directory and the Replication Server components that you chose to install.

  10. Click Next. InstallShield displays a progress indicator as it installs the components.

    If you do not have enough disk space for the installation, InstallShield displays an error message. In this case, exit InstallShield, remove any programs or files that you do not need, and clean out temporary directories. Restart InstallShield.

  11. On successful installation, InstallShield displays the following message:

    The InstallShield Wizard has successfully installed
    Replication Server Software, Version 15.2. Choose
    next to continue the wizard.
    
  12. Click Next. The SySAM License Server window opens and displays this prompt:

    Will licenses be obtained from the License Server?
    

    NoteSee the Sybase Software Asset Management Users Guide for information on which license model is appropriate for your installation.

  13. Click Next. The SySAM Notification window asks you to configure your server for e-mail notification. When configuration is enabled, you will receive information about license management events requiring attention.

  14. On the sample Replication Server option window, select:

  15. Click Next. If you chose to configure and start a sample Replication Server, InstallShield displays the configuration information related to the sample Replication Server:

    This page contains detailed information regarding the sample Replication
    Server. Please record this information.
    
    The sample Replication Server will be called SAMPLE_RS and will run on
    port 11752. It will be configured with a user of sa and no password.
    
    
    The sample Replication Server will use an embedded RSSD called
    SAMPLE_RS_ERSSD that runs on port 11751. It will be configured with a
    user of SAMPLE_RS_RSSD_prim and a password of SAMPLE_RS_RSSD_prim_ps.
    
    
    The installer has updated the appropriate interfaces file or sql.ini
    file.
    
    All files and logs associated with the sample Replication Server will be
    located in the directory %SYBASE%\REP-15_2\samp_repserver.
    
    The sample Replication Server will be configured using the file
    %SYBASE%\REP-15_2\samp_repserver\SAMPLE_RS.res.
    
  16. Click Next. The Configure New Replication Server window displays the progress of the server configuration.

  17. Click Next. The Installation Completed window appears, verifying that the Replication Server software is now installed.

    If you chose to start a sample Replication Server, it is started automatically. If you did not choose to start a sample Replication Server, you must configure and then start your Replication Server manually.

    See the Replication Server Configuration Guide for Windows for information about configuring your new Replication Server.

  18. Click Finish. The InstallShield wizard closes.

StepsInstalling in console mode

The steps for installing components in an interactive text mode are the same as those described in “Installing in GUI mode”, except that you execute InstallShield from the command line using the setup -console command, and you enter text to select installation options.

  1. Insert the CD into the CD drive. The InstallShield wizard starts.

  2. Click Cancel. InstallShield closes.

  3. Open a DOS window and change to the CD drive.

  4. At the command line, enter:

    setup.exe -console
    

    InstallShield starts and displays the welcome window as follows:

    --------------------------------------------------
    
    Welcome to the InstallShield Wizard for Sybase
    Replication Server Software, Version 15.2.
    
    The InstallShield Wizard will install Replication
    Server Software, Version 15.2 on your computer.
    
    To continue, choose Next.
    
    Press 1 for Next, 3 to Cancel or 4 to Redisplay [1]
    
    ---------------------------------------------------
    
  5. Follow the remaining prompts to install Replication Server software.