Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 3. Applying patch updates and minor release upgrades to Red Hat Process Automation Manager
Automated update tools are often provided with both patch updates and new minor versions of Red Hat Process Automation Manager to facilitate updating certain components of Red Hat Process Automation Manager, such as Business Central, Process Server, and the headless Process Automation Manager controller. Other Red Hat Process Automation Manager artifacts, such as the decision engine and standalone Business Central, are released as new artifacts with each minor release and you must re-install them to apply the update.
You can use the same automated update tool to apply both patch updates and minor release upgrades to Red Hat Process Automation Manager 7.3. Patch updates of Red Hat Process Automation Manager, such as an update from version 7.3 to 7.3.1, include the latest security updates and bug fixes. Minor release upgrades of Red Hat Process Automation Manager, such as an upgrade from version 7.3.x to 7.3, include enhancements, security updates, and bug fixes.
You can update or upgrade Red Hat Process Automation Manager versions 7.2.x through 7.3.1 directly. For example, you can use the 7.3.0 upgrade tool to upgrade Red Hat Process Automation Manager 7.2.x to version 7.3.0. Likewise, you can directly upgrade Red Hat Process Automation Manager 7.2.0 to version 7.3.1.
Only updates for Red Hat Process Automation Manager are included in Red Hat Process Automation Manager update tools. Updates to Red Hat JBoss EAP must be applied using Red Hat JBoss EAP patch distributions. For more information about Red Hat JBoss EAP patching, see the Red Hat JBoss EAP Patching and upgrading guide.
Do not attempt to update rhpam-kie-server-ee7 to rhpam-kie-server-ee8. It is not supported but the update tool will not prevent you from doing it. If you are updating Red Hat Process Automation Manager 7.3.0 to 7.3.1, update rhpam-kie-server-ee7 only. If you are updating Red Hat Process Automation Manager 7.3.1 to 7.4.x, update rhpam-kie-server-ee8 only.
Prerequisites
- Your Red Hat Process Automation Manager and Process Server instances are not running. Do not apply updates while you are running an instance of Red Hat Process Automation Manager or Process Server.
Procedure
Navigate to the Software Downloads page in the Red Hat Customer Portal (login required), and select the product and version from the drop-down options.
Example:
- Product: Process Automation Manager
- Version: 7.3.0
If you are upgrading to a new minor release of Red Hat Process Automation Manager, such as an upgrade from version 7.3.x to 7.3, first apply the latest patch update to your current version of Red Hat Process Automation Manager and then follow this procedure again to upgrade to the new minor release.
Click Patches, download the Red Hat Process Automation Manager [VERSION] Update Tool, and extract the downloaded
rhpam-$VERSION-update.zipfile to a temporary directory.This update tool automates the update of certain components of Red Hat Process Automation Manager, such as Business Central, Process Server, and the headless Process Automation Manager controller. Use this update tool first to apply updates and then install any other updates or new release artifacts that are relevant to your Red Hat Process Automation Manager distribution.
If you want to preserve any files from being updated by the update tool, navigate to the extracted
rhpam-$VERSION-updatefolder, open theblacklist.txtfile, and add the relative paths to the files that you do not want to be updated.When a file is listed in the
blacklist.txtfile, the update script does not replace the file with the new version but instead leaves the file in place and in the same location adds the new version with a.newsuffix. If you blacklist files that are no longer being distributed, the update tool creates an empty marker file with a.removedsuffix. You can then choose to retain, merge, or delete these new files manually.Example files to be excluded in
blacklist.txtfile:WEB-INF/web.xml // Custom file styles/base.css // Obsolete custom file kept for record
WEB-INF/web.xml // Custom file styles/base.css // Obsolete custom file kept for recordCopy to Clipboard Copied! Toggle word wrap Toggle overflow The contents of the blacklisted file directories after the update:
ls WEB-INF
$ ls WEB-INF web.xml web.xml.newCopy to Clipboard Copied! Toggle word wrap Toggle overflow ls styles
$ ls styles base.css base.css.removedCopy to Clipboard Copied! Toggle word wrap Toggle overflow In your command terminal, navigate to the temporary directory where you extracted the
rhpam-$VERSION-update.zipfile and run theapply-updatesscript in the following format:ImportantMake sure that your Red Hat Process Automation Manager and Process Server instances are not running before you apply updates. Do not apply updates while you are running an instance of Red Hat Process Automation Manager or Process Server.
On Linux or Unix-based systems:
./apply-updates.sh $DISTRO_PATH $DISTRO_TYPE
$ ./apply-updates.sh $DISTRO_PATH $DISTRO_TYPECopy to Clipboard Copied! Toggle word wrap Toggle overflow On Windows:
.\apply-updates.bat $DISTRO_PATH $DISTRO_TYPE
$ .\apply-updates.bat $DISTRO_PATH $DISTRO_TYPECopy to Clipboard Copied! Toggle word wrap Toggle overflow The
$DISTRO_PATHportion is the path to the relevant distribution directory and the$DISTRO_TYPEportion is the type of distribution that you are updating with this update.The following distribution types are supported in Red Hat Process Automation Manager update tool:
-
rhpam-business-central-eap7-deployable: Updates Business Central (business-central.war) -
rhpam-kie-server-ee8: Updates Process Server (kie-server.war) -
rhpam-controller-ee7: Updates the headless Process Automation Manager controller (controller.war)
Example update to Business Central and Process Server for a full Red Hat Process Automation Manager distribution on Red Hat JBoss EAP:
./apply-updates.sh ~EAP_HOME/standalone/deployments/business-central.war rhpam-business-central-eap7-deployable ./apply-updates.sh ~EAP_HOME/standalone/deployments/kie-server.war rhpam-kie-server-ee8
./apply-updates.sh ~EAP_HOME/standalone/deployments/business-central.war rhpam-business-central-eap7-deployable ./apply-updates.sh ~EAP_HOME/standalone/deployments/kie-server.war rhpam-kie-server-ee8Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example update to headless Process Automation Manager controller, if used:
./apply-updates.sh ~EAP_HOME/standalone/deployments/controller.war rhpam-controller-ee7
./apply-updates.sh ~EAP_HOME/standalone/deployments/controller.war rhpam-controller-ee7Copy to Clipboard Copied! Toggle word wrap Toggle overflow The update script creates a
backupfolder in the extractedrhpam-$VERSION-updatefolder with a copy of the specified distribution, and then proceeds with the update.-
After the update tool completes, return to the Software Downloads page of the Red Hat Customer Portal where you downloaded the update tool and install any other updates or new release artifacts that are relevant to your Red Hat Process Automation Manager distribution.
For files that already exist in your Red Hat Process Automation Manager distribution, such as
.jarfiles for the decision engine or other add-ons, replace the existing version of the file with the new version from the Red Hat Customer Portal.If you use the standalone Red Hat Process Automation Manager 7.3.0 Maven Repository artifact (
rhpam-7.3.0-maven-repository.zip), such as in air-gap environments, download Red Hat Process Automation Manager [VERSION] Incremental Maven Repository and extract the downloadedrhpam-$VERSION-incremental-maven-repository.zipfile to your existing~/maven-repositorydirectory to update the relevant contents.Example Maven repository update:
unzip -o rhpam-7.3.1-incremental-maven-repository.zip -d $REPO_PATH/rhpam-7.3.0-maven-repository/maven-repository/
$ unzip -o rhpam-7.3.1-incremental-maven-repository.zip -d $REPO_PATH/rhpam-7.3.0-maven-repository/maven-repository/Copy to Clipboard Copied! Toggle word wrap Toggle overflow - After you finish applying all relevant updates, start Red Hat Process Automation Manager and Process Server and log in to Business Central.
Verify that all project data is present and accurate in Business Central, and in the top-right corner of the Business Central window, click your profile name and click About to verify the updated product version number.
If you encounter errors or notice any missing data in Business Central, you can restore the contents in the
backupfolder within therhpam-$VERSION-updatefolder to revert the update tool changes. You can also re-install the relevant release artifacts from your previous version of Red Hat Process Automation Manager in the Red Hat Customer Portal. After restoring your previous distribution, you can try again to run the update.