Downgrading Replication Agent 15.5 to 15.2 ESD #2

This section describes how to downgrade Replication Agent 15.5 to 15.2 ESD #2.

StepsDowngrading Replication Agent 15.5 to 15.2 ESD #2

  1. Change to the Replication Agent 15.5 bin directory:

    cd %SYBASE%\RAX-15_5\bin
    
  2. Prepare for downgrade by running the ra_downgrade_prepare command at the Replication Agent instance from which you are downgrading (the current version):

    ra_downgrade_prepare inst_path
    

    Here, inst_path is the absolute path of the Replication Agent instance to which you are downgrading (the earlier version).

    The ra_downgrade_prepare command extracts the contents of the Replication Agent System Database (RASD) to a file named timestamp.export, where timestamp is a timestamp taken at the moment ra_downgrade_prepare was invoked. This file is located in the import subdirectory under the directory specified by the rasd_backup_dir configuration parameter of the Replication Agent instance to which you are downgrading (the earlier version). The path to this file is returned if ra_downgrade_prepare executes successfully.

  3. Complete the downgrade by running the ra_downgrade_accept command at the Replication Agent instance to which you are downgrading (the earlier version):

    ra_downgrade_accept timestamp.export
    

    Here, timestamp.export is the file to which the ra_downgrade_prepare command extracted RASD contents.

    If the ra_downgrade_accept command executes successfully, Replication Agent shuts down.

  4. Start the Replication Agent instance to which you have downgraded (the earlier version), and resume replication:

    resume purge
    

    The purge keyword is needed here to purge data from the Replication Server inbound queue for the connection to which this Replication Agent is connected. Purging prevents any duplicate records from being created in Replication Server as a result of the change in OQID formats between the earlier and later versions of Replication Agent.