Upgrading to Replication Server 15.0

This section describes how to upgrade to Replication Server 15.0 by upgrading your Replication Servers.

StepsUpgrading to Replication Server 15.0 from an earlier version

  1. Back up your current installation.

    If you plan to install the Replication Server software in a directory other than an existing Sybase version directory, make sure that the interfaces file is accessible. See the Replication Server Installation Guide for instructions.

  2. Install the new Replication Server software. See Replication Server Installation Guide for instructions.

  3. Upgrade the RSSD for each Replication Server. See “Upgrading an RSSD”.

  4. Upgrade each user database that is managed by an upgraded Replication Server. See “Upgrading a user database in a replication system”.

StepsUpgrading an RSSD

Complete these steps in the order shown in this section to upgrade an RSSD based on the information from the “Replication Server installation worksheet” for the Replication Server you are upgrading. Upgrading an RSSD may add new Replication Server system tables, add new rows or columns to existing tables, or install new stored procedures.

  1. Set the SYBASE environment variable to the directory where Replication Server 15.0 is installed.

  2. Log in as the “sybase” user and change to the $SYBASE directory.

  3. Verify that RSSD servers, Replication Servers, and RepAgents that you are upgrading are running.

  4. If the Replication Server uses Adaptive Server Enterprise for the RSSD, grant replication_role to the primary user at RSSD as follows:

    sp_role 'grant', replication_role, primary_user

  5. Start rs_init:

    $SYBASE/$SYBASE_REP/install/rs_init
    

    You see the RS_INIT menu.

  6. Select Configure a Server Product. Choose Continue.

  7. Select Replication Server.

  8. Select Upgrade an Existing Replication Server.

  9. Complete the Upgrade Existing Replication Server screen with the information from the “Replication Server installation worksheet” for the Replication Server you are upgrading.

    1. Enter the name of the Replication Server with the RSSD you are upgrading.

    2. Enter the login name for the RS SA user. The default value is “sa.”

    3. Enter the password for the “sa” user on the Replication Server.

    4. Enter the path name of the Replication Server Configuration file.

    5. Press Ctrl+A to save your changes. rs_init displays the following message:

      Execute the Replication Server tasks now?
      
  10. Enter “y” to continue the RSSD upgrade.

    rs_init displays informational messages as it loads the upgrade script into the RSSD. When the upgrade is complete, rs_init displays these messages:

    RSSD successfully upgraded from old_rel_no to new_rel_no. Replication Server 'rs_name' can now be restarted. Task to upgrade the RSSD succeeded. Configuration completed successfully.
    

    where:

  11. If you installed the new Replication Server software in a different directory from the earlier version, modify the runserver files for the Replication Servers so that they use the programs in the new version directory.

  12. Restart the Replication Server using the appropriate executables for the new version.

For instructions on downgrading an RSSD to an earlier version, see “Downgrading Replication Server to an earlier version”.