Download View this document as PDF

Transcript
Upgrade or Downgrade Replication Server
b) Enter the name of the database you are upgrading.
c) Enter the login name for the “sa” user on the Adaptive Server that manages the
database that you are upgrading. The default value is “sa.”
d) Enter the Adaptive Server “sa” user password.
e) Enter the login name for the maintenance user on the Adaptive Server that manages the
database that you are upgrading. The default is “database_maint,” where “database” is
the name of the database you are upgrading.
4. Select Continue. rs_init performs the upgrade.
5. If you have more Replication Servers or databases to upgrade, repeat the procedures to
stop Replication Agent and quiesce Replication Server, upgrade RSSD or ERSSD, and
upgrade Adaptive Server databases.
See also
• Fixing a Failed Upgrade on page 60
• Restarting Replication Server on page 61
Upgrading Non-ASE User Databases
Use the corresponding upgrade scripts for your non-ASE database. You cannot use rs_init for
non-ASE databases.
Go to the scripts subdirectory of your Replication Server installation directory for the upgrade
scripts.
For example, to upgrade an Oracle user database, run the hds_oracle_upgradedb.sql
script on the user database.
Restarting Replication Server
Restart Replication Server.
1. Modify the old runserver file, run_ servername .bat, where servername is your
Replication Server name, to replace the old binary with the new binary in %SYBASE%
\REP-15_5\bin\repserver, then start Replication Server from %SYBASE%
\REP-15_5\bin\repserver.
2. If you are using Adaptive Server as the RSSD, restart the RepAgent for the RSSD:
sp_start_rep_agent RSSD_name
3. Resume log transfer to Replication Server from all Replication Agents for primary
databases, and RSSD or eRSSD:
resume log transfer from all
4. If there are incoming routes to dest_rs, the Replication Server you upgraded and now
restarted, log in to the source Replication Server and resume all routes to dest_rs to allow
the source Replication Server to begin sending queued messages to dest_rs. At the source
Replication Server, execute:
Configuration Guide
61