view counter

Oracle VM Server Installation

Engage the Author Roddy Rodstein Today for your Oracle Project!

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.
 
Copyright © 2013 Mokum Solutions, Inc. All rights reserved.
Distribution of the Oracle Cloud Cookbook or derivative of the work in any form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder.
 
Author: Roddy Rodstein
 
Change Log
Revision
Change Description
Updated By
Date
1.0
First Release
Roddy Rodstein
09/10/11
1.2 Post Installation Checklist Roddy Rodstein 05/10/12
1.3 Oracle VM Server Pre-Deployment Checklist Roddy Rodstein 08/26/12
1.4  Content Refresh Roddy Rodstein 04/03/13
This document applies to all Oracle VM 3 releases. 
 
Table of Contents
 
Oracle VM Server Installation Introduction
This chapter of the Oracle Cloud Cookbook describes how to plan for and install Oracle VM Server. This chapter applies to all Oracle VM 3 releases. 
 
Oracle VM Server can be installed on Intel or AMD x86_64 hardware using a bootable CD-ROM or over the network using a pre-boot execution environment (PXE). Both Oracle VM Server installation methods, CD-ROM and PXE boot, require the Oracle VM Server Media Pack. The Oracle VM Server Media Pack is available at the Oracle Linux and Oracle VM Cloud Portal. Access to the Oracle Linux and Oracle VM Cloud Portal requires an Oracle.com user account and password. The Oracle VM Server Media Pack is downloaded as a zip file which contains the Oracle VM Server ISO image. The Oracle VM Server ISO image can be burned to a bootable CD and used for a CD-ROM installation as well as staged on a boot server for a PXE boot installation. Oracle VM is distributed as Open Source software, therefore the source code is also available along with the ISO image at the Oracle Linux and Oracle VM Cloud Portal.
 
Oracle VM Server can be installed from a CD-ROM, or over the network (PXE) with the installation media hosted via NFS, FTP, or HTTP. The difference between installing Oracle VM Server from a CD-ROM, or over the network is how the server boots and the location of the installation media. Contemporary servers can boot from a bootable CD in a local CD-ROM drive, from a remote CD-ROM drive using a Lights out Management (LOM) solution as well as over the network using a pre-boot execution environment (PXE). Once the server boots, the installation program can install Oracle VM Server from the CD-ROM, or over the network via NFS, FTP or HTTP.
 
Tip: Occasionally CD-ROM installations using Lights out Management (LOM) solutions terminate with file copy errors. If you encounter file copy errors with a Lights out Management (LOM) installation, the workaround is to stage the Oracle VM Server media files on the server’s hard disk, or on a NFS share, FTP server or a HTTP server on the same network as the target server. Once the Oracle VM Server media files have been staged on the server’s hard disk, a NFS share, FTP server or a HTTP server, boot the server with the bootable CD and when presented with the Install Method screen, enter the path to the installation media.
 
Oracle recommends a dual core CPU or multiple CPUs with at least 1GB or 2GB of RAM. Oracle’s minimum CPU and RAM recommendation for Oracle VM Server is a starting point for a proof of concept (POC) running only a couple virtual machines.
 
A minimum of one Ethernet network interface (NIC) card is required to install Oracle VM, although four or more 10G NICs is strongly recommended. NIC bonding with port-based VLANs and/or 802.1Q tag-based VLANs are supported and configured post Oracle VM Server installation with Oracle VM Manager or Enterprise Manager. Oracle VM 3.0.1 through 3.1.1 supports two NIC ports per network bond, and a total of five network bonds per Oracle VM Server. Oracle VM 3.2.x and above supports four NIC ports per network bond, and a total of ten network bonds per Oracle VM Server. 
 
The exact number of network interfaces for an Oracle VM Server entirely depends on your organization’s business requirements and network and storage infrastructure capabilities. For example, an Oracle VM Server with four 10G NICs, configured with two 802.1Q bonds could support the most demanding network and storage requirements, with only four NICs. By contrast, an Oracle VM Server using access ports/port-based VLANs or 802.1Q tag-based VLANS on a 1G copper network, could easily use the maximum number of supported NIC ports (<= 3.1.1 = 10 ports, >= 3.2 = 40 ports) to meet the minimum network requirements.
 
The Oracle VM 3.0 installation program allows the server' IP address to be assigned using DHCP or as a static IP address. It is recommended to use a static IP address for Oracle VM Servers to ensure that each server always receives the same IP address. Using DHCP assigned IP addresses can result in unexpected IP address changes due to DHCP lease expiry setting causing unexpected results.
 
The default behavior of the Oracle VM Server installation program is to allocate only 3GB of storage for the entire installation, regardless of the amount of available disk space. I recommend re-allocating the free space to the root “/” partition for log files and diagnostics. Since Oracle VM Server only requires 3 GB of storage, you might consider procuring disk-less hardware with a flash storage module or boot from SAN to reduce operating costs.
 
Tip: When installing Oracle VM Server on a small flash storage module, i.e. 4GB, it is necessary to select the "Create a minimal partition layout for installation to a USB drive" partition layout option.
 
The following table shows the Oracle VM Server installation roadmap:
Step 1
Step 2
Step 3
Step 4
Oracle VM Server Pre-Deployment Checklist
Download the Oracle VM Media Pack
Oracle VM Server Installation
Oracle VM Post Installation Checklist
 

Oracle VM Server Pre-Deployment Checklist

Step 1
Step 2
Step 3
Step 4
Oracle VM Server Pre-Deployment Checklist
Download the Oracle VM Media Pack
Oracle VM Server Installation
Oracle VM Post Installation Checklist
This checklist should be completed before Oracle VM Server is installed.
Task Verify Notes Completion Status
Oracle Application Certification
Verify which version of Oracle VM is certified for the Oracle applications you plan to deploy on Oracle VM.
 
Note: Visit My Oracle Support and click the Certifications link to search for the Oracle products you plan to deploy on Oracle VM.
   
Hardware Certification
Verify that the server hardware is jointly supported by the hardware vendor and Oracle for the version of Oracle VM you plan to use.

Note: The following link is the Oracle' hardware certification page. http://linux.oracle.com/pls/apex/f?p=117:1:5773793518142288::NO:RP::
   
Storage Certification
Verify that the storage solution is jointly supported by the storage vendor and Oracle for the version of Oracle VM you plan to use.

Note: The following link is the Oracle' hardware certification page. http://linux.oracle.com/pls/apex/f?p=117:1:5773793518142288::NO:RP::
   
Download the The Oracle VM Server installation media. Verify that the Oracle VM Server installation media has been downloaded, burned to a bootable CDROM, and made available to the Oracle VM engineer.    
Select Passwords Verify that the passwords for the root user account and the Oracle VM Agent have been selected and documented.    
Switch Configurations
Verify that the VLANS have been provisioned and configured.
1) ILO Network
2) Server Management - eth0/eth1 802.1q trunk/LACP
3) Cluster Heartbeat - eth0/eth1 802.1q trunk/LACP
4) Live Migration - eth0/eth1 802.1q trunk/LACP
5) Virtual Machine VLANs – eth2/eth3 802.1q trunk/LACP
   
