App Server CM Packaging Overview

The following diagram describes the app server CM packaging procedure.

Diagram illustrating the CM packaging procedure, from the Project Repository to the Release Install Package.

The starting point of packaging the app server component is the project repository. The tool extractCMSource is used to get the source from the project repository into the packaging directory.

Note:
The packaging directory must not be used for any other purpose except for storing the extracts. Mixing other files into the packaging directory will result in errors in succeeding processes.

applyCM copies the extracted source to the packaging app server. It then does all the necessary steps like generate, compile, etc., to update the packaging app server runtime based on the extracted source.

create_​CM_​Release is then used to create CM release install package from the packaging app server. The CM release install package contains all CM code that has been applied to the packaging app server.

Diagram illustrating that the release install package is to be installed to either the QA or the Production app servers.

The install tool applies the CM release install files to all target environments on an individual basis.

Note:
Release install packages are usually applied only to fresh environments. For example, to apply the first batch of CM code or when upgrading to a new version of the product. To install additional code to an existing environment, patch install packages (described next) are used.

Diagram showing the old and the new release packages in relation to the CM Patch and the Patch Install Package.

CM patch install packages are used to update an existing installation with the changes since it was last updated. A patch install package is created by create_​CM_​Patch as the difference between two CM release install packages (a newer one and an older one). For example, for a monthly update schedule, CM release install packages are created monthly, and every month, a cm patch install package is created using the release install packages from the previous and the current month.

To create a patch install package, a new release install package must be created first. Note that a release (not patch) install package must be available for the previous period. Executing create_​CM_​Patch with the two CM release install packages as input creates the patch install package.

Diagram illustrating that the patch install package is to be installed to either the QA or the Production app servers.

Refer to the Software Configuration Management Series (Doc Id: 560401.1) available from My Oracle Support for additional advice.