In The Trenches: Oracle VM Server
In this post, we will cover some basics about Oracle VM and also show you how to set up a your own lab environment installing Oracle VM Manager and Oracle VM Server which are both free downloads.
This article will hopefully help you get started with Oracle VM, create an Oracle VM Server, register storage, set up networking, configure a storage repository, importing resources into it, creating a server pool, and creating virtual machines. In this example, our topology consists of 2 Physical hosts which will be configured with the Oracle VM server, and 1 hyper-v virtual machine where we will configure the Oracle VM Manager application. Once we have installed these components, we will create virtual machines by loading ISO images from our software repository.
Oracle VM is Oracle’s server virtualization and management solution for x86/x86-64 platforms. The components of Oracle VM are Oracle VM Manager and Oracle VM Server. Oracle VM is similar to VMWare in that allows a physical server to be partitioned into several virtual servers. Each virtual machine looks like an independent system with its own virtual CPUs, network interfaces, storage and operating system.
* Oracle VM Manager: Provides the web based user interface to manage Server Pools, Oracle VM Servers, virtual machines, and resources. Oracle VM Manager not only provides life cycle management of virtual machines such as creating and configuring guest VMs, but also performs advanced functionality to load balance across resource pools and automatically reduce or eliminate outages associated with server downtime.
* Oracle VM Server: A self-contained virtualization environment designed to provide a lightweight, secure, server-based platform for running virtual machines. Oracle VM Server is based on open source technology (Xen hypervisor for example) tailored by Oracle, and includes Oracle VM Agent to communicate with Oracle VM Manager for management of virtual machines. Oracle VM Server is installed on bare metal server hardware.
After downloading Oracle VM server, Oracle Linux 5.8, and Oracle VM Manager ISO images, you will want to create 1 virtual machine for the Oracle VM manager instance.
Our VM was configured with a 20 GB boot disk, 2 GB RAM, a 2 core vCPU, and a NIC on the NAT virtual network switch, as opposed to the Host-only network.
The Oracle VM Servers will be installed on 2 physical host machines.
We installed Oracle Linux 5.8 on the VM. If you use the installation media, upon power on, the VM booted from the installation media, and you should be able to install Oracle Linux 5.8 server. Next, mount the Oracle VM Manager install CD on the virtual machines CD-ROM to install the Oracle VM manager.
The next step is to configure the Linux 5.8 server to be an NFS server. We added three additional disks to the VM – 15 GB, 32 GB, and 64 GB virtual disks. We used the 15 GB virtual disk for the /ovm3/mypool1/poolfs file system, used for Oracle VM server pool cluster resources. We created the /ovm3/osimages using the 32 GB virtual disk to store virtual machine guest install media. Lastly, with the 64 GB virtual disk, we created the /ovm3/mypool1/repofs1 for the Oracle VM Manager to use as a repository for uploaded ISOs, Assemblies, templates, virtual disks, and virtual machines. Once the file systems are ready, export these file systems for use in the environment.
Using a browser on a laptop, we were able to login to my demonstration environment, https://192.168.98.245:7002/ovm/console/faces/login.jspx.
On the storage tab, configure your storage pools.
Next, create the Network pool.
Then, create a repository.
Lastly, create the Server pool.
Next, you can try to create a VM in this environment. For example, you can upload an Oracle RedHat Linux install ISO from the Oracle VM Manager via NFS (leveraging the NFS server you created).
Then create a VM.
Oracle VM (based on Xen) is an up-and-coming alternative to the other major Hypervisors in the marketplace (VMWare and Hyper-V). Our group has been involved in a number of engagements leveraging Oracle VM, and we are becoming big fans. Setting up a lab is a good way to dip your toe in the water and quickly get some exposure to this technology.