IP Addresses, Subnet Masks & Gateways
Verify that each Oracle VM Server's IP Addresses, Subnet Masks & Gateways have been selected, documented and provisioned for each of the following Oracle VM Management Networks:
1) ILO Network
2) Server Management
3) Cluster Heartbeat
4) Live Migration
5) Storage (iSCSI and/or NFS)
   
DNS Settings
1) Verify that the Oracle VM Server host names are in DNS and are accessible with both forward and reverse lookups.
Note: The Oracle VM Server's “Server Management” network IP addresses should be configured in DNS.
2) Verify that two DNS server IP addresses are available for the Oracle VM Server installation.
   
Storage Time Out Values
Verify the storage time out values (TOV).
 
Note: If a storage controller fail over takes 120 seconds, and OCFS2 is set to the default value of 60 seconds, Oracle VM Servers will reboot halfway through the controller fail over.
   
Storage Array
Verify that the pool file system storage (12G LUN or 12G Share) and the virtual machines file system storage (LUNs or Shares) have been provisioned, zoned and masked to each Oracle VM server.
 
Note: The storage does not need to be made available (zoned and masked) to Oracle VM Manager. The storage only needs to be made available to the Oracle VM servers. 
   
Rack and Cable the Server Hardware Verify that the server hardware has been racked, cabled (power, network and storage) and tested.    
BIOS Settings
1) Verify that the BIOS and FIRMWARE are at the latest release. 
2) Verify that C-States has been disabled in the BIOS.
3) Verify that Hyperthreading is enabled in the BIOS.
   
 

Download the Oracle VM Media Pack

Step 1
Step 2
Step 3
Step 4
Oracle VM Server Pre-Deployment Checklist
Download the Oracle VM Media Pack
Oracle VM Server Installation
Oracle VM Post Installation Checklist
The Oracle VM Media Pack is available at the Oracle Software Delivery Cloud - Oracle Linux and Oracle VM portal. Access to the Oracle Software Delivery Cloud requires an Oracle.com user account and password. If you do not already have an Oracle.com user account, visit the Oracle Software Delivery Cloud, portal click the Sign In / Register link or button to create an Oracle.com account.
 
Oracle Software Delivery Cloud Oracle VM
 

From the Sign In page, enter your Oracle.com user name and password, then click the Sign In button.

Figure 2 shows the Oracle Software Delivery Cloud - Oracle Linux and Oracle VM portal Sign In page.
Oracle.com Sign In
Once authenticated, accept the registration/export regulations to access to the Oracle VM and Oracle Linux Media.

Figure 3 shows the registration/export regulations form.
Oracle Software Delivery Cloud Terms & Restrictions
 
After completing the registration/export regulation form, you will be redirected to the Media Pack Search page. From the Media Pack Search page, select Oracle VM from the Select a Product Pack dropdown menu. Next, select x86 64-bit from the Platform dropdown menu, then click the Go button to be taken to the Oracle VM Media Pack download page.

Tip: If you do not see Oracle VM from the Select a Product Pack dropdown menu, you are not in the Oracle Linux and Oracle VM section of the Oracle Software Delivery Cloud. Click the Cloud Portal link in the page header, then click the Oracle Linux/VM drop down menu to be redirected to the Oracle Linux and Oracle VM section of the Oracle Software Delivery Cloud portal.

Figure 4 shows the Media Pack Search page.
Oracle VM Download
From the Media Pack Search page, click the desired Oracle VM Manager release radio button, then the Continue button, or simply click the Oracle VM 3.x hyperlink to go directly to the download page.

Figure 5 shows the Media Pack Search page.
Download Oracle VM Manager 3
From the Oracle VM Server 3.x Media Pack for x86 (64 bit) download page, click the desired Oracle VM Server 3.x for x86 64 (64 bit) Download button to download the Oracle VM media pack.
 
Tip: Oracle VM is distributed as Open Source software, therefore the source code is also available along with the ISO image. The Source Code is not used for the Oracle VM Server installation.  
 
Figure 6 shows the Oracle VM Media Pack page.
Download Oracle VM Manager  Media
 

The Oracle VM media is packaged as a zip file. The zip file name corresponds to the Part Number listed on the download page. The zip file contains the Oracle VM server ISO file. Once the zip file is downloaded, use your favorite zip utility to unzip the ISO file. Next, burn the ISO file to CD to be able to install Oracle VM with a CD-ROM drive, or copy the ISO file to a loaction where your Lights out Management (LOM) sofware can access the ISO file.

Oracle VM Server Installation

Step 1
Step 2
Step 3
Step 4
Oracle VM Server Pre-Deployment Checklist
Download the Oracle VM Media Pack
Oracle VM Server Installation
Oracle VM Post Installation Checklist
 
1. Insert the Oracle VM Server media into the CD-ROM drive.
2. Boot the server with the Oracle VM Server media in the CD-ROM drive.
3. The Oracle VM Server Welcome screen is displayed, as shown in Figure 7.
 
Oracle VM Server Welcome screen
From Oracle VM Server Welcome screen press the Enter key to start the install program. If the Enter key is not pressed for one minute, the install program will automatically start.
 
Figure 7 shows the Oracle VM Server Welcome screen.
Oracle VM Server Installation Welcome
 
The CD Found screen
On the CD Found screen, you can test the media for errors. To test the media, use the Tab key to select the OK button and press Enter. Once the media test is completed, any errors will be reported. To skip the media test and continue with the install, use the Tab key to select the Skip button and press Enter to continue.
 
Figure 8 shows the CD Found screen.
Oracle VM Server Installation CD Found
 
The Keyboard Selection screen
On the Keyboard Selection screen, use the Tab key to select the list of keyboard models. Then use the UP and DOWN keys (↑ or ↓) to select the desired keyboard model. The keyboard that is selected becomes the default keyboard for dom0. Next, use the Tab key to select OK, and press Enter to continue.
 
Figure 9 shows the Keyboard Selection screen.
ORacle VM Server Installation Keyboard Selection
 
OVS EULA screen
On the OVS EULA screen, use the UP and DOWN keys (↑ or ↓) to read the License Agreement. Next, use the Tab key to select the ACCEPT button to continue.
 
Figure 10 shows the OVS EULA screen.
Oracle VM Server Installation License Agreement
 
Partitioning Type screen
The Partitioning Type screen offers the following five partitioning options:
  • Remove all partitions and create a new default partition layout
  • Remove all Linux partitions and create a new default partition layout
  • Use the free space on selected drives to create a new default partition layout
  • Create a minimal partition layout for installation to a USB drive
  • Create a custom partition layout
Tip: The default behavior of the Oracle VM Server installation program is to allocate only 3GB of storage for the entire installation, regardless of the amount of available disk space. I recommend re-allocating the free space to the root “/” partition for log files and diagnostics. When installing Oracle VM Server on a small flash storage module, i.e. 4GB, select the "Create a minimal partition layout for installation to a USB drive" partition layout option.
 
Use the Tab key to select the Remove all partitions and create a new default partition layout option. Ensure that the appropriate drive is selected in the Which drive(s) do you want to use for this installation section. Use the Tab key to select the OK button to continue.
 
Figure 11 shows the Partitioning Type screen.
Oracle VM Server Installation Warning
 
Warning screen
On the Warning screen, use the Tab key to select the Yes button, then press Enter to continue.
 
