Installing Replication Server

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

NoteThis procedure installs Replication Manager, the plug-in to Sybase Central, Java Edition. However, it does not install the Replication Server plug-in to Sybase Central, Windows Edition. To install the Replication Server plug-in to Sybase Central, Windows Edition, see “Installing Sybase Central on Windows”.

StepsInstalling Replication Server components

  1. Choose one of the following installation modes:

    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.text, where $SYBASE is the Replication Server installation directory.

  2. Mount the Replication Server CD:

    If you cannot mount the CD drive, consult your operating system documentation or contact your operating system administrator.

  3. Verify that you are logged in as the “sybase” user with “root” privileges.

StepsInstalling in GUI mode

  1. Mac:

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

    2. Double-click the CD icon, then double-click the Setup icon.

      If you have a “headless” Mac that lacks a monitor, install Replication Server in command line mode. See “Installing in console mode”.

    At the UNIX prompt, enter the following, where cdrom is the directory you specified when mounting the CD drive, and ./setup unloads the components in GUI mode:

  2. 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 -is:tempdir <directory_name>
    

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

  3. Select Next to proceed.

  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 ($SYBASE or /opt/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 exists, InstallShield prompts:

    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?
    

    If you click Yes, and:

    WARNING! Do not install into an existing Adaptive Server Enterprise 12.x (64-bit) directory. If you do, localization (.loc files) will be overwritten, and Adaptive Server Enterprise will not start.

  9. Select the type of installation:

    NoteTo install the Replication Server plug-in to Sybase Central, Windows Edition, use the PC-Client CD and follow the instructions in “Installing Sybase Central on Windows”.

  10. Click Next. InstallShield installs the components on the hard drive and displays a progress indicator.

    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. Then, restart InstallShield.

  11. Not available for HP Tru64 UNIX, Mac OS X and SGI – on the sample Replication Server option window, click:

  12. Not available for HP Tru64 UNIX, Mac OS X, and SGI – 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 configured using the file $SYBASE/REP-12_6/samp_repserver/SAMPLE_RS.res.
    
    All files and logs associated with the sample Replication Server will be located in the directory $SYBASE/REP-12_6/samp_repserver.
    
    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.
    
  13. Not available for HP Tru64 UNIX, Mac OS X, and SGI – click Next. If you chose to start a sample Replication Server, the Configure New Replication Server window displays the progress of the server configuration.

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

    If you chose to start a sample Replication Server, Replication Server 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 UNIX for information about how to configure your new Replication Server.

  15. Click Finish. The InstallShield wizard closes.

  16. Run the license tool to enter your Sybase Software Asset Management Certificates. See “Using the SySAM license manager” for more information.

  17. Check the Sybase downloads Web site for updates.

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. At the command line, enter:

    InstallShield starts and displays the welcome window as follows:

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