Downgrading Replication Server to an earlier version

“Downgrading” means reverting to an earlier version of the software. You cannot downgrade an RSSD to a version below the site version.

Before you downgrade:

  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.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.

    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.

  2. Back up your system.

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

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

StepsDowngrading to an earlier software version

  1. Stop Replication Agent for all primary databases and system databases by executing the command on Replication Server:

    suspend log transfer from all
    
  2. If you are using Adaptive Server as your RSSD, stop RepAgent for the RSSD:

    sp_stop_rep_agent emb
    
  3. If you are going to downgrade a replicate Replication Server, log in to the primary Replication Server and suspend all the routes to the replicate Replication Server:

    suspend route to replicate_Replication_Server
    
  4. Verify that the Replication Server queues have been drained and that Replication Server has been quiesced:

    admin quiesce_check
    

    Retry using admin quiesce_force_rsi if Replication Server is not quiesced yet.

    WARNING!  You may lose data if you proceed with the downgrade process and Replication Server is not quiesced.

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

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

  7. Start rs_init:

    $SYBASE/$SYBASE_REP/install/rs_init
    

    The RS_INIT menu appears.

  8. Select Configure a Server Product.

  9. Select Replication Server.

  10. Select Downgrade RSSD for an Existing Replication Server.

  11. 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 for which you are downgrading the RSSD.

    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.

  12. Press Ctrl+A to save your changes. You see:

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

    Informational messages appear 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.

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

  15. Shut down all Replication Servers and Replication Agents on this machine.

  16. Restart the Replication Servers and Replication Agents.

  17. If you are using Adaptive Server as the RSSD, restart the RepAgent for the RSSD:

    sp_start_rep_agent emb
    

Downgrade restrictions