Note: If your installing a new server that has been zones and masked to existing SAN storage, DO NOT REMOVE ANY OF THE SAN PARTITIONS! Removing the SAN partitions could delete the existing server pool with its virtual machines. 
 
Figure 12 shows the Warning screen.
ORacle VM Server Installation Partitioning Type
 
Review Partition Layout screen
On the Review Partition Layout screen, use the Tab key to select the YES to review and/or modify the Partition Layout, or use the Tab key to select the NO to accept the defaults and continue to the Boot Loader Configuration screen.
 
The default behavior of the Oracle VM Server installation program is to allocate only 3GB of storage for the entire Oracle VM Server installation, regardless of the amount of available disk space. I recommend re-allocating the free space to the root “/” partition for log files and diagnostics. 
 
The following examples show how to re-allocating the free space to the root “/” partition for log files and diagnostics.
 
Figure 13 shows the Review Partition Layout screen.
Oracle VM Server Installation Remove Partition Warning
 
Partitioning screen
On the Partitioning screen, use the Tab key to select the root “/ partition, then use the Tab key to select the Edit button. Press Enter to continue.
 
Figure 14 shows the Partition screen.
Oracle VM Server Installation Review Partition Layout
 
Add Partition screen
On the Add Partition screen, use the Tab key to select the Fill all available space option. Next, press the Space bar to select the Fill all available space option. Use the Tab key to select the OK button to proceed.
 
Figure 15 shows the Add Partition screen.
Oracle VM Server Installation Partitioning
 
Partitioning screen
On the Partitioning screen, use the Tab key to select OK to continue.
 
Figure 16 shows the Partitioning screen
Oracle VM Server Installation Add Partition
 
The Boot Loader Configuration screen
On the Boot Loader Configuration screen, use the Tab key to select the Master Boot Record (MBR) or the First sector of boot partition as the location to install the boot loader. For this example, we have selected the Master Boot Record (MBR) option. Next, use the Tab key to select the OK button and press Enter to continue.
 
Figure 17 shows the Boot Loader Configuration screen.
Oracle VM Server Installation Partition Screen
 
Oracle VM Server Management Interface screen (ACCESS PORTS - NOT 802.1q)
On the Oracle VM Server Management Interface screen, use the Tab key to select the network interface that will be dedicated for the server management network channel. If your using 802.1Q (VLANs), select the Add to VLAN tab to enter the VLAN ID of the server management network channel. Once the network interface is selected, use the Tab key to select the OK button and press Enter to continue.
 
If you select OK, skip to the The IPv4 Configuration for eth0 screen.
 
Note: The installer program selects eth0 as the default server management interface. The server management interface settings are controlled in the /etc/ovs-config file. The server management interface can be changed post installation using Oracle VM Manager.
 
Figure 18 shows the Oracle VM Server Management Interface screen.
Oracle VM Server Installation Boot Loader Configuration
 
Oracle VM Server Management Interface screen - Add to VLAN (802.1q)
On the Oracle VM Server Management Interface screen, use the Tab key to select the network interface that will be dedicated for the server management network channel. For 802.1Q (VLANs), select the Add to VLAN tab to enter the VLAN ID of the server management network channel. Once the network interface is selected, use the Tab key to select the OK button and press Enter to continue.
 
Note: The installer program selects eth0 as the default server management interface. The server management interface settings are controlled in the /etc/ovs-config file. The server management interface can be changed post installation using Oracle VM Manager.
 
Figure 19 shows the Oracle VM Server Management Interface screen.
Oracle VM Server Installation Management Interface
 
From the Oracle VM Management VLAN screen enter the VLAN ID of the server management network channel. 
 
Tip: VLAN ID 1 can not be used with Oracle VM Manager.
 
Figure 20 shows the Oracle VM Management VLAN screen.
Oracle VM Server Installation IPv4 Configuration
 
The IPv4 Configuration for eth0 screen
The IPv4 Configuration for eth0 screen offers the following three options:
  • Dynamic IP configuration (DHCP)
  • Manual address configuration
  • IP Address and Prefix (netmask)
If your Oracle VM server will use DHCP to assign its IP address, select the Dynamic IP configuration (DHCP) option. To select the Dynamic IP configuration (DHCP) entry, use the Tab key to highlight the Dynamic IP configuration (DHCP) entry, then use the Space bar to select the Dynamic IP configuration (DHCP) entry. Use the Tab key to select the OK button to continue.
 
If your Oracle VM server will use a static IP address, select the Manual address configuration entry. To select the Manual address configuration entry use the Tab key to highlight the Manual address configuration entry, then use the Space bar to select the Manual address configuration entry. Next, use the Tab key to enter the IP Address and Prefix (netmask). Use the Tab key to select the OK button to continue.
 
Figure 21 shows the IPv4 Configuration for eth0 screen.
Oracle VM Server Installation Miscellaneous Network Settings
 
The Miscellaneous Network Settings screen
On the Miscellaneous Network Settings screen, use the Tab key to select the GatewayPrimary DNS and optional Secondary DNS to enter the networking settings for your environment. Use the Tab key to select the OK button and press Enter to continue.
 
Figure 22 shows the Hostname Configuration screen.
Oracle VM Server Installation Hostname Configuration
 
Hostname Configuration screen
On the Hostname Configuration screen, select one of the following two options:
  • automatically via DHCP
  • manually
If the machine uses DHCP to assign its hostname, then select the automatically via DHCP option. Next, use the Tab key to select the OK button to continue.
 
To assign a hostname for your Oracle VM server, select the manually option and enter the fully qualified domain name (FQDN) in the text box. Then, use the Tab key to select the OK button to continue.
 
Figure 23 shows the Hostname Configuration screen.
Oracle VM Server Installation Time Zone Selection
 
Time Zone Selection screen
On the Time Zone Selection screen select the System clock uses UTC option to use Coordinated Universal Time (UTC), then use the Tab key and the UP or DOWN key (↑ or ↓) to select the time zone closest to your Oracle VM server’s physical location. Next, use the Tab key to select the OK button and press Enter to continue.
 
Figure 24 shows the Time Zone Selection screen.
 Oracle VM Server Installation Oracle VM Agent password
 
Oracle VM Agent password screen
On the Oracle VM Agent password screen, enter the password for the Oracle VM agent in the Password field. The Agent password should "not" contain special character, i.e. ;:#,!, etc. In the Password (confirm) field, re-enter the password. Use the Tab key to select the OK button and press Enter to continue. If the two passwords do not match, the installation program will ask you to re-enter the passwords.
 
The Oracle VM agent password is used by Oracle VM Manager and the Oracle VM Management Pack to dispatch commands and to retrieve pool-status data. The Oracle VM agent password can be changed after the installation from dom0 by typing “ovs-agent-passwd oracle” for the oracle account.
 
 
Figure 25 shows the Oracle VM Agent password screen.
Oracle VM Server Installation Root Password
 
Root Password screen
On the Root Password screen, enter a password with at least six characters for the root user in the Password field. In the Password (confirm) field, re-enter the password. Use the Tab key to select the OK button and press Enter to continue. If the two passwords do not match, the installation program will ask you to re-enter the passwords.
 
Figure 26 shows the Root Password screen.
Oracle VM Server Installation Installation to begin
 
