Updates for Linux applications - middleware
With Updates for Linux applications - middleware content site, customer can deploy updates to a vast number of third-party middleware applications.
Note: Support for
N,
N-1, and
N-2versions are available for Middleware Patch update Fixlet.
Prerequisite of Oracle weblogic
Before running the Fixlets, make sure that these prerequisites are met on the Linux
system:
- Ensure you have the recommended version of JDK for Oracle Weblogic installed during installation and for patching Oracle Weblogic 12C and 14C.
Steps to determine Oracle weblogic details on Linux system
These steps involve locating specific configuration files, extracting information
from them, and filtering based on certain criteria:
Note: We
have customized the WebLogic Fixlet to meet customer needs by modifying its
relevance.
- The Fixlet retrieves the
oraInventorypath from the /etc/environment file using theORACLE_WEBLOGIC_HOMEkey. - Customers can specify the
oraInventorypath for WebLogic by setting theORACLE_WEBLOGIC_HOMEkey in the /etc/environment file. This enables the Fixlet to use this path for applying the WebLogic patches. - This enhancement serves as an optional feature where the default paths remain functional.
- The Fixlet searches for the
ORACLE_WEBLOGIC_HOMEkey within the /etc/environment file. For example, if theoraInventorypath is /Weblogic/Oracle/Middleware/oraInventory, theORACLE_WEBLOGIC_HOMEvalue would be /WebLogic/Oracle.Note: The folder must be named exactlyoraInventory, as theORACLE_HOMEis retrieved from theoraInventoryfolder.
Steps to determine RedHat JBoss details on Linux system
Make sure that you have the recommended version of Red Hat JBoss installed during installation and configured separately according to the application's requirements.
To retrieve the details of the software version using relevance, follow the steps
that involve locating specific configuration files, extracting information from
them, and filtering based on certain criteria:
- Search in installed folder for
version.txt. For example,/opt/jboss. - Check directories specified by environment variables
EAP_HOMEandJBOSS_HOME. - Search directories containing "eap" or "jboss" at installed
folder. For example,
/home. - Check
/etc/default/jboss-eap.confand/etc/environmentfor files containing the keyJBOSS_HOME.
Prerequisite of Apache Tomcat details on Linux (systemd-based)
Ensure that a supported Java version is installed and that the
JAVA_HOME environment variable is set to the path of the
installed JDK on the target endpoint.
Fixlet Action for Apache Tomcat x.x Upgrade
- Stops the running Tomcat service using the
systemctl stopcommand. - Creates a backup of the entire Tomcat instance (e.g.,
totar /usr/local/tomcat9/usr/local/tomcat9-backup_ActionID.tgz).Note: The Apache Tomcat x.x version includes versions 9, 10, and 11. - The new version of Tomcat is extracted over the existing instance, excluding the 'conf' directory (the original 'conf' directory is preserved).
- The new version's default 'conf' directory is extracted to a
default-conffolder, allowing comparison with the original configuration. - The new version's UID and GID are reassigned to match the original instance's UID and GID.
- The service is restarted using
systemctl start.
If multiple Tomcat x.x instances are detected, the Fixlet will upgrade each instance.
Important:
- Only Tomcat instances launched via systemd service are identified and upgraded.
- Any changes to the UID and GID beneath the Tomcat instance will not be preserved. The new version will inherit the top-level UID and GID of the original instance.
- Any new configuration options required for the upgraded Tomcat instance must be manually applied. The original 'conf' directory is kept for comparison purposes.
Steps to determine Apache Tomcat details on Linux (systemd-based)
This step involves locating specific configuration files, extracting information from
them, and filtering based on certain criteria:
- You need to find
.servicefiles in/etc/systemd/systemthat contain theCATALINA_HOMEvariable, which specifies the installation location of the software.
Steps to determine MariaDB details on Linux (RPM or Debian packages)
This step involves locating specific configuration files, extracting information from
them, and filtering based on certain criteria:
- For Linux systems, you can use package management tools to check for the
presence and version of
mariadb-server.
Steps to determine MongoDB details on Linux (RPM or Debian packages)
This step involves locating specific configuration files, extracting information from
them, and filtering based on certain criteria:
- For Linux systems, you can use package management tools to check for the
presence and version of
mongodb-org.
Steps to determine Postgresql details on Linux (RPM or Debian packages)
This step involves locating specific configuration files, extracting information from
them, and filtering based on certain criteria:
- For Linux systems, you can use package management tools to check for the
presence and version of
postgresql.
Steps to determine IBM MQ details on Linux (RHEL or AIX packages)
These steps involve locating specific configuration files, extracting information
from them, and filtering based on certain criteria:
- For RHEL systems, check the installed version of the
MQSeriesRuntimepackage using the RPM package manager. - For AIX systems, check the installed version of the
mqm.server.rteusing the AIX object repository.
Steps to determine IBM WebSphere details on Linux
This step involves locating specific configuration files, extracting information from
them, and filtering based on certain criteria:
- For Linux and Unix systems, it checks for files named
installed.xmlin the installed folders. For example, /opt/IBM/WebSphere/AppServer/properties/version or /usr/IBM/WebSphere/AppServer/properties/version. - The Fixlet searches for the
WEBSPHERE_PATHkey within the /etc/environment file. You must specify the path to the version folder within your IBM WebSphere installation. For example, if WebSphere is installed at/home/WebSphere/was, then theWEBSPHERE_PATHshould be set to/home/WebSphere/was/properties/version.
Steps to determine Oracle JDK details on Linux
This step involves locating specific configuration files, extracting information from
them, and filtering based on certain criteria:
- For Linux, it can check the RPM or Debian packages on the machine for
jdkand its version.
Note: Oracle has introduced Multi-Factor Authentication
(MFA) for downloading JDK packages. Because of this change, we have updated our
process to use the following options:
- Action 1 (Default Action-Manual Caching): Users must manually download the required JDK package from the Oracle website (after authenticating) and then cache it locally for the build process.
- Action 2 (Download Plugin): A plugin-based method can be used to handle the JDK download if MFA and authentication are configured appropriately.
Steps to determine MySQL details on Linux
This step involves locating specific configuration files, extracting information from
them, and filtering based on certain criteria:
- For Linux, it can check the RPM or Debian packages on the machine for
("MySQL-server";"mysql-community-server")and its version.
Steps to determine IBM DB2 details on Linux
This step involves locating specific configuration files, extracting information from
them, and filtering based on certain criteria:
- It checks for files named
specwithin the.metadata/BASE_DB2_ENGINEdirectories located under the installed folder /opt/ibm/db2.
Pre-caching required for Linux applications
| Software name | Pre-caching required (Yes/No) |
|---|---|
| Oracle WebLogic | No, files automatically cached to server by download plugin. |
| Oracle Database | No, files automatically cached to server by download plugin. |
| RedHat JBoss | Yes, needs manual caching. |
| Apache Tomcat | No, files automatically cached to server by Fixlets. |
| MariaDB | No, files automatically cached to server by Fixlets. |
| MongoDB | No, files automatically cached to server by Fixlets. |
| Postgresql | No, files automatically cached to server by Fixlets. |
| IBM MQ | Yes, needs manual caching. |
| IBM WebSphere | Yes, needs manual caching. |
| Oracle JDK | No, files automatically cached to server by download plugin. |
| MySQL | No, files automatically cached to server by Fixlets. |
| IBM DB2 | Yes, needs manual caching. |