How do I install Oracle VM 3.2.2?

Dell PowerEdge Systems Oracle 11g R2 Database on Enterprise Linux x86_64 using Oracle VM 3.2.2
Getting Started Guide

Notes and Cautions

NOTE: A NOTE indicates important information that helps you make better use of
your computer.

CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed.

Overview

This document applies to Oracle Database 11g R2 running on Oracle VM 3.2.2.

Installation Pre-requisites

Hardware Requirements

  • Three physical servers, Two for Oracle VM Server and One Oracle VM manager.
  • Each physical server requires a minimum of 2 gigabytes (GB) of physical memory.
  • Oracle VM guest memory requirements vary for each guest operating system.
  • A monitor that supports resolution of 1024 x 768 to correctly display the Oracle Universal Installer (OUI)
  • For Dell supported hardware configurations, see the Software Deliverable List (SDL) for each Dell Validated Component at http://dell.to/PdMKlT.

Network Requirements

  • Minimum of one network interface card is required.

NOTE: It is recommended that you ensure each node contains at least three network interface cards (NICs) for Oracle installations using Oracle VM.

NOTE: In case of iSCSI storage, it is recommended to use recommended four NICs.

 

Installing Oracle VM Server

 

For more details on installing Oracle VM Server please refer to Installing Oracle VM Server

 

Installing Oracle VM Manager

  1. Oracle VM Manager uses an Oracle database as a repository. Install Oracle SE (Standard Edition) or Oracle EE (Enterprise Edition) on the intended Oracle VM Manager server.

NOTE:  Oracle XE (express edition) is not a supported product for Oracle VM Manager

Below are the supported database repositories for Oracle VM Manager:

  • Oracle Database Release 10.2.0.4 or greater
  • Oracle Database Release 11.1.0.7 or greater
  • Oracle Database Release 11.2.0.1 or greater

For more details on pre-requisites of Oracle VM Manager Installation visit the below link

http://docs.oracle.com/cd/E27300_01/E27308/html/vmiug-manager-requirements.html

  1. Install Oracle VM Manger. For more details refer Install Oracle VM Manager Software.

 

Configuring the Oracle VM Environment

Configuring an Oracle VM environment includes the following:

  • Discovering servers
  • Creating and configuring multiple networks
  •  Discovering and configuring storage
  • Creating a storage repository
  • Creating a server pool
  • Creating virtual machines.

Login to the Oracle VM Manager using the below web address format

httpSleep://hostname: port/ovm/console

For example: http://vmmanager.bdcdb.com:7001/ovm/console

Discovering Oracle VM Servers

  1. In the Oracle VM Manger console click the Servers and VMs tab.
  2. Click the Discover Servers icon in the toolbar. The Discover Servers dialog box is displayed.
  3. Enter information about the Oracle VM Server(s) to be discovered and click OK.

  • Oracle VM Agent Port: The port on which the Oracle VM Agent is listening. The default port is 8899.
  • Oracle VM Agent Password: The password to connect to the Oracle VM Agent. NOTE: The password must be the same on all Oracle VM Servers.
  • IP Addresses/DNS Hostnames: Enter the IP address (es), IP ranges or DNS hostnames of the Oracle VM Server(s) to be discovered. One can enter a list of multiple IP addresses or multiple DNS hostnames. IP ranges must be in the format 155.168.19.50-51.

The discovered Oracle VM Servers are added to the Unassigned Servers folder in the Servers and VMs tab. The displayed name of a discovered Oracle VM Server is the assigned DNS name, and not the IP address.

 

Configuring Oracle VM Network

Oracle VM has the following network functions:

  • Server Management - used to manage the Oracle VM Servers in a server pool. For example, it can be used to update the Oracle VM Agent on the different Oracle VM Servers. 
  • Cluster Heartbeat- used to verify if the Oracle VM Servers in a clustered server pool are up and running. 
  • Live Migrate- used to migrate virtual machines from one Oracle VM Server to another in a server pool without changing the status of the virtual machine. 
  • Storage- used for all storage transport within a server pool. It is used by the Oracle VM Servers to connect to Ethernet-based storage repositories and server pool file systems. 

