Contents
Introduction .................................................................................................................. ............................................................................................................................................. ........................... 2 Downloading Oracle VM 3.4................................................................... 3.4.................................................................................................................... ................................................. 2 Installation of O racle VM 3.2 Server ....................................................................................................... ....................................................................................................... 5 Network Setup................................................................. ....................................................................................................................................... ........................................................................ .. 8 Installation of O racle VM Manager 3.2 ................................................................................................. ................................................................................................. 15 Storage Connection and Attachment Tips ............................................................................................ 19 Links ....................................................................................................................................................... ....................................................................................................................................................... 20
Bare minimum screenshots are used, that means just the required screenshot was taken to keep the article short Step by step installation process to install VMware Oracle VM 3.2 Server/Hypervisor on Oracle Virtual Box 5 (Oracle VM 3.4 is the latest) You need to have a minimum of 10 GB RAM, 50 to 100 GB disk space, 4 or more CPUs of a minimum speed of 2 Ghz to play around (Installing Oracle VM Server and creating 2 or 3 Servers only) Note: Even with a memory of 2 GB plus you can install Oracle VM 3.2 Server, but you can’t install virtual machines on top of Oracle VM Server some 5 plus Gb Note: Oracle VM Manager needs some more memory. The recommended is some RAM, which installs MySQL database, Weblogic etc. This Hypervisor is actually a bare metal installation. In case you do not have separate dedicated machine, and want to explore then follow the steps (install Oracle Virtual Box on your PC) This article uses the Oracle Virtual Box Network for assigning Static IP and playing around to get an overview of Oracle VM Server and Oracle VM Manger environment
Downloading the Oracle VM 3 related products on Oracle. In this c ase the Oracle VM 3.4 is shown below
You can safely ignore Agent for SPARC, but you can install it Note: During the download, the Oracle VM Server ISO will be downloaded with Vxxxxx, which can cause confusion which is what. So, do have a check on this. In my case I simply added OracleVM-3.4-Server to the end of the ISO for clarity , as, “Vxxxx-OracleVMServer-3.4 “and saved the ISO
The Drivers for Windows is to not 3.4. It says we got to install a patch (see the following screenshot)
On the Oracle Website you can do cross check for the latest version, release and update (Click on OTN and navigate)
Screenshot for Windows Drivers. If you do not have a MOS account, you can’t download it
Note: At the time of writing this article I have Oracle VM3.2 downloaded already, and I did not download the 3.4 (It’s not bad to check both releases)
Creating a virtual machine on Virtual box, below are the settings performed by me
Creating some test virtual machines on top of Oracle VM Server requires some good amount of memory In my case 10 GB RAM was allocated ( Note: Even with a memory of 2 GB plus you can install, but you can’t install virtual mac hines on top of Oracle VM Server)
Leave the default size, as it is of type “Dynamically allocated” (Note: you will get error if you allocate less disk space because Swap size etc. will be allocated by Installer)
It is optional, but do allocate enough graphic memory, say between 16 – 32 MB Memory
This is an Oracle VM 3.2 ISO
The next one is the network card / adapter setting
Expand “Advanced” and select as below
The default will be a “Desktop “ Desktop type”, and selecting a ne twork card of Server (T Server) avoids
a warning during installation
Save all the above settings by clicking on “OK” and Start the VM on Oracle Virtual Box
Press “Enter” key to start the installation
Do not forget to click on “skip”. If you press “OK” it will take more time
This disk does not have any previous data, so it is safe to select “remove all partitions etc.”
We allocated 8 GB hard disk so it is c ompletely allocated to Oracle VM Server / Hypervisor
Just press “TAB” key and press “OK”
Note: This
The previous one was with a 192.168.56.101 IP address
is my second Oracle VM 3.2 Server so I assigned 192.168.56.102
In my case, this time zone was selected as shown above
Type the password and press the “TAB” key to jump to the second row Note: That
was for the Oracle VM Agent. Because this is a test system, you can assign the same password to the Agent and Root. Below is the Root password
Press ALT+F2 key to get the CLI Interface
Enter the “root” password to login. You can verify what was installed
You can use the “INIT 0“ command to shut down the VM Server
Oracle VM Manager is installed on an OS and it is supported, as of release 3.2, only on Linux derivatives In my case I used the Oracle 6.4 and there were some packages installed that upgraded to 6.5, those normally used for an Oracle database installation On the below links you can see what packages were installed
https://oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-6 https://oracle-base.com/articles/linux/oracle-linux-6-installation
Attach the ISO disk to the OS and navigate to media or CDROM that you have set up for mounting Media devices. In my case it was a default directory
The document says to run the “runinstaller.sh” to install Oracle VM Manager, which throws an error actually Do not run the “runinstaller.sh”, but run the “createOracle.sh” first which will set up the
environment for Oracle VM Manager.
Check the “limits.conf” to be confirmed
Now run the “runinstaller.sh” file
With “select 1” we get the MySQL Database installed and configured, and it is confirmed that
it can be used for production environment too !
The password should be:
For example: Password12
That’s all you need to do. Installation begins and ends with installation summary, as shown
below
Open a Web browser and Log in
Right click on “Server Pools” for faster access
Some of the points to be noted before creating virtual machines, as we are ready to explore the Oracle VM environment : 1. This article is only about the installation, but we got to know how to attach disks to this Oracle VM server or external storage server to store virtual machines 2. There are several ways and methods to attach storage, but the important thing is Oracle VM server should make those disks available to us all the time as long as it is running or after a restart 3. I wrote another article on "Openfiler ", which can be considered as storage server for exploring ESXi if you prefer to make use of storage server for your practise 4. If 'Openfiler' is not used then the Oracle Virtual Box should used to create disks and attach those disks to the Oracle VM server (There exists the option to assign a new disk controller for SCSI, iSCS i too), but the initial testing should be to check those attached disks are available even after a reboot of Oracle VM server
5. Many experts had indeed provided articles about UDEV rules etc for such issues, one of the link from an Oracle expert is noteworthy https://oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux Also see the section "Create Shared Disks" Di sks" on the below link https://oracle-base.com/articles/11g/oracle-db-11gr2-rac-installation-on-oracle-linux-6-usingvirtualbox#create_shared_disks
https://oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-6 https://oracle-base.com/articles/linux/oracle-linux-6-installation Oracle VM 3.2 Documentation https://docs.oracle.com/cd/E35328_01/ Oracle 3.4 documentation is not completely similar to 3.2. You got to refer Oracle 3.4 VM documentation if you work with 3.4
Note:
Below is Oracle 3.4 VM documentation:
http://docs.oracle.com/cd/E64076_01/