Completing a CMS database migration

When you finish copying data from the source database to the destination database, complete these steps before allowing users to access the system.

When migrating from an older version of Crystal Enterprise, servers that existed in the source installation do not appear in the migrated install. This occurs because there cannot be a mix of old and new servers in a Crystal Enterprise installation.

Server groups from the old installation appear in the new system, but they will be empty. New servers are automatically detected and added to the servers list (outside of any group) in a disabled state. You must enable these servers before they can be used. You may add the new servers to the imported groups as appropriate.

Reports that depend on a particular server group for scheduled processing will not execute until a job server is added to that group. Reports that depend on a particular server group for processing are not available until servers are added to that group.

To complete a CMS database migration on Windows
  1. If errors occurred during migration, a db_migration log file was created in the logging directory on the machine where you ran the CCM to carry out the migration. The CCM will notify you if you need to check the log file.

    The default logging directory is:

    C:\Program Files\Crystal Decisions\Enterprise10\Logging\

  2. If you migrated CMS data from a different CMS database into your current CMS database, you need to make your old input and output directories available to the new Input and Output File Repository Servers. You can do this in several ways:
  3. Use the Crystal Configuration Manager (CCM) to start the CMS on the local machine.
  4. Start and enable the WCS, and check that your web server is running.
  5. Log on to the Crystal Management Console with the default Administrator account, using Enterprise authentication.

    Tip:    If you just replaced your CMS database with data from an older system, keep in mind that you now need to provide the Administrator password that was valid in the older system.

  6. Go to the Authorization management area and check that your Crystal Enterprise license keys are entered correctly.
  7. In the CCM, start and enable the Input File Repository Server and the Output File Repository Server.
  8. Go to the Servers management area of the Crystal Management Console and verify that the Input File Repository Server and the Output File Repository Server are both started and enabled.
  9. Click the link to each File Repository Server and, on the Properties tab, check that the Root Directory points to the correct location.
  10. Return to the Crystal Configuration Manager.
  11. If objects in your source database require updating, the Update Objects button on the toolbar contains a flashing red exclamation mark. Click Update Objects.
  12. When prompted, log on to your CMS with credentials that provide you with administrative privileges to Crystal Enterprise.

    The Update Objects dialog box tells you how many objects require updating. Objects typically require updating because their internal representation has changed in the new version of Crystal Enterprise, or because the objects require new properties to support the additional features offered by Crystal Enterprise 10. Because your Crystal Management Server was stopped when the migration occurred, you need to update the objects now.

  13. If there are objects that require updating, click Update, otherwise click Cancel.
  14. Start and enable the remaining Crystal Enterprise servers.
  15. Verify that Crystal Enterprise requests are handled correctly, and check that you can view and schedule reports successfully.
To complete a CMS database migration on UNIX
  1. If errors occurred during migration, a db_migration log file was created in the logging directory on the machine where you ran cmsdbsetup.sh to carry out the migration. The script will notify you if you need to check the log file.

    The default logging directory is:

    crystal_root/logging

    where crystal_root is the absolute path to the root crystal directory of your Crystal Enterprise installation.

  2. If you migrated CMS data from a different CMS database into your current CMS database, you need to make your old input and output directories available to the new Input and Output File Repository Servers. You can do this in several ways:
  3. Use the ccm.sh script to start the CMS on the local machine. (See ccm.sh for instructions.)
  4. Ensure that the Java web application server that hosts your Web Component Adapter is running.
  5. Log on to the Crystal Management Console with the default Administrator account, using Enterprise authentication.

    Tip:    If you just replaced your CMS database with data from an older system, keep in mind that you now need to provide the Administrator password that was valid in the older system.

  6. Go to the Authorization management area and check that your Crystal Enterprise license keys are entered correctly.
  7. Use the ccm.sh script to start and enable the Input File Repository Server and the Output File Repository Server.
  8. Go to the Servers management area of the Crystal Management Console and verify that the Input File Repository Server and the Output File Repository Server is started and enabled.
  9. Click the link to each File Repository Server and, on the Properties tab, check that the Root Directory points to the correct location.
  10. Run the ccm.sh script again. If you migrated a source database from an earlier version of Crystal Enterprise, enter the following command:

    ./ccm.sh -updateobjects authentication info

    See UNIX Tools for information on the authentication information required by ccm.sh.

    Objects typically require updating because their internal representation has changed in the new version of Crystal Enterprise, or because the objects require new properties to support the additional features offered by Crystal Enterprise 10.

  11. Use ccm.sh to start and enable the remaining Crystal Enterprise servers.
  12. Verify that Crystal Enterprise requests are handled correctly, and check that you can view and schedule reports successfully.


Crystal Decisions
http://www.crystaldecisions.com/
Support services
http://support.crystaldecisions.com/