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.

Prerequisite of Oracle weblogic

Before running the Fixlet, make sure that these prerequisites are met on the Linux system:
  1. Ensure you have the recommended version of JDK for Oracle WebLogic installed during installation and for patching Oracle WebLogic 12C.

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:
  1. Search for the oraInst.loc file in installed folder. For example, /etc and /var/opt/oracle directories.
  2. Extract the inventory location from oraInst.loc.
  3. Navigate to the oraInventory folder within the installed folder. For example, /home and /export/home directories.
  4. Use the obtained inventory location to access the inventory.xml file in the ContentsXML directory.
  5. Extract information from inventory.xml to locate specific files, such as registry.xml, in the inventory directory.
  6. Within registry.xml files, filter based on certain criteria:
    1. Nodes with a specific version (e.g., 12.2.1.4.0) at certain XPath locations (e.g., /a:registry/a:distributions/a:distribution[@status='installed']).
    2. Nodes with names containing "WebLogic".

Steps to determine RedHat JBoss details on Linux system

These steps involve locating specific configuration files, extracting information from them, and filtering based on certain criteria:
  1. Search in installed folder for version.txt. For example, /opt/jboss.
  2. Check directories specified by environment variables EAP_HOME and JBOSS_HOME.
  3. Search directories containing "eap" or "jboss" at installed folder. For example, /home.
  4. Check /etc/default/jboss-eap.conf and /etc/environment for files containing the key JBOSS_HOME.

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:
  1. You need to find .service files in /etc/systemd/system that contain the CATALINA_HOME variable, 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:
  1. 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:
  1. 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:
  1. 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:
  1. For RHEL systems, check the installed version of the MQSeriesRuntime package using the RPM package manager.
  2. For AIX systems, check the installed version of the mqm.server.rte using 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:
  1. For Linux and Unix systems, it checks for files named installed.xml in the installed folders. For example, /opt/IBM/WebSphere/AppServer/properties/version or /usr/IBM/WebSphere/AppServer/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:
  1. For Linux, it can check the RPM or Debian packages on the machine for jdk and its version.

Steps to determine MySQL details on Linux

This step involves locating specific configuration files, extracting information from them, and filtering based on certain criteria:
  1. 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:
  1. It checks for files named spec within the .metadata/BASE_DB2_ENGINE directories located under the installed folder /opt/ibm/db2.

Pre-caching required for Linux applications

Table 1. Software pre-caching required
Software name Pre-caching required (Yes/No)
Oracle WebLogic Yes, needs manual caching.
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
  • Yes, JDK 8 and 11 needs manual caching.
  • No, JDK 17 and 21 are automatically cached using fixlets.
MySQL No, files automatically cached to server by fixlets.
IBM DB2 Yes, needs manual caching.