ccmdb upgrade

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 UNIX usage instructions, see Upgrading Rational Synergy on Windows or Upgrading Rational Synergy on UNIX.

The upgrade program converts a database from Releases 6.3, 6.4, 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:

  1. Updates the target database schema to the Release 7.2 or later schema.
  2. Updates the target database version to 7.2 or later.
  3. Saves the previous migrate rules as database_path/lib/Unix/migrate.old.
  4. Saves the previous pt directory as database_path/oldpt.
  5. Saves the previous bin directory as database_path/oldbin.
  6. Saves the previous notify directory as database_path/lib/oldnotify.
  7. Protects the target database.
  8. 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. Then, it uses alternative algorithms to identify any modified types.
  9. Finds the list of models installed in the target database.
  10. Installs the required list of models and model additions from the model database to the target database.
  11. Unprotects the target database.
  12. Restores the original migrate rules file saved in step 3, and performs any upgrade that is required.
  13. Starts a 7.2 or later session on the target database.
  14. Runs the ccm db_update -update command to update the data in the target database to 7.2 or later format.
  15. Removes obsolete files from the target database.
  16. Assigns the new database to the appropriate server.

Feedback