Installation to begin screen
On the Installation to begin screen, select OK and press Enter to continue.
 
Figure 27 shows the Installation to begin screen.
Oracle VM Server Installation Complete
 
Complete screen
When the Complete screen appears, remove the Oracle VM Server media from the CD-ROM drive and press Enter to reboot the Oracle VM server.
 
Figure 28 shows the Complete screen.
 Oracle VM Server login prompt
 
Oracle VM Server login prompt screen
On the Oracle VM Server login prompt screen, enter ALT-F2 to access the login screen. From the login prompt, enter the root username and the password to access the dom0 console.
 
Figure 29 shows the Oracle VM Server login prompt screen.
 Oracle VM Server login prompt
 
After installing Oracle VM, review and complete all of the necessary tasks on the post-installation checklist before the server is added to a pool. Once the post-installation checklist is completed, the Oracle VM Server can be added to a server pool and patched using Oracle VM Manager or Oracle Enterprise Manager.
 

Oracle VM Post Installation Checklist

Step 1
Step 2
Step 3
Step 4
Oracle VM Server Pre-Deployment Checklist
Download the Oracle VM Media Pack
Oracle VM Server Installation
Oracle VM Post Installation Checklist
After installing Oracle VM, review and complete all of the necessary tasks on the post-installation checklist before the Oracle VM Server is added to a pool. These tasks involve validating the Oracle VM Server's networking prerequisites and disabling CPU operating states (C-states) in the BIOS. 
 
1. Oracle VM Name Resolution
Applicable to all Oracle VM 3.x Releases. 
The Oracle VM Server(s) must have consistent name resolution using DNS with both forward and reverse lookups.
 
First, open the “/etc/resolv.conf” file by typing “vi /etc/resolv.conf” and confirm that the domain name or names, and two DNS servers are listed. The next example shows one domain name and two DNS servers listed in a resolv.conf file.

# vi /etc/resolv.conf
search <DOMAIN NAME>
nameserver <MY DNS SERVER1 IP ADDRESS>
nameserver <MY DNS SERVER2 IP ADDRESS>

From each Oracle VM server ping each DNS server listed in the resolv.conf file to ensure network connectivity.
 
Next, validate the forward lookups for each Oracle VM Server and the Oracle VM Manager host using the “getent hosts” command. For example, to validate server2's forward lookup from server1 type “getent hosts server2” as shown in the next example.

# getent hosts server2
server2 has address 192.168.4.6

Note: Using hosts files without DNS is not advised and may produce unpredictable results.
 
2. Oracle VM /etc/hosts File Requirements
Applicable to all Oracle VM 3.x Releases. 
The Oracle VM Server’s host name in the /etc/hosts file must be associated with the server's public IP address. If an Oracle VM Server host name is associated with 127.0.0.1, the cluster.conf file will be malformed and the cluster will not be operational.
 
The next example shows the proper syntax for an Oracle VM Server’s hosts file entry.
127.0.0.1    localhost.localdomain localhost
192.168.4.8    servername.com servername

The next example shows the improper syntax from an Oracle VM Server's hosts file entry.
127.0.0.1    servername.com servername localhost.localdomain localhost
192.168.4.8     servername.com servername
 
3. Disable Extra C-states
Applicable to all Oracle VM 3.x Releases. 
To reduce the risk of unexpected server reboots, extra C-states should be disabled in the BIOS of each Oracle VM Server. If the BIOS has a settings named "Active Power Controller mode", disable this option as well. 
 
The Intel Nehalem CPU introduced a CPU power-saving feature called deep CPU operating states (C-states). C-states allows an idle processor to turn off unused components to save power. Some of the components that C-states turns off include the processor clock and interrupts. Under certain conditions, when C-states turns off unused CPU components, the Oracle VM OCFS2 heartbeat mechanism triggers an unexpected server reboot.
 
C-states server reboots log the following log entries in /var/log/messages. 
 
May  4 16:45:40 <HOST NAME> syslogd 1.4.1: restart.
May  4 16:45:40 <HOST NAME> kernel: klogd 1.4.1, log source = /proc/kmsg started.
 
On alive servers in the pool, the following OCFS2 o2net connection error appear in /var/log/messages.
 
server2 kernel: o2net: Connection to node "<HOST NAME>" (num 0) at xx.xx.xxx.xxx:7777 has been idle for 60.5 secs, shutting it down.
 
To confirm if extra C-states are enabled, as root type:
# xenpm get-cpuidle-states | grep total | uniq
total C-states : 2
 
If the "total C-states" is greater than 2, then extra C-states is enabled in the server's BIOS. The above example shows that extra C-states are disabled on the hosts, i.e. "total C-states : 2".  If extra C-States are enabled, the command output would show: "total C-states: 4"
 
How to Disable Extra C-states on HP Servers:
1. Reboot
2. Enter the BIOS Setup Utility by pressing F9 on POST
3. Navigate to Power Management Option" => Advanced Power Management Options => Minimum Processor Idle Power State
4. Choose "No C-States"
5. To exit the BIOS Setup Utility and save the new settings, press Esc.

How to Disable Extra C-states on SUN x86 Servers:
1. Reboot
2. Enter the BIOS Setup Utility by pressing F2 on POST
3. Navigate to Advanced => CPU Configuration => Intel (R) C-STATE tech => Options
4. Choose "Disabled"
5. To exit the BIOS Setup Utility and save the new settings, press Esc.
 
4. VMPinfo3 Installation for Diagnostic Capture & Troubleshooting
Applicable up to Oracle VM 3.1.1.. VMPinfo3 is included in Oracle VM 3.2.x and above. 
VMPinfo3 is a modified version of sosreport for Oracle VM. VMPinfo3 is a set of tools with a command line interface that use the Oracle VM 3.x API to collect log files and troubleshooting information from Oracle VM Server pools. VMPinfo3 runs from the Oracle VM Manager host and collects and consolidates log files from each Oracle VM Server managed by Oracle VM Manager.   

Tip: VMPinfo3 is Oracle support's primary tool for working Oracle VM Service Requests (SRs). To expedite your Oracle VM SRs, always include a VMPinfo3 diagnostic capture.

VMPinfo3 consists of two RPM packages. The vmpinfo-manager-1.0.0-1.noarch.rpm RPM is installed on the Oracle VM Manager host. The vmpinfo-sosreport-1.0.3-1.noarch.rpm RPM is installed on each Oracle VM Server. The VMPinfo3 RPMs are downloadable from My Oracle Support via ID 1364933.1.

Once you have downloaded the VMPinfo3 RPMs, copy the vmpinfo-manager-1.0.0-1.noarch.rpm RPM to the Oracle VM Manager host, and vmpinfo-sosreport-1.0.3-1.noarch.rpm RPM to each Oracle VM Server.

On the Oracle VM manager host, as root type “rpm -ivh  vmpinfo-manager-1.0.0-1.noarch.rpm”
to install the vmpinfo-manager RPM.

On each Oracle VM Server, before installing the vmpinfo-sosreport-1.0.3-1.noarch.rpm RPM, remove the conflicting “vmpinfo3-sosreport-1.0.0-4.el5.noarch” RPM package by typing  “rpm -e  “vmpinfo3-sosreport-1.0.0-4.el5.noarch”. Next, type “rpm -ivh  vmpinfo-sosreport-1.0.3-1.noarch.rpm” to install vmpinfo3-sosreport.

