Upgrade program actions

The upgrade program performs the following actions on each database that it upgrades:

  1. Updates the target database schema to the Release 7.1 schema.
  2. Updates the target database version to 7.1.
  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 notify directory as database_path/lib/oldnotify.
  6. Protects the target database.
  7. Exports any types that were modified in the target database.
  8. Finds the list of models installed in the target database.
  9. Installs the required list of models and model additions from the model database to the target database.
  10. Unprotects the target database.
  11. Restores the original migrate rules file saved in 3, and performs any upgrade that is required.
  12. Starts a 7.1 session on the target database.
  13. Runs the ccm db_update -update command to update the data in the target database to Release 7.1 format.
  14. Converts line end conventions in ASCII files if the -w option was present.
  15. Check the archive conversion status.
  16. Removes obsolete files from the target database.
  17. Connects the database to the default CCM server, or to the CCM server specified by the -url option.

Feedback