In this following short note, Simon Hayler describes how Oracle Enterprise Manager 12c enables the patching of RHEL running as a guest on OVCA.
The methodology is to utilize the Custom Channel features of Enterprise Manager 12c Linux Patching. The high level steps are as follows:
A repository server under the control of Enterprise Manager 12c (Enterprise Manager 12c agent installed and configured) must exist in the environment, have a valid Oracle CSI and have access to the Oracle ULN. For more information on the Enterprise Manager 12c Linux Patching setup refer to the online documentation: http://docs.oracle.com/cd/E24628_01/em.121/e27046/pat_linux_patch.htm
- On the repository server create a file-system to store the RHEL rpm's, this should be in the same area as the Oracle Linux repository
- Create a portfolio of suitable RHEL rpm's and copy them to the repository server
- Create the metadata for the RHEL repository, the repository file-system contains the required rpm's
- Create a Custom Patching Channel within Enterprise Manager 12c
- Install Enterprise Manager agents on all target RHEL hosts
- Create an Enterprise Manager patching group selecting the target RHEL hosts as targets for the group
- Enterprise Manager 12c will run a compliance job to identify rpm's that are non compliant on the target hosts compared to the ones within the Custom Channel
- Either automatically or manually Enterprise Manager 12c runs a Deployment Procedure to update rpm's that are reported as non compliant
A manual process is needed to create a portfolio of the required RHEL RPM’s to patch. Enterprise Manager 12c Linux Patching only connects to the Oracle ULN, therefore we are not able to either manually or automatically download RHEL rpm's.