NOTE: FC storage does not require a storage network.

  • Virtual Machine- used for the network traffic between the different virtual machines in a server pool.

 To know how to create these networks refer the wiki article:

How do I configure an Oracle VM network?

  

Discovering and Configuring Compellent Storage  

Oracle VM requires storage volumes to create - Server Pool, storage repository, VMs and Database.

NOTE: Make sure that you create at least 12GB of shared volume for each Server Pool

If you are using Compellent iSCSI storage, to discover the iSCSI SAN Storage Server refer the wiki:

How do I configure Dell Compellent iSCSI SAN Server for Oracle VM 3.1.1?

If you are using Compellent FC storage array, to discover FC SAN Storage Server refer the wiki:

How do I configure Dell Compellent Fibre Channel Storage for Oracle VM 3.1.1?

Creating Server Pool

With server pool one can perform VM management tasks, such as

  • High Availability (HA),
  • implementation of resource and power management policies,
  • access to networking,
  • storage and repositories.

To create server pool

  1. In the Oracle VM manager console, click Servers and VMs tab.
  2. Click Create Server pool from the tool bar and enter the Server pool name and virtual IP address. Select the Clustered Server Pool to enable clustering of the Oracle VM Servers within the server pool in order to enable HA.
  3. Select Physical disk in the storage for server pool and click Storage Location and select the Physical disk for the server pool and click OK
  4. Click next to add servers to the server pool.
  5. Add the available servers and click Finish.

Creating a Storage Repository and Adding Resources

A storage repository is where Oracle VM resources such as templates for virtual machine creation, virtual machine assemblies, ISO files and shared virtual disks will reside.

NOTE: A storage repository should be at least 10GB in size. In addition to this minimum size requirement, you should include enough storage space for virtual machines, templates, ISO files and other virtual machine resources.

To create storage Repository

  1. In the Oracle VM manager, click Repositories tab
  2. Click Create New Repository (plus sign icon) from the tool bar and enter the repository name and repository location. If you select physical disk as a repository location, select the appropriate server pool that the repository should reside.
  3. Click on select physical disk to search for the location. In the select physical disk window, select physical disk for repository and click Next.
  4. Click next to present the Oracle VM servers to the repository.
  5. Click Finish and new storage repository is displayed in the Repositories tab.

Importing ISO resource

Pre-requisite

Create an installation directory and copy all the operating system ISO files into the directory.

NOTE: The directory should be made available via a NFS, HTTP or FTP share.

Refer to “Virtual Machine Installation Media” for performing the NFS/ HTTP/FTP share

To import an ISO file:

  • Click the Repositories tab. Select the repository where the ISO files are stored. Select ISOs in the navigation tree. Select Import ISO... button in the toolbar in the management pane.

 

  • The Import ISO dialog box is displayed.

 

Provide the ISO location which is a HTTP/FTP share and Click OK.

The ISO file is then uploaded to the repository as shown below.

 

Creating VNICs

VNICs) can be used by the virtual machines as network cards. A VNIC can be created by defining a range of MAC addresses to use for each VM. Each MAC address corresponds with a single VNIC, which is used by a virtual machine.

To create VNICs

  1. In the Oracle VM Manager, click the Networking tab. Select the Virtual NICs sub tab
  2. In the Create VNICs tab, click AutoFill to get the next MAC address and select the number of VNICs to be created.
  3. Click create to generate the VNICs.

 

Creating Virtual Machines

Virtual machines can be created using the following methods.

  1. ISO files
  2. VM Templates
  3. Assemblies

In order to create a virtual machine using ISO files please refer to the below wiki article.

How do I create a virtual machine using an iso file for oracle vm 3.1.1?

Installing single node standalone database on the Oracle VM

  1. Launch the VM console from the OVM Manager.
  2. Please refer to the below wiki article to install the database

 How do I install a standalone oracle database?