Downgrading Replication Server

Revert to an earlier version of the software. You cannot downgrade an RSSD to a version below the site version.

Prerequisites
Task

  1. Stop Replication Agent for all primary databases and system databases by executing this 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 RSSD_name
  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 with admin quiesce_force_rsi if Replication Server is not yet quiesced.
    Warning!  You may lose data if you proceed with the downgrade process without quiescing Replication Server.
  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.
    Note: The downgrade process purges all the Replication Server inbound queues.
  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. Enter information from the “Replication Server Installation Worksheet” section for the Replication Server you are downgrading:
    • Name of the Replication Server for which you are downgrading the RSSD.
    • Login name for the Replication Server “sa” user. The default value is “sa.”
    • Password for the Replication Server “sa” user.
    • 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:

    • rel_no – is the Replication Server version from which you are downgrading.
    • rs_name – is the name of your Replication Server.

    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 RSSD_name