Friday, December 28, 2012

Building Private Cloud with Oracle VM and Enterprise Manager 12c


With the latest Oracle enterprise manager 12c Oracle can now provide the complete cloud based solutions. The products such as OPS center, latest release of Oracle VM, OS, databases, middleware, RAC, ZFS storage interact with EM 12c to provide complete cloud control solutions and/ or to simplify their management.

In this Blog I am proving step-by step approach to configure  Oracle Private cloud with Oracle VM and setup database as a service with self -provisioning feature of EM 12c. This configuration is for learning purposes only and built with minimal hardware available at home, real production systems require better hardware and network infrastructure.  I tried to utilize as much hardware as available with me at home but I had to upgrade hardware ( CPU and motherboard) for VM server.

In this setup I will be providing as much screen prints, Captured Installation videos, steps and pain points  that I discovered during installation.

Installation Process :  To know more about the details, click on the following.                                               

Part 1:            Configure NFS, FTP server, Shared storage ( Software : FreeNAS)

Part 2:            Download and Install VM Server 3.1.1 and VM manager 3.1.1.

Part 3:            Login to VM manager console and Discover VM server(s), NFS Server(s), Setup VM
                      pool, Configure disks and VM template repository location.

Part 4:            Download Linux 5.0 VM templates from Oracle and Import downloaded template
                      into VM template repository.

Part 5:            Create first virtual machine with downloaded template and login to the first virtual      
                      machine.

Part 6:            Download Virtual Box , Linux 5.0, 11gr2 and EM12c for cloud control.

Part 7:            Install Linux Release 5 and 11gR2 database on Virtual Box.

Part 8:            Install Em12c and register VM mananger into it.

Part 9:          Configure EM12c for database as service, create first 11gR2 database with self
                      service provision and login to 11gR2 database instance.

Software Links :


Software Download Link
1Free NAS 8.3.0 http://www.freenas.org/about/news/item/freenas-830-is-releasedhttps://www.freenas.org
2VM Server 3.1.1 https://edelivery.oracle.comSelect  Oracle VM/ X86 64 Bit and Oracle VM 3.1.1 Media Pack
3VM Manager 3.1.1 https://edelivery.oracle.comSelect  Oracle VM/ X86 64 Bit and Oracle VM 3.1.1 Media Pack
4Enterprise Linux Release 5 update 4 https://edelivery.oracle.comSelect Oracle Linux/ X86-64 Option
5Oracle VM templates for Enterprise Linux https://edelivery.oracle.comSelect Oracle VM templates/X86-64 bit and Oracle Linux 5 Update 4 template - PV Small x86_64 (64 bit)
6Oracle 11gR2 database https://edelivery.oracle.comSelect Oracle database/Linux x86-64 option and Select Oracle 11gR2
7Oracle Enterrprise Manager Cloud control 12c Release2(12.1.0.2) https://edelivery.oracle.comSelect Oracle Enterprise Manager/ Linux- x86 option
8Oracle Virtual Box 4.2           https://www.virtualbox.org/Virtual Box to Install Enterprise Manager 12c on Linux x86-64bit release 5

Hardware List and Cost:

Purpose
-------------------------
      
Hardware Specification
------------------------------

 Cost
-----------

VM Server
AMD Phenom-II x6 processor$154.99
MB GIGABYTE|GA-78LMT-S2 760G AM3+ R$39.99
8 GB RAM
Other Costs (Power supply etc)$75.00
Internal Hard drives
   - 80 GB SATA for OS and VM Software     
   - 1 TB for VM repository$60.00
VM Manager
Old HP Laptop - Intel Centrino
4 GB RAM, 80 GB Internal disk
FreeNAS NFS -
Server   
Old Dell PC - Pentium 4
1 GB RAM
2 GB USB drive for FREE NAS OS
1-80 GB Drive for VM pool disk
1-250 External drive for FTP$49.00
Enterprise Manager(Em12c)
Em12c on Laptop and Virtual Box
4GB RAM allocated to vbox$28.00

Total Cost :

$406.98


Architecture: -

The following architecture is for learning only and built with minimal hardware. This should not be use for production/test systems.