The next example shows how to remove the conflicting vmpinfo3-sosreport-1.0.0-4.el5.noarch RPM and, how to install the vmpinfo-sosreport-1.0.3-1.noarch.rpm RPM.

# rpm -e  vmpinfo3-sosreport-1.0.0-4.el5.noarch
# rpm -ivh vmpinfo-sosreport-1.0.3-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:vmpinfo-sosreport      ########################################### [100%]

To run VMPinfo3 and create a diagnostic capture, access the Oracle VM Manager host as the oracle user, and change to the “/home/oracle/vmpinfo3/” directory. From the vmpinfo3 directory, run the vmpinfo3.sh script as show in the next example.
$ cd vmpinfo3/
$ ./vmpinfo3.sh --username=admin –password=<ADMIN PASSWORD>

The password used for the vmpinfo3.sh script is for the Oracle VM Manager “admin” user account.  The diagnostic capture will be created in the /tmp directory with the following name, date and format “vmpinfo3-<date-time>.tar.bz2”.
 
5. Oracle OS Watcher Installation
Applicable to all Oracle VM 3.x Releases. 
Oracle OS Watcher (OSW) is a utility that uses native Linux commands and shell scripts to collect and archive dom0 metrics for diagnostics and performance troubleshooting. OSW operates as a set of dom0 background processes that collect and archive data on a regular basis, using meminfo, netstat, ps slabinfo, top, vmstat, xentop. The version of OSW for Oracle VM is only available by opening a SR and requesting the RPM file. OSW is installed on Oracle VM Server.

Tip: OSW is one of Oracle support's primary tool for working Oracle VM Service Requests (SRs). To expedite your Oracle VM SRs, always include the OSW archive files from each Oracle VM Server.

Once you have downloaded the OSW RPM from Oracle support, copy it to each Oracle VM Server. Next, as root, type “rpm -ivh oswatcher-3.1-2.el5.noarch.rpm” to install OSW. The next example shows the installation of OSW.

# rpm -ivh oswatcher-3.1-2.el5.noarch.rpm
Preparing...                ########################################### [100%]
   1:oswatcher              ########################################### [100%]

The OSW installer automatically configures the oswatcher service to start at runlevel 3, 5 and 5. The next example shows the default runlevels for the oswatcher service.

# chkconfig --list |grep oswatcher
oswatcher       0:off   1:off   2:on    3:on    4:on    5:on    6:off

The OSW configuration file is located at /etc/sysconfig/oswatcher. The next example shows the default OSW settings.

# vi /etc/sysconfig/oswatcher
# The directory where oswatcher logs should be kept
DATADIR=/var/log/oswatcher
# The interval (in seconds) between runs runs of statistics collections
INTERVAL=30
# The maximum age (in hours) of the various log files
MAXAGE=48
# An optional program used to compress the log files
ZIP=

The DATADIR directive controls the {OSWHOME} directory. {OSWHOME} is where the oswatcher logs are kept. For example, the default DATADIR=/var/log/oswatcher creates the /var/log/oswatcher directory for the log files. The INTERVAL directive controls the interval in seconds between statistics collections. The default NTERVAL=30 should not have to be modified, unless requested by Oracle support. The MAXAGE directive controls the retention policy in hours of the log files in the {OSWHOME}/archive directory.  
 
The OSW log files are saved in the following directories:

/var/log/oswatcher/archive/
oswiostat (empty)
oswmeminfo
oswmpstat (empty)
oswnetstat
oswprvtnet (empty)
oswps
oswslabinfo
oswtop
oswvmstat
oswxentop

Note: The Oracle VM does not ship with iostat, mpstat and prvtnet.
 
6. 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. "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 Updatesthat describes how to apply patch updates to Oracle VM Manager and Oracle VM Server, as well as an entire chapterOracle 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:
 
