Oracle VM Patch Updates
Step 6 Finished Registration
On the Finished Registration screen, accept the defaults and use the Alt key to select the
Next tab. Once the Next tab is selected, press the Enter key to proceed.
Figure 10 shows the Finished Registration screen.
The Oracle Linux host has been successfully registered.
Install and configure Apache on the Oracle Linux Yum Server
Installing Apache from an Unbreakable Linux Network registered Oracle Linux host is accomplished by typing “up2date -i httpd” and /or "yum install httpd" while logged in as root. Once Apache is installed, configure Apache to automatically start by typing
“chkconfig httpd on”. Next, start Apache by typing “service httpd start”. The next example shows how to install, configure and start Apache.
Using up2date, as root type: # up2date -i httpd
# chkconfig httpd on && service httpd start Using yum, as root type:
# yum install httpd
# chkconfig httpd on && service httpd start
Once the “up2date -i httpd”, “chkconfig httpd on” and “service httpd start” commands have completed, test Apache by pointing a web browser to the fully qualified domain name
(FQDN) or the IP address of the Apache server. You will see the default Apache test page as shown in Figure 11.
Tip: If you don’t see the default Apache test page, check if iptables is blocking http traffic
on the Apache host. Consider disabling iptables to test Apache by typing “sudo /sbin/service iptables stop”.
Next, create a the yum repository base directory in /var/www/html by typing "mkdir -p /var/www/html/yum".
Table 2 shows the approximate disk space requirements for each Oracle VM RPM channel:
Channel Binaries
ovm*_latest 147M
ovm*_base 400M
ovm*_patch 100M
Oracle Unbreakable Linux Network Yum Server Configuration
Once your yum server has been registered, and apache has been installed and configured, access the Oracle Unbreakable Linux Network dashboard and click the Systems tab. From the Systems tab click on the yum server to access its System Details page.
From the YUM servers Systems Details page click the Edit button, as shown in Figure 13.
From the Edit Systems Properties page, select the Yum Server check box, enter a valid
CSI number, then click the Apply Changes button, as shown in Figure 14.
From the System summary page select the Oracle VM 3 latest channel. Next, click the
The yum server has been successfully configured using the the Oracle Unbreakable Linux Network dashboard. The next step is to populated and synchronize the local yum repository with the Oracle Unbreakable Linux Network using the 167283.sh script.
Populated and Synchronize the Yum Server with Oracle Unbreakable Linux Network
Local yum repositories are populated and synchronized to the Unbreakable Linux Network using a script (167283.sh) and a cron job, or with Oracle Enterprise Manager. To populate the yum repository using the 167283.sh script, as root type “cd”, then “wget
http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/167283.sh” to download the 167283.sh script. Next, type “chmod 755 167283.sh” to make the script executable. Then type “nohup sh 167283.sh &” to run the script. Once the 167283.sh script completes, the yum RPM repository will be populated and ready to update or patch Oracle VM Servers.
To automatically synchronize your local yum RPM repository to the Unbreakable Linux Network, use a cron job with the 167283.sh script. As root or any other user with access to the 167283.sh script, type "chrontab -e" to edit your crontab file, or create a new crontab file if one does not already exist. The next example show how to create a crontab file as root that will run the 167283.sh script at midnight every weekday.
# crontab -e
0 0 * * 1-5 /root/167283.sh :wq!
To view the current cronjob on a Oracle Linux host, type "crontab -l". To edit the cronjob type "crontab -e".
Crontab Syntax:
1 2 3 4 5 /path/to/command arg1 arg2 1: Minute (0-59)
2: Hours (0-23) 3: Day (0-31)
4: Month (0-12 [12 == December])
5: Day of the week(0-7 [7 or 0 == sunday])
/path/to/command - Command name or script to schedule
Oracle VM Manager Yum Server Configuration
To patch Oracle VM Servers, a yum server should be added to Oracle VM Manager' Server Update Management (YUM) menu. To add a Yum repository to Oracle VM Manager, select the Tools and Resources tab, and then click the Server Update Management
(YUM) link to add the base URL and GPG key details.
Enter the following information in the Server Update Management (YUM) page to configure a YUM repository:
YUM Base URL: Enter the URL from the Oracle VM latest channel, i.e.: http://<YUM SERVER IP OR FQDN>/yum/OracleVM/OVM3/latest/x86_64/
Enable GPG Key: GPG keys are used to validate the identity of a Yum server and
its RPM packages (RPMs). Select the Enable GPG Key checkbox to be able to enter the YUM GPG Key.
Note: If you elect"not" to configure the GPG key, it is necessary to type "rpm --
import /etc/pki/rpm-gpg/RPM-GPG-KEY" as root on each Oracle VM Server that uses the configured yum reporitory.
YUM GPG Key: An Oracle-signed GPG key for ULN is pre-installed on Oracle
Linux hosts at /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle. To to use the pre- installed GPG key, enter “file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle” in the
YUM GPG Key text box. It is also possible to copy the GPG key to the web
server, i.e. “cp /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle /var/www/html/yum/ && chown apache:apache /var/www/html/yum/RPM-GPG-KEY-oracle” and enter http://<YUM SERVER IP OR FQDN>/yum/ RPM-GPG-KEY-oracle in the
YUM GPG Key text box.
Note: The GPG key field is only enabled when you select Enable GPG Key. Click Apply to save the setting.
Figure 17 shows the Server Update Management (YUM) page.
Once the YUM repository is added, as shown in Figure 18, Oracle VM Manager will automatically query all the managed Oracle VM Servers and update the Update Required status to Yes or No.
Select the Update Server option from Oracle VM Manager to upgrade one or more hosts. Upgrading a server automatically puts the server into maintenance mode and if possible Live Migrates any running VMs to a available node.
Firgure 19 shows the Update Server menu.
Once the Yum repository has been configured, each Oracle VM Server will have a new files named ovm.repo in the /etc/yum.repos.d directory.
The next example show the contents of the ovm.repo file. # cat /etc/yum.repos.d /ovm.repo
[ovm_repo]
gpgkey = http://<YUM SERVER IP OR FQDN>/yum/RPM-GPG-KEY-oracle gpgcheck = 1
baseurl = http://<YUM SERVER IP OR FQDN>/yum/OracleVM/OVM3/latest/x86_64/ Oracle Desktop Virtualization Security Solution at DISA Mission Partner Conference 2012 building an appliance? physical ? virtual? production quality? use Oracle Linux
understanding memory allocation in oracle vm / xen
Oracle VM Administration: Oracle VM Server for x86 course schedule figuring out cpu topology in oracle vm
Collaborate12 Starts Today!
Oracle VM Administration: Oracle VM Server for x86 - new Training More Oracle VM templates for PeopleSoft and Oracle Enteprise Manager Oracle Ebusiness Suite 12.1.3 Oracle VM templates
Eight New Oracle Database Assemblies Ready to Run In Your Oracle VM Cloud with Oracle Enterprise Manager 12c