Deploying a package

The deployment of a package applies the configuration records to the target environment. To analyze the effect of the changes without applying them, you can preview the deployment.

Before you begin

Distribute the package to the environment where you will deploy it. If the package was downloaded to a client computer, upload it to the target application server.

Back up the target database.

Procedure

  1. In the Migration Manager application, select the package definition that corresponds to the package that you want to deploy or preview.
  2. Select the Deploy Package action.
  3. Optional: To inspect and verify the contents of the package, click View Manifest.
  4. Optional: Preview the deployment:
    1. Select Preview.
    2. Optional: To output SQL commands that correspond to structural changes in the package, select Include Database Configuration Commands.
    3. Select a rollback point.
  5. Confirm that you have a current backup of the database on the target environment.
  6. If a package definition has attributes selected for replacement, but no attribute replacement rules are defined and you do not want to define the rules, select Skip prompts to create attribute rules.
  7. Select a package and then click Deploy.
  8. If the package contains compiled sources, download them to a client system.
    If the compiled sources include Java™ class files, deploy the compiled sources:
    1. Stop the application server.
    2. Rebuild and deploy the EAR file.
    3. Restart the application server.
    4. In the Migration Manager application, on the Package tab, click Continue Deployment.
    5. Confirm that the compiled sources are deployed to the application server.
  9. If the package contains structural content, enable administration mode so that the structural changes are applied:
    1. Select the Manage Admin Mode action, click Turn Admin Mode On, and click Close.
    2. On the Package tab, click Continue Deployment.
  10. Review the deployment messages in the status window and click OK.
  11. Optional: If you previewed the deployment, download the preview log file to your client computer from the Package tab.

What to do next

  • Before you deploy another package to the same environment, you must activate any organizations, sites, workflow processes, and communication templates that were migrated.
  • If you enabled administration mode to apply structural changes, turn administration mode off.