How to Manage Oracle Enterprise Linux 5/6 updates through CA Patch Manager

Document ID : KB000009475
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Terminology

Common Terminology used in Oracle Enterprise Linux 5/6 patching

Oracle Enterprise Linux - Oracle Linux, formerly known as Oracle Enterprise Linux, is a Linux distribution based on Red Hat Enterprise Linux, repackaged and sold by Oracle, available under the GNU General Public License (GPL) since late 2006.Oracle Linux can be freely downloaded through Oracle's E-delivery service, and can be deployed and distributed without cost. Commercial technical support is available through Oracle's Oracle Unbreakable Linux Support program, which supports Oracle Linux, and existing RHEL or CentOS installations.

Update - Oracle Enterprise Linux updates also known as minor release, are an aggregation of individual enhancement, security and bug fix errata.

yum Repository - yum repository is standard way used by Redhat to create the software repositories. Yum repository consists of certain software definition files and the actual software

Instructions:

Supported OS Release and Architecture

CA Patch Manager Packages for Oracle Enterprise Linux supports the following OS releases and process architecture.

Oracle Enterprise Linux (v. 5 for 32/64-bit x86)

Oracle Enterprise Linux (v. 6 for 32/64-bit x86)

Supported content

All updates for Oracle Enterprise Linux 5/6 32 bit and 64 bit platforms. Oracle Enterprise Linux updates (minor releases) are an aggregation of individual enhancement, security and bug fix errata. The release cycle for Oracle Hat Enterprise Linux updates (minor releases) is random but it has been observed that the Oracle Enterprise Linux update releases generally happen every 8-10 months.

Prerequisites

There are three prerequisites for deploying the 'CA - Oracle Enterprise Linux 5 Update "X" 32/64bit x86' package.

  1. IIS/Web Services must be installed on the corresponding Enterprise Servers (ES)/Domain Managers (DM)/Scalability Servers (SS). 

  2. 'CA UPM Manual Download Function' patch in Patch Manager needs to be deployed to all servers involved (all servers with Patch Manager installed or which could have Linux agents pointing to them - e.g., Scalability Servers, Domain Managers and Enterprise Servers. This is a generic package and only needs to be deployed once. 

    Note: This step could be skipped if the patch has already been deployed earlier as a prerequisite for other platforms patches.

    Figure 1

    Once successfully installed, a virtual folder will appear under the Default Web Site in IIS called 'manual_download'.

    Figure 2

    Also, a folder called '%UPM_HOME%\UPMDownloads' will be created on the Patch Manager server and all Scalability Servers (or Domain Manager/Enterprise Server machines) pushed to.

  3. Manually extract the required OS update DVD to the folder specified in the release notes of the patch on the scalability server. Once the manual extract is complete, below is how the folder structure would appear.

    Figure 3

    Minimum of 1GB disk space in /var/cache/yum directory on the agents to download the required packages from the Scalability server.

Implementation.

Download the required Oracle enterprise Linux OS update DVD from the vendor's site and extract the contents in to the folder specified in the release notes.

There are two ways of deploying 'CA - Oracle Enterprise Linux 5 Update 6 32 bit x86' - via CA Patch Manager, Full update installation where all the required packages are patched and CA Client Automation console with individual package selection through the user parameter values.

Full update installation.

The following section illustrates the deployment steps for the update patch 'CA - Oracle Enterprise Linux 5 Update 6 32 bit x86'.

  1. Accept the required package 'CA - Oracle Enterprise Linux 5 Update 6 32 bit x86' under "Patches" tab in the CA Patch Manager console. The patch moves into testing state as shown below indicating that it's ready to be tested.

    Figure 4

  2. Test the patch by using the deployment options provided in the CA Patch Manager console.

    Figure 5

  3. After completion of the job, a complete installation log can be viewed in the software delivery job output window in CA IT Client Automation console.

    Figure 6

  4. Post the successful deployment; the Oracle Linux update signature would be detected with the next software discovery cycle.

    Figure 7

Individual package selection.

The following section illustrates the steps for the deployment of individual packages (rpm's) from the update patch 'CA - Oracle Enterprise Linux 5 Update 6 32 bit x86'.

  1. Accept the required package 'CA - Oracle Enterprise Linux 5 Update 6 32 bit x86' under "Patches" tab in the CA Patch Manager console. The patch moves into testing state as shown below indicating that it's ready to be tested.

    Figure 8

  2. Once the patch is in testing state, open CA IT Client Automation console and browse to the specific software delivery package under "Unicenter patch manager packages". 

  3. Deploy the package 'CA - Oracle Enterprise Linux 5 Update 6 32 bit x86'. 

    Figure 9

  4. In the job setup window, enter the user parameters with the required package list, comma(,) separating the required rpms in the list and click OK.

    Figure 10

    Note: If the same package has to be deployed with a different selection of rpms "Remove existing installation records and re-run the selected procedure" check box should be checked in the job setup window.

    Figure 11

    Note: User parameters field has a restriction of 255 characters as input. If the list of rpms is of more than 255 characters then create a text file by name "list.txt" in the folder containing the contents of the extracted Oracle Linux update DVD. list.txt should contain the list of selected rpms that need to be installed.

    Figure 12

  5. After completion of the job, a complete installation log can be viewed in the software delivery job output window in CA IT Client Automation console.

    Figure 13

  6. Post the successful deployment; the Oracle Linux update signature would be detected with the next software discovery cycle.

    Figure 14

Installation Flow (Flow Chart)

Figure 15

FAQ

Q: What is Oracle Linux?

A: Oracle Linux, formerly known as Oracle Enterprise Linux, is a Linux distribution based on Red Hat Enterprise Linux, repackaged and sold by Oracle, available under the GNU General Public License (GPL) since late 2006. Oracle Linux is released in server versions for x86, x86-64, Itanium, PowerPC and IBM System z, and desktop versions for x86 and x86-64.

Q: How do I download the Oracle Linux update X DVD?

A: Access the https links in the release notes of CA - Oracle Enterprise Linux 6 Update x 32/64bit x86 Prerequisites' package.

Q: What is the release cycle for Oracle 5 updates?

A: The release cycle for Oracle Enterprise Linux updates (minor releases) is random but it has been observed that the Oracle Enterprise Linux update releases generally happen every 8-10 months.

Q: Are there any perquisites for CA Patch Manager In order to deploy a 'CA - Oracle Enterprise Linux 5/6 Update x 32/64bit x86 ' package?

A: Yes.

  1. "CA UPM Manual Download Function" package is required to be installed on the UPM Server. This package has been developed to handle dynamic download URLs by vendors like HP, Sun, IBM etc. 

    http://www.ca.com/us/udm/upm/patch.aspx?uuid=1700ce5a-9444-466b-a692-fcbe5bdf8bde#section1

Q. What is the command to check the Oracle enterprise linux update information?

A. cat /etc/oracle-release

Q. What are the detailed logs to check the Oracle update through CA Patch Manager?

A: /var/log/yum.log

Q. Does a reboot occur after the deployment of 'CA - Oracle Enterprise Linux 5/6 Update x 32/64bit x86 ' package?

A: As the reboot after the update deployment is not mandatory, reboot is not included in the deployment procedure