You are here

4. Patch the Oracle VM Server(s)

4. Patch the Oracle VM Server(s)

Applicable to all Oracle VM 3.x Releases.
Even after a fresh installation of the lastest Oracle VM Server release, a best practice is to patch the Oracle VM Server before setting up the server pool, and doing any testing to avoid previously fixed bugs. 
 
When upgrading Oracle VM, Oracle VM Manager must be upgraded first, followed by the Oracle VM Servers managed by Oracle VM Manager. Oracle VM Servers are updated and patched using a local yum repository or the Oracle public yum server. A local yum repository can be configured on any Internet accessible Oracle Linux or Red Hat Enterprise Linux web server that has been registered with the Unbreakable Linux Network. A valid customer service identifier (CSI) for Oracle Linux and/or Oracle VM is required to configure a yum server at the Unbreakable Linux Network. Access to the Oracle public yum server is opened to the public without registration.
 
Oracle's public yum server allows us to keep Oracle Linux, Red Hat Enterprise Linux, and Oracle VM systems up to date to the "latest" update version, using the "_latest" RPM repository. A "latest" patch job executed on a Oracle VM 3.1.1 host would update the host from 3.1.1 to 3.2.2 with the latest software patches, updates and fixes. To keep an Oracle VM host at its respected update level, a local yum server and a valid CSI and the Unbreakable Linux Network is required. With the Unbreakable Linux Network, it is possible to register and subscribe a yum server to the desired base and patch RPM channels. When Oracle VM hosts are patched using the ovm*_base and ovm*_patch RPM channels, the Oracle VM hosts are patched with the latest software patches, updates and fixes from their respected update channel. For example, an Oracle VM 3.1.1 host patched using the ovm3_3.1.1_x86_64_base and ovm3_3.1.1_x86_64_patch RPM channels are patched with the latest software patches, updates and fixes from the 3.1.1 RPM channels. If an Oracle VM 3.1.1 host is patched using the ULN or public yum server ovm3_x86_64_latest RPM channel, the host will be upgraded from 3.1.1 to 3.2.2 with the latest software patches, updates and fixes.
 
I actually have an entire chapter of the Oracle Cloud Cookbook, Oracle VM Patch Updates, that describes how to apply patch updates to Oracle VM Manager and Oracle VM Server, as well as an entire chapter, Oracle Linux Yum Server Setup, that describes how to set-up a Oracle Linux yum server. 
 
If you do not have the time to setup a local yum server, Oracle VM Servers can be patched using the Oracle public yum server's latest RPM channel. To patch an Oracle VM Server using the Oracle public yum server, create a repo file on the Oracle VM Server in the /etc/yum.repos.d/ directory, i.e. /etc/yum.repos.d/public-yum-ovm3.repo with the following contents:
 
Oracle VM Release 3.1 up to 3.2.x:
[ovm3_latest]
name=Oracle VM Server 3 Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleVM/OVM3/latest/x86_64/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
 
Oracle VM Release 3.3.x:
[ovm3x_latest]
name=Oracle VM Server 3x Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleVM/OVM3/3x_latest/x86_64/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
 
Next, type "yum clean all", then "yum update -y" to update the server with the latest software patches, updates and fixes from the Oracle VM latest RPM channel.
 

Download PDF Now!