Thursday, January 10, 2013

How to setup Oracle VM 3.1.1 Demo Env on Oracle VirtualBox

In this post, we will setup OVM Manager 3.1.1 and OVM Server on virtual box.

OVM Manager:
OVM Server:

And then we will discover ovm server, storage, create network, vnics, server pool and repository.

1. Install OVM Manager

Create Virtual Machine on virtualbox
Install Linux
Install OVM Manager
Refer to Oracle Document:

Regarding the network of virtualbox, you can choose Host-Only or Bridge.

Since in my demo env, OVM Manager virtual machine and OVM Server virtual machine will run on different physical box, so I choose Bridge type.

VirtualBox Configuration:

Or the simplest way is to download VirtualBox Templates for Oracle VM 3.1 from Oracle Website:

2. Install OVM Server

Create Virtual Machine on Virtualbox
Install OVM Server
Refer to Oracle Document:

VirtualBox Configuration:

Now we have 2 virtual machines, one for OVM Manager and one for OVM server.

It's time to config OVM Demo Platform on Oracle VirtualBox now.
Since it's a demo env, we will keep the configuration as simple as possible. For example: using nfs for repository and server pool heart beat, using same network for management and virtual machine...
Lets start to configure it!!!

3. Discover Oracle VM Servers

Click discover server button, marked with red color

Fill agent password and server ip address, click OK button.

The Oracle VM Servers are discovered and added to the Unassigned Servers folder in the Servers and VMs tab.

4. Discover Storage

In this demo, to keep it simple, we are using NFS storage.
These NFS storage are virtual disks attached to virtual machine of ovm manager 3.1.1

Click Storage Tab and Click Discover File Sever button

Fill Server Name, IP Address and then click Next button

Select Servers and Click Next button

Select File Systems for VM and click Finish button

File Server has been discovered successfully

5. Create Virtual Machine Network
Since we are using NFS-based storage, we only need create a network with Virtual Machine role. this can be assigned to the existing management network or a new network.

To keep it simple in this demo env, we will use existing management network instead of new network to be created.

Edit existing network

Select Virtual Machine and Click Next Button

Select Servers and Click Next button

Select Ports and Click Next Button

Click Next button and then Click Finish button

6. Create VNICs

Under Network Tab, Click Virtual NICs and then Click AutoFill button and Create Button

The created results VNICs are shown in the OVMM console

7. Create Server Pool

Click Create Server Pool Button from Toolbar

Enter Sever Pool information and Click Next to Create Server Pool

Add Servers to the Server Pool and Click Finish Button

Now Server Pool RubiconredServerPool01 is created and ovmsrv1 has been added to the server pool successfully.

8. Create Repository

Under Repositories tab, Click Create New Repository button

Fill the Wizard, select Network File System to create repository

Repository is created properly now.

Now you are able to create new virtual machine in this demo env.
Have fun.

1 comment:

  1. Its really good to found this post about Oracle vm server installation post, quit helpful for us so thanks for sharing it.