The ccmdb upgrade command converts a database
from a previous release.
Here is a brief description of the ccmdb upgrade command.
For a detailed description and usage instructions, see Upgrading Rational® Synergy
on Windows or Upgrading Rational Synergy
on UNIX.
The
upgrade program converts a database from Releases 6.4, 6.5, or 7.0
to Release 7.1. You must upgrade a database from a previous release
before using it with Release 7.2 or later.
The upgrade program
performs the following actions on each database that it upgrades:
- Updates the target database schema to the Release 7.2 or later
schema.
- Updates the target database version to 7.2 or later.
- Saves the previous migrate rules as database_path\lib\Windows\migrate.old.
- Saves the previous pt directory as database_path\oldpt.
- Saves the previous bin directory as database_path\oldbin.
- Saves the previous notify directory as database_path\lib\oldnotify.
- Protects the target database.
- Exports any types that were modified since a previous model installation
to the database_path\old_types directory.
If the upgrade cannot determine the time of the previous model installation,
it exports all standard types and attempts to identify any modified
types by using an alternative algorithm.
- Finds the list of models installed in the target database.
- Installs the required list of models and model additions from
the model database to the target database.
- Unprotects the target database.
- Restores the original migrate rules file saved in step 3, and
performs any upgrade that is required.
- Starts a 7.2 or later session on the target database.
- Runs the ccm db_update /update command to update
the data in the target database to 7.2 or later format.
- Removes obsolete files from the target database.
- Assigns the new database to the appropriate server.