Downgrading Replication Agent for UDB

You can downgrade Replication Agent for UDB from version 15.7.1 to version 15.2 ESD #2 or later.

You may need to downgrade Replication Agent if the upgrade process fails or if replication fails after an upgrade.

If you are using any new features from Replication Agent 15.7.1, you cannot downgrade. For a list of the new features for Replication Agent 15.7.1, see the Replication Agent New Features.

  1. Change to the Replication Agent 15.7.1 bin directory:
    • On UNIX:

      cd $SYBASE/RAX-15_5/bin
    • On Windows:

      cd %SYBASE%\RAX-15_5\bin
    The Replication Agent directory name for release 15.5 and later is RAX-15_5.
  2. Log in to the Replication Agent for UDB 15.7 instance. Run the ra_downgrade command at the Replication Agent instance from which you are downgrading (the current version):
    ra_downgrade

    The ra_downgrade 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 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 absolute path to this file is returned if ra_downgrade executes successfully.

    Note: The ra_downgrade_prepare and ra_downgrade_accept commands are deprecated as of Replication Agent 15.7.1.
  3. Shut down the Replication instance by issuing the shutdown command.
  4. Start and log in to the Replication Agent instance to which you are downgrading (the earlier version), and run ra_migrate:
    ra_migrate
  5. Resume replication.
    resume