Parallel with replication

Method

The following general method can be used to perform a parallel upgrade with replication:

  1. Install a new copy of Adaptive Server 15.0.

  2. Copy in or load pre-release 15.0 databases.

  3. Use Replication Server to maintain both sets of databases. The 15.0 system becomes the primary server, and you maintain the pre-15.0 system as a warm standby.

Fallback

Plan for all users to reconnect to the earlier version server after you take Adaptive Server verion 15.0 off line. Make TCP/IP address and port changes where appropriate.

Test the fallback process as part of the application test suite (these are a series of tasks that test your application). This suite should do both of the following:

Do not apply schema enhancements.

For information about scheduling backups of user databases, see the System Administration Guide.

Additional tips:

Application test suite

Execute this suite before switching users to the new system.

Since the parallel-with-replication approach is best for high availability applications, it is imperative that the test suite address both update correctness and performance acceptability.

See Chapter 6, “Ensuring Stability and Performance” for more information on testing.

NoteAfter successful validation, consider having users enter production queries. You should perform your tests with a realistic production load. A good time to perform the tests is after hours or during production lulls.

Bridging

There should not be any user impact during migration. The more stringent the validation test is, the less likely you are to have issues during migration.

To ensure correct updates and acceptable performance, test the replicated environment.

Environment

The environment used for Adaptive Server vesion 15.0 must be more powerful than for earlier version to handle query and replication loads. See the Replication Server Configuration Guide for your platform for more information.

Be sure to account for any increased release 15.0 memory requirements that apply to your configuration. For more information, see:

NoteFor a production system, execute the performance suite during off hours.

Scheduling

Developing and running the replication facility, validation and performance suite, and fallback script requires significant effort. If your environment already uses replication, this effort will be notably easier.

For a development system, you may want to add a short period to the development schedule for release 15.0 issues.

For a production system, be prepared to postpone or fall back, if needed.