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 sql.ini 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 a system administrator.

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

  7. In the Sybase for Windows group window, double-click the Replication Server Configuration icon. You see the RS_Init window.

  8. Select Configure a Server Product, then choose Continue.

  9. Select Replication Server, then choose Continue.

  10. Select Downgrade RSSD for an Existing Replication Server, then choose Continue.

  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. Select Continue to save your changes. You see:

    Execute the Replication Server tasks now?
    
  13. Select Yes 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:

  14. Select OK. You see:

    Replication Server “rs_name” can now be restarted
    
  15. Select OK. You see:

    Configuration completed successfully.
    
  16. Select OK. You see the Setup window.

  17. Select Exit.

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

  19. Restart the Replication Servers and Replication Agents.

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

    sp_start_rep_agent emb
    

Downgrade restrictions