LibraryToggle FramesPrintFeedback

Patching a Container in a Fabric

Overview

The bundles loaded by a container in a fabric is controlled by the container's Fabric Agent. The agent inspects the profiles applied to the container to determine what bundles to load, and the version of each bundle, and then loads the specified version of each bundle for the container.

A patch typically includes a new version of one or more bundles, so to apply the patch to container in a fabric you need to update the profiles applied to it. This will cause the Fabric Agent to load the patched versions of the bundles.

Fuse Management Console is the recommended tool for patching containers in a fabric. However, the command console's fabric shell also provides the commands needed to patch containers running in a fabric.

Procedure

Patching a container in a fabric involves:

  1. Getting a patch file.

    • Customer Support sends you a patch.

    • Customer Support sends you a link to download a patch.

    • You, or your organization, generate a patch file for an internally created application.

  2. Uploading one or more patch files to the fabric's Maven repository.

  3. Applying the patch(es) to a profile version.

    This creates a new profile version that points to the new versions of the patched bundles and repositories.

  4. Migrate one or two containers to the patched profile version to ensure that the patch does not introduce any new issues.

  5. After you are certain that the patch works, migrate the remaining containers in the fabric to the patched version.

Using Fuse Management Console

Fuse Management Console is the easiest and most verbose method of patching containers in a fabric. The Fuse Management Console Patching tab uploads patches to a fabric's Maven repository and applies the patch to a specified profile version. You can then use Fuse Management Console to roll the patch out to all of the containers in the fabric.

See the Fuse Management Console patching documentation for more information.

Using the command console

Using the command console

The Apache ActiveMQ command console can also be used to patch containers running in a fabric. To patch a fabric container:

  1. Upload the patch file to the fabric's Maven repository.

  2. Create a new profile version to which the patch will be applied.

  3. Modify all of the profiles in the new version which require the patch.

  4. Use the fabric:container-upgrade command to roll the patch out to the containers running in the fabric.

Comments powered by Disqus