Downgrading Replication Server to an earlier version

Downgrading is reversing to an earlier version of the software. You cannot downgrade an RSSD to a version below the site version.

To revert to an earlier software version after:

StepsDowngrading to an earlier software version

  1. Read the Replication Server release bulletin for information about downgrading your software. In particular, find out if an RSSD downgrade is required to return to the earlier version.

    NoteIf an RSSD downgrade is not required, you do not have to perform these steps. Reinstall the earlier software version following the instructions in Replication Server Installation Guide for UNIX Platforms.

  2. Back up your system.

    If you are downgrading to a directory other than the existing Sybase version directory, make sure the appropriate interfaces file is accessible.

  3. Back up the RSSD for the Replication Server you plan to downgrade.

  4. Log in as the “sybase” user, and change to the $SYBASE_REP directory.

  5. Verify that the RSSDs and the Replication Servers you plan to downgrade are running.

  6. Start rs_init:

    $SYBASE/$SYBASE_REP/install/rs_init
    

    The RS_INIT menu appears.

  7. Select Configure a Server Product.

  8. Select Replication Server.

  9. Select Downgrade RSSD for an Existing Replication Server.

  10. Complete the Downgrade RSSD for Replication Server screen with the information from the “Replication Server installation worksheet” for the Replication Server you are downgrading.

    1. Enter the name of the Replication Server whose RSSD you are downgrading.

    2. Enter the login name for the Replication Server “sa” user. The default value is “sa.”

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

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

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

    Execute the Replication Server tasks now?
    
  12. Enter “y” to continue.

    Informational messages display as rs_init loads the downgrade script into the RSSD. When the downgrade is complete, you see these messages:

    RSSD successfully downgraded to rel_no.
    Replication Server 'rs_name' can now be restarted.
    Task to downgrade the RSSD succeeded. Configuration completed successfully.
    

    where:

    Press Return after each message. You see the Configure Replication System screen.

  13. Press Ctrl+C and enter “y” to exit rs_init.

  14. Log in to each user database managed by the Replication Server and execute this command:

    dbcc settrunc("ltm", "begin")
    
  15. Shut down all Replication Servers and RepAgents on this machine.

  16. When you downgrade to an earlier software version, you must install the earlier software. Read the release bulletin for the earlier version of Replication Server. Then refer to the installation or configuration guide for that version for installation instructions.

  17. Restart the RepAgents that are connected to the Replication Server.