Chapter 21. Applying a Patch


Abstract

Applying a patch is a two step process. The first step creates a new profile version. The second step rolls the patch out to the containers.

Overview

Once a patch file is uploaded to the Fabric Ensemble's Maven repository, it can be applied to the containers in the fabric. To make it so that you can roll out the patch to controlled set of containers, and to be able to roll the patch back, applying a patch is a two step process:
  1. Apply the patch to an existing profile version.
    This creates a new profile version based on the one being patched. This ensures that none of the running containers are updated with the patch automatically.
  2. Migrate one or more containers to the patched profile version.
    This deploys the patch to running containers. It is recommended that the initial roll out of a patch is limited to a few containers. Once the patch has been proven to work, you can then migrate the remaining containers to the patched profile version,
Important
The patched bundles in the Fabric Ensemble's Maven repository will be used in place of the bundles original bundles. The original bundles, however, will still be available for use.

Procedure

To apply a patch:
  1. Select the management console's Patching tab.
  2. Upload one or more patches.
  3. From the Version to patch drop-down list, select the version to which you want to apply the patch(es).
    This is the version that will be copied and modified to use the uploaded patch(es).
  4. Click Apply Patches.
    A new profile version will be created based on the selected profile version. The selected version will be copied and any of the profiles that use bundles in the patch(es) will be modified to use the bundle version from the patch instead of the original version.
    Important
    The new profile version is not used by any of the running containers, so the changes have not been applied to any of the containers.
  5. Migrate one or more containers to the newly patched profile version.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.