Replication Server is available only on 64-bit platforms for all supported
UNIX and Linux operating systems.
Prerequisites
Back up your replication system. The
migration
process makes changes to the system databases that you cannot roll back if the
migration
fails. Restore the system databases if the
migration
fails.
If
you plan to install the software in a directory other than an existing version
directory, verify that the interfaces
file is accessible.
Task
Note: This migration
procedure applies only for migration in the same RSSD version and platform. If
you have
migrated
to a Replication Server version that is available only on 64-bit platforms, you
cannot migrate back to a 32-bit platform. See the release bulletin for supported
64-bit platforms.
Stop Replication Agent for all primary databases and system
databases by executing this command on Replication Server:
suspend log transfer from all
If you are using Adaptive Server as your RSSD, stop RepAgent
for the RSSD:
sp_stop_rep_agent RSSD_name
If you are going to migrate a Replication Server, log in to
each upstream Replication Server and suspend all the routes to the Replication
Server you are migrating:
suspend route to replicate_Replication_Server
Verify that the Replication Server queues have been drained and that
Replication Server has been quiesced:
admin quiesce_check
If Replication Server has not yet quiesced, use admin quiesce_force_rsi .
Warning! You may lose data if you proceed with the
migration
process without quiescing Replication Server.
Stop Replication Server.
Log in to the Replication Server as the system administrator:
In your
Replication Server log file, search for “LD_LIBARY_PATH” and “ERSSD
start command”, to see the actual commands for setting LD_LIBRARY_PATH,
and for starting the ERSSD:
Load the migration script file into the ERSSD or RSSD. For example:
ERSSD – load $SYBASE/REP-15_5/scripts/rs_migration_asa.sql
into the ERSSD.
RSSD – load $SYBASE/REP-15_5/scripts/rs_migration_ase.sql into
the RSSD.
Start Replication Server from the new Replication Server executable.