[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
 
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.
 

Uninstall / Remove Oracle VM

There is not an option to “uninstall” Oracle VM, although there are many ways to remove Oracle VM from a system. The method you select to remove Oracle VM from a system depends on your organizations security requirements. For example, if corporate policy states that the data on the hard drive needs to be securely deleted, formatting or re-partitioning the hard drive will not completely remove the data from the disks. To completely wipe Oracle VM from disk, boot the system using data destruction application, like Darik's Boot and Nuke (DBAN), and wipe the disk(s). If the data on the hard drive does not need to be securely deleted, you could a) delete all the files on the disks b) format or re-partition the hard drives c) uninstall the bootloader and d) install another operating system on top of the existing one.
 
List 1 shows several of the options to remove Oracle Linux from a system.
  • Boot the system using data destruction application like Darik's Boot and Nuke (DBAN) and wipe all of the disks.
  • Delete all the files on the disks, i.e. type “rm -rf /” as root.
  • Format or delete the partitions.
  • Uninstall the bootloader.
  • Install another operating system on top of Oracle Linux or Red Hat Enterprise Linux.

Oracle VM Server Installation Hangs While Loading Xen.gz

The installation of Oracle VM Server 3.0.x hangs while loading xen.gz on servers with Intelligent Platform Management Interface (IPMI) cards or with console redirection enabled in the BIOS.
 
The next example shows a hung boot screen.
COM32 Multiboot loader v0.1. Copyright (C) 2005 Tim Deegan
Kernel: xen.gz
Loading: xen.gz
 
IPMI cards or enabled console redirection change the default Component Object Model (COM) port inside the BIOS from COM A (COM 1) to COM B (COM 2). When the Component Object Model (COM) port becomes COM B (COM 2) the installation program hangs as described above.
 
Resolution
1. Access the system BIOS, open the Advanced menu, and validate the Console Redirection settings. Either DISABLE Console Redirection or change it to COM1.
2. Exit and Save the BIOS changes.
3. Restart the Oracle VM Server installation.
 
 

Oracle VM Default Runlevel Settings for System Services

The next example shows the Oracle VM 3.2.2 default runlevel settings for system services.
 
anacron         0:off 1:off 2:on 3:on 4:on 5:on 6:off
crond           0:off 1:off 2:on 3:on 4:on 5:on 6:off
haldaemon       0:off 1:off 2:off 3:on 4:on 5:on 6:off
ip6tables       0:off 1:off 2:off 3:off 4:off 5:off 6:off
ipmievd         0:off 1:off 2:off 3:off 4:off 5:off 6:off
iptables       0:off 1:off 2:off 3:off 4:off 5:off 6:off
irqbalance     0:off 1:off 2:on 3:on 4:on 5:on 6:off
iscsi           0:off 1:off 2:off 3:on 4:on 5:on 6:off
iscsid         0:off 1:off 2:off 3:on 4:on 5:on 6:off
kdump           0:off 1:off 2:off 3:off 4:off 5:off 6:off
lm_sensors     0:off 1:off 2:on 3:on 4:on 5:on 6:off
lvm2-monitor   0:off 1:on 2:on 3:on 4:on 5:on 6:off
mcstrans       0:off 1:off 2:on 3:on 4:on 5:on 6:off
messagebus     0:off 1:off 2:off 3:on 4:on 5:on 6:off
mpp             0:off 1:off 2:off 3:on 4:off 5:on 6:off
multipathd     0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole     0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs           0:off 1:off 2:off 3:on 4:on 5:on 6:off
netplugd       0:off 1:off 2:off 3:off 4:off 5:off 6:off
network         0:off 1:off 2:on 3:on 4:on 5:on 6:off
nfs             0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfslock         0:off 1:off 2:off 3:on 4:on 5:on 6:off
ntpd           0:off 1:off 2:on 3:on 4:on 5:on 6:off
o2cb           0:off 1:off 2:on 3:on 4:on 5:on 6:off
ocfs2           0:off 1:off 2:on 3:on 4:on 5:on 6:off
openvswitch     0:off 1:off 2:off 3:off 4:off 5:off 6:off
ovm-consoled   0:off 1:off 2:off 3:on 4:on 5:on 6:off
ovmwatch       0:off 1:off 2:off 3:on 4:on 5:on 6:off
ovs-agent       0:off 1:off 2:on 3:on 4:on 5:on 6:off
ovs-devmon     0:off 1:off 2:off 3:on 4:on 5:on 6:off
portmap         0:off 1:off 2:off 3:on 4:on 5:on 6:off
rawdevices     0:off 1:off 2:off 3:on 4:on 5:on 6:off
rdisc           0:off 1:off 2:off 3:off 4:off 5:off 6:off
restorecond     0:off 1:off 2:on 3:on 4:on 5:on 6:off
rpcgssd         0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcidmapd       0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcsvcgssd     0:off 1:off 2:off 3:off 4:off 5:off 6:off
smartd         0:off 1:off 2:on 3:on 4:on 5:on 6:off
snmpd           0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmptrapd       0:off 1:off 2:off 3:off 4:off 5:off 6:off
sshd           0:off 1:off 2:on 3:on 4:on 5:on 6:off
syslog         0:off 1:off 2:on 3:on 4:on 5:on 6:off
sysstat         0:off 1:off 2:on 3:on 4:off 5:on 6:off
xencommons     0:off 1:off 2:on 3:on 4:on 5:on 6:off
xend           0:off 1:off 2:on 3:on 4:on 5:on 6:off
xendomains     0:off 1:off 2:on 3:on 4:on 5:on 6:off
 

Oracle VM install.log File

The next example shows a Oracle VM 3.2.2 install.log file.
 
Installing libgcc-4.1.2-48.el5.x86_64
warning: libgcc-4.1.2-48.el5: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Installing setup-2.5.58-7.100.4.el5.noarch
Installing filesystem-2.4.0-3.0.1.el5.x86_64
Installing basesystem-8.0-5.1.1.0.1.noarch
Installing tzdata-2010k-1.el5.x86_64
Installing glibc-common-2.5-49.el5_5.4.x86_64
Installing glibc-2.5-49.el5_5.4.x86_64
Installing cracklib-dicts-2.8.9-3.3.x86_64
Installing nash-5.1.19.6-71.100.1.el5_7.5.x86_64
Installing 1:busybox-1.2.0-7.el5.x86_64
Installing kernel-uek-firmware-2.6.39-300.22.2.el5uek.noarch
Installing oraclelinux-release-5-7.100.1.x86_64
Installing enterprise-linux-ovs-5-5.208.x86_64
Installing ql2xxx-firmware-1.01.01-0.1.el5.noarch
Installing 1:termcap-5.5-1.20060701.1.noarch
Installing vbox-img-1.0-6.x86_64
Installing rootfiles-8.1-1.1.1.noarch
Installing glibc-2.5-49.el5_5.4.i686
Installing chkconfig-1.3.30.2-2.el5.x86_64
Installing zlib-1.2.3-3.x86_64
Installing glib2-2.12.3-4.el5_3.1.x86_64
Installing popt-1.10.2.3-20.el5_5.1.x86_64
Installing audit-libs-1.7.17-3.el5.x86_64
Installing 3:mktemp-1.5-23.2.2.x86_64
Installing bzip2-libs-1.0.3-6.el5_5.x86_64
Installing elfutils-libelf-0.137-3.el5.x86_64
Installing expat-1.95.8-8.3.el5_5.3.x86_64
Installing libstdc++-4.1.2-48.el5.x86_64
Installing tcp_wrappers-7.6-40.7.el5.x86_64
Installing libtermcap-2.0.8-46.1.x86_64
Installing bash-3.2-24.el5.x86_64
Installing info-4.8-14.el5.x86_64
Installing ncurses-5.5-24.20060715.x86_64
Installing libsepol-1.15.2-3.el5.x86_64
Installing readline-5.1-3.el5.x86_64
Installing sed-4.1.5-5.fc6.x86_64
Installing nspr-4.8.6-1.el5.x86_64
Installing nss-3.12.7-2.0.1.el5.x86_64
Installing gawk-3.1.5-14.el5.x86_64
Installing sqlite-3.3.6-5.x86_64
Installing libcap-1.10-26.x86_64
Installing iptables-1.4.7-3.100.3.el5.x86_64
Installing db4-4.3.29-10.el5_5.2.x86_64
Installing libaio-0.3.106-5.x86_64
Installing libsysfs-2.0.0-6.x86_64
Installing libattr-2.4.32-1.1.x86_64
Installing libacl-2.2.39-6.el5.x86_64
Installing libidn-0.6.5-1.1.x86_64
Installing diffutils-2.8.1-15.2.3.el5.x86_64
Installing libxml2-2.6.26-2.1.2.8.0.2.x86_64
Installing mailx-8.1.1-44.2.2.x86_64
Installing 1:dmidecode-2.10-3.el5.x86_64
Installing libgpg-error-1.4-2.x86_64
Installing slang-2.0.6-4.el5.x86_64
Installing gdbm-1.8.0-26.2.1.x86_64
Installing 4:perl-5.8.8-38.el5.x86_64
Installing lm_sensors-2.10.7-9.el5.x86_64
Installing libgcrypt-1.4.4-5.el5.x86_64
Installing bridge-utils-1.1-2.x86_64
Installing device-mapper-multipath-libs-0.4.9-46.100.5.el5.x86_64
Installing iproute-2.6.32-10.100.2.el5.x86_64
Installing iptables-ipv6-1.4.7-3.100.3.el5.x86_64
Installing hmaccalc-0.9.6-3.el5.x86_64
Installing procps-3.2.7-16.el5.x86_64
Installing less-436-2.el5.x86_64
Installing gzip-1.3.5-11.0.1.el5_4.1.x86_64
Installing binutils-2.17.50.0.6-14.el5.x86_64
Installing cpio-2.6-23.el5_4.1.x86_64
Installing bzip2-1.0.3-6.el5_5.x86_64
Installing iputils-20020927-46.el5.x86_64
Installing udhcp-0.9.8-3.x86_64
Installing ovs-utils-1.1-1.x86_64
Installing pcre-6.6-2.el5_1.7.x86_64
Installing grep-2.5.1-55.el5.x86_64
Installing libusb-0.1.12-5.1.x86_64
Installing elfutils-libs-0.137-3.el5.x86_64
Installing lsscsi-0.23-3.el5.x86_64
Installing tftp-0.49-2.0.1.x86_64
Installing libevent-1.4.13-1.x86_64
Installing sg3_utils-libs-1.25-4.el5.x86_64
Installing sg3_utils-1.25-4.el5.x86_64
Installing 2:ethtool-2.6.33-0.3.100.1.el5.x86_64
Installing mingetty-1.07-5.2.2.x86_64
Installing keyutils-libs-1.2-1.el5.x86_64
Installing cyrus-sasl-lib-2.1.22-5.el5_4.3.x86_64
Installing libvolume_id-095-14.27.100.1.el5_7.4.x86_64
Installing sgpio-1.2.0_10-2.0.1.el5.x86_64
Installing sysfsutils-2.0.0-6.x86_64
Installing ed-0.2-39.el5_2.x86_64
Installing nc-1.84-10.fc6.x86_64
Installing 1:mcelog-1.0pre3_20101112-0.6.100.1.el5.x86_64
Installing unzip-6.0-3.100.1.el5.x86_64
Installing liblockfile-1.06.1-3.x86_64
Installing file-4.17-15.el5_3.1.x86_64
Installing strace-4.5.18-5.el5_4.1.x86_64
Installing vconfig-1.9-3.x86_64
Installing libdrm-2.0.2-1.1.x86_64
Installing numactl-0.9.8-11.100.1.el5.x86_64
Installing setserial-2.17-19.2.2.x86_64
Installing hdparm-6.6-2.x86_64
Installing reflink-0.1.0-2.x86_64
Installing crontabs-1.10-8.noarch
Installing anacron-2.3-45.0.1.el5.x86_64
Installing grub-0.97-13.5.100.3.x86_64
Installing libselinux-1.33.4-5.5.el5.x86_64
Installing coreutils-5.97-23.100.1.el5_4.7.x86_64
Installing device-mapper-1.02.39-1.el5_5.2.x86_64
Installing e2fsprogs-libs-1.39-23.el5.x86_64
Installing 2:shadow-utils-4.0.17-15.el5.x86_64
Installing krb5-libs-1.6.1-36.el5_5.5.x86_64
Installing openssl-0.9.8e-12.el5_4.6.x86_64
Installing python-2.4.3-27.100.1.el5_5.6.x86_64
Installing xen-tools-4.1.3-25.el5.x86_64
Installing kpartx-0.4.9-46.100.5.el5.x86_64
Installing openldap-2.3.43-12.el5_5.2.x86_64
Installing e2fsprogs-1.39-23.el5.x86_64
Installing 1:findutils-4.2.27-6.el5.x86_64
Installing device-mapper-multipath-0.4.9-46.100.5.el5.x86_64
warning: /etc/multipath.conf saved as /etc/multipath.conf.rpmorig
Installing newt-0.52.2-15.el5.x86_64
Installing 1:net-snmp-libs-5.3.2.2-17.0.1.el5_8.1.x86_64
Installing libgssapi-0.10-2.x86_64
Installing logrotate-3.7.4-9.x86_64
Installing 2:tar-1.15.1-30.el5.x86_64
Installing libselinux-utils-1.33.4-5.5.el5.x86_64
Installing net-tools-1.60-81.el5.x86_64
Installing nfs-utils-lib-1.0.8-7.6.el5.x86_64
Installing kexec-tools-2.0.3-4.0.7.el5.x86_64
Installing python-simplejson-2.0.7-2.el5.x86_64
Installing multiprocessing-2.6.1.1-1.x86_64
Installing ovs-agent-3.2.1-183.x86_64
warning: /etc/ovs-agent/passwdfile created as /etc/ovs-agent/passwdfile.rpmnew
Generating RSA private key, 1024 bit long modulus
...............++++++
.......++++++
e is 65537 (0x10001)
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:State or Province Name (full name) [Berkshire]:Locality Name (eg, city) [Newbury]:Organization Name (eg, company) [My Company Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:An optional company name []:Signature ok
subject=/CN=localhost.localdomain
Getting Private key
Installing python-crypto-2.0-1.rf.x86_64
Installing python-sqlite-1.1.7-1.2.1.x86_64
Installing python-elementtree-1.2.6-5.x86_64
Installing libxml2-python-2.6.26-2.1.2.8.0.2.x86_64
Installing yum-metadata-parser-1.1.2-3.el5.x86_64
Installing libsemanage-1.9.1-4.4.el5.x86_64
Installing audit-libs-python-1.7.17-3.el5.x86_64
Installing libselinux-python-1.33.4-5.5.el5.x86_64
Installing cracklib-2.8.9-3.3.x86_64
Installing pam-0.99.6.2-6.el5_4.1.x86_64
Installing libuser-0.54.7-2.1.el5_4.1.x86_64
Installing passwd-0.73-1.x86_64
Installing usermode-1.88-3.el5.2.x86_64
Installing SysVinit-2.86-15.el5.x86_64
Installing curl-7.15.5-9.el5.x86_64
Installing python-pycurl-7.15.5.1-4.100.1.el5.x86_64
Installing iscsi-initiator-utils-6.2.0.872-6.100.1.el5.x86_64
Installing socat-1.7.1.3-1.el5.x86_64
Installing MAKEDEV-3.23-1.2.x86_64
Installing udev-095-14.27.100.1.el5_7.4.x86_64
Installing util-linux-2.13-0.52.100.1.el5_4.2.x86_64
Installing which-2.16-7.x86_64
Installing cryptsetup-luks-1.0.3-5.el5.x86_64
Installing device-mapper-event-1.02.39-1.el5_5.2.x86_64
Installing lvm2-2.02.56-8.100.3.el5.x86_64
Installing psmisc-22.2-7.x86_64
Installing initscripts-8.45.30-2.100.27.el5.x86_64
Installing kbd-1.12-21.el5.x86_64
Installing sysklogd-1.4.1-46.100.2.el5.x86_64
Installing 4:vixie-cron-4.1-81.el5.x86_64
Installing 1:smartmontools-5.42-2.100.2.el5.x86_64
Installing portmap-4.0-65.2.2.1.x86_64
Installing mcstrans-0.2.11-3.el5.x86_64
Installing 2:irqbalance-0.55-17.el5.x86_64
Installing 12:dhclient-3.0.5-23.el5_5.2.x86_64
Installing prelink-0.4.0-2.el5.x86_64
Installing authconfig-5.3.21-6.el5.x86_64
Installing ovmwatch-1.0-20.x86_64
Installing devmon-1.0-28.x86_64
Installing system-config-securitylevel-tui-1.6.29.1-5.100.2.el5.x86_64
Installing python-numeric-23.7-2.2.2.x86_64
Installing python-hashlib-20081119-4.el5.x86_64
Installing PyXML-0.8.4-4.el5_4.2.x86_64
Installing pyOpenSSL-0.10-2.el5.x86_64
Installing pygobject2-2.12.1-5.el5.x86_64
Installing wget-1.11.4-2.el5_4.1.x86_64
Installing 14:tcpdump-3.9.4-15.el5.x86_64
Installing OpenIPMI-tools-2.0.16-7.el5.x86_64
Installing parted-1.8.1-27.el5.x86_64
Installing rdac-mpp-tools-1.0.1-5.x86_64
Installing lsof-4.78-3.x86_64
Installing 2:vim-minimal-7.0.109-6.el5.x86_64
Installing osc-plugin-manager-1.2.8-26.el5.noarch
Installing python-urlgrabber-3.9.1-9.100.3.el5.noarch
Installing pykickstart-0.43.8-1.100.12.el5.noarch
Installing redhat-lsb-3.1-12.3.100.1.EL.x86_64
Installing python-iniparse-0.2.3-4.el5.noarch
Installing p2v-util-0.10-8.x86_64
Installing osc-oracle-generic-1.1.0-74.el5.noarch
Installing osc-plugin-manager-devel-1.2.8-26.el5.noarch
Installing xen-4.1.3-25.el5.x86_64
Installing bfa-firmware-3.0.2.2-1.el5.noarch
Installing ovm-consoled-0.1-11.noarch
Installing sos-1.7-9.49.100.1.el5.noarch
Installing python-paramiko-1.7.2-1.0.1.rf.noarch
Installing xen-devel-4.1.3-25.el5.x86_64
Installing pypxeboot-0.0.2-11.noarch
Installing pexpect-2.3-3.el5.noarch
Installing ovs-python-uuid-1.2.6-7.el5.noarch
Installing vmpinfo3-sosreport-1.0.0-6.el5.noarch
Installing xenpvboot-0.1-8.el5.noarch
Installing ntp-4.2.2p1-9.100.1.el5_4.1.x86_64
Installing fipscheck-lib-1.2.0-1.el5.x86_64
Installing rpm-4.4.2.3-20.el5_5.1.x86_64
Installing dbus-libs-1.1.2-14.el5.x86_64
Installing rpm-libs-4.4.2.3-20.el5_5.1.x86_64
Installing openssh-4.3p2-41.el5_5.1.x86_64
Installing dbus-1.1.2-14.el5.x86_64
Installing dmraid-1.0.0.rc13-63.el5.x86_64
Installing 1:net-snmp-5.3.2.2-17.0.1.el5_8.1.x86_64
Installing 1:net-snmp-utils-5.3.2.2-17.0.1.el5_8.1.x86_64
Installing rpm-python-4.4.2.3-20.el5_5.1.x86_64
Installing dbus-glib-0.73-10.el5_5.x86_64
Installing fipscheck-1.2.0-1.el5.x86_64
Installing dmraid-events-1.0.0.rc13-63.el5.x86_64
Installing openssh-clients-4.3p2-41.el5_5.1.x86_64
Installing openssh-server-4.3p2-41.el5_5.1.x86_64
Installing policycoreutils-1.33.12-14.8.el5.x86_64
Installing yum-3.2.22-39.0.2.el5.noarch
Installing mkinitrd-5.1.19.6-71.100.1.el5_7.5.x86_64
Installing module-init-tools-3.3-0.pre3.1.60.el5.x86_64
Installing ocfs2-tools-1.8.2-4.el5.x86_64
Installing kernel-uek-2.6.39-300.22.2.el5uek.x86_64
Installing kmod-openvswitch-uek-1.6.90-2.x86_64
Installing openvswitch-1.6.90-7.x86_64
Installing hwdata-0.213.22-1.el5.noarch
Installing pciutils-3.1.7-5.el5.x86_64
Installing 1:nfs-utils-1.0.9-47.el5_5.x86_64
Installing ovs-release-3.2-5.208.x86_64
Installing osc-oracle-ocfs2-0.1.0-38.el5.noarch
Installing hal-0.5.8.1-59.el5.x86_64
Installing pm-utils-0.99.3-10.el5.x86_64

Oracle VM install.log.syslog File

The next example shows an Oracle VM 3.2.2 install.log.syslog file.
 
<86>Feb  2 16:12:52 groupadd[947]: new group: name=audio, GID=63
<86>Feb  2 16:12:55 groupadd[967]: new group: name=floppy, GID=19
<86>Feb  2 16:12:56 useradd[971]: new group: name=vcsa, GID=69
<86>Feb  2 16:12:56 useradd[971]: new user: name=vcsa, UID=69, GID=69, home=/dev, shell=/sbin/nologin
<86>Feb  2 16:12:59 groupadd[992]: new group: name=utmp, GID=22
<86>Feb  2 16:13:02 groupadd[1030]: new group: name=rpc, GID=32
<86>Feb  2 16:13:04 useradd[1034]: new user: name=rpc, UID=32, GID=32, home=/, shell=/sbin/nologin
<86>Feb  2 16:13:06 groupadd[1059]: new group: name=pcap, GID=77
<86>Feb  2 16:13:09 useradd[1063]: new user: name=pcap, UID=77, GID=77, home=/var/arpwatch, shell=/sbin/nologin
<86>Feb  2 16:13:14 groupadd[1088]: new group: name=ntp, GID=38
<86>Feb  2 16:13:15 useradd[1092]: new user: name=ntp, UID=38, GID=38, home=/etc/ntp, shell=/sbin/nologin
<86>Feb  2 16:13:18 useradd[1105]: new group: name=dbus, GID=81
<86>Feb  2 16:13:18 useradd[1105]: new user: name=dbus, UID=81, GID=81, home=/, shell=/sbin/nologin
<86>Feb  2 16:13:20 useradd[1120]: new group: name=sshd, GID=74
<86>Feb  2 16:13:20 useradd[1120]: new user: name=sshd, UID=74, GID=74, home=/var/empty/sshd, shell=/sbin/nologin
<86>Feb  2 16:13:47 useradd[3248]: new group: name=rpcuser, GID=29
<86>Feb  2 16:13:47 useradd[3248]: new user: name=rpcuser, UID=29, GID=29, home=/var/lib/nfs, shell=/sbin/nologin
<86>Feb  2 16:13:48 useradd[3256]: new group: name=nfsnobody, GID=4294967294
<86>Feb  2 16:13:48 useradd[3256]: new user: name=nfsnobody, UID=4294967294, GID=4294967294, home=/var/lib/nfs, shell=/sbin/nologin
<86>Feb  2 16:13:48 useradd[3274]: new group: name=haldaemon, GID=68
<86>Feb  2 16:13:48 useradd[3274]: new user: name=haldaemon, UID=68, GID=68, home=/, shell=/sbin/nologin
 

Oracle VM anaconda-ks.cfg File

The next example shows an Oracle VM 3.2.2 an anaconda-ks.cfg file.
 
# Kickstart file automatically generated by anaconda.
 
install
eula Accepted
cdrom
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto static --ip 192.168.30.104 --netmask 255.255.255.0 --gateway 192.168.30.254 --nameserver 192.168.30.10, 192.168.30.11 --hostname myserver
ovsagent --iscrypted xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ovsmgmntif eth0.3
rootpw --iscrypted xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
firewall --enabled --port=21:tcp --port=22:tcp --port=53:udp --port=53:tcp --port=80:tcp --port=2049:tcp --port=5900-7999:tcp --port=8002:tcp --port=8003:tcp --port=8899:tcp --port=7777:tcp
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc America/Los_Angeles
bootloader --location=mbr --dom0_mem=840 --driveorder=sda
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all --drives=sda
#part /boot --fstype ext3 --size=100 --ondisk=sda
#part / --fstype ext3 --size=3072 --grow
#part swap --size=1024 --ondisk=sda
 
%packages
@base
@core
@ovs-virtualization
view counter