Oracle VM Manager v3.1.1 Install


Download Media
Download Oracle VM Manager 3.1.1 from http://edelivery.oracle.com/oraclevm
Installed into nfs/Oracle Linux/Oracle VM 3.1.1 Media Pack for x86_64/V32478-01.iso
Mount Media
We have an NFS mount which holds our media.  Mount the iso image file into a folder (/mnt) with the following command.  Note: Brackets “around the sting ” must be used as there is spaces in the directory names.
# mount -o loop "/nfs/Oracle Linux/Oracle VM 3.1.1 Media Pack for x86_64/V32480-01.iso" /mnt
# CD /mnt
# ls
EULA        eula.py  images    RPM-GPG-KEY         Server       TRANS.TBL
eula.en_US  GPL      isolinux  RPM-GPG-KEY-oracle  supportinfo
Prepare Machine for Installation
Oracle VM Manager includes a script which does most of the dirty work for us… This will create the users/groups, folders, and iptables rules needed by OVM. If you are going to be using an external firewall, then these are the ports you will need to open on your firewall (bold denotes client to management server communications – remainder are management server to hypervisor).
The script adds the following:
# ./createOracle.sh
Adding group 'oinstall' with gid '54321' ...
Adding group 'dba'
Adding user 'oracle' with user id '54321', initial login group 'dba', supplementary group 'oinstall' and  home directory '/home/oracle' ...
Changing ownership of '/home/oracle' to oracle:dba
Creating user 'oracle' succeeded ...
Verifying user 'oracle' OS prerequisites for Oracle VM Manager ...
oracle  soft    nofile          8192
oracle  hard    nofile          8192
oracle  soft    nproc           4096
oracle  hard    nproc           4096
oracle  soft    core            unlimited
oracle  hard    core            unlimited
Setting  user 'oracle' OS limits for Oracle VM Manager ...
Altered file /etc/security/limits.conf
Original file backed up at /etc/security/limits.conf.orabackup
Verifying & setting of user limits succeeded ...
Modifying iptables for OVM
Adding rules to enable access to:
7001  : Oracle VM Manager http
7002  : Oracle VM Manager https
15901 : Oracle VM Manager VM console proxy
54321 : Oracle VM Manager core
54322 : Oracle VM Manager core via SSL
123 : NTP
Saving firewall rules to /etc/sysconfig/iptables:          [  OK  ]
Rules added.
The documentation mentions libaio, bc, and unzip as prerequsites. My install already included this, so installing them was redundant.
# yum install libaio bc unzip
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Package libaio-0.3.106-5.x86_64 already installed and latest version
Package libaio-0.3.106-5.i386 already installed and latest version
Package bc-1.06-21.x86_64 already installed and latest version
Package unzip-5.52-3.0.1.el5.x86_64 already installed and latest version
Nothing to do.
Install the Oracle VM Manager Software
Here we simply execute the installer script and follow the prompts. Notice the first prompt asks us the installation type. I am using Demo, this will install the XE database, and configure OVM Manager to use that. This is not a support configuration. If you plan on using this stack in production you will need to install using option two, which will not install a database but rather will require that you connect to a pre-created database, on either the local or a remote server.
# ./runInstaller.sh –n
Note: -n takes away the issue of having enough RAM memory

Oracle VM Manager Release 3.1.1 Installer

Oracle VM Manager Installer log file:
/tmp/install-2012-05-09-162921.log
Please select an installation type:
1: Demo
2: Production
3: Uninstall
4: Help

Select Number (1-4): 2
Enter the following questions:
Enter the Oracle Database hostname [localhost]: <enter>
Enter the Oracle Database System ID (SID) [XE]: <enter>
Enter the Oracle Database SYSTEM password: Fal27con
Enter the Oracle Database listener port [1521]:<enter>
Enter the Oracle VM Manager database schema [ovs]:<enter>
Enter the Oracle VM Manager database schema password: Fal27con

Note: Passwords need to be between 8 and 16 characters in length.
Passwords must contain at least 1 lower case and 1 upper case letter.
Passwords must contain at least 1 numeric value.
Enter the Oracle VM Manager database schema password (confirm): Fal27con
Oracle Weblogic Server 11g
Enter the Oracle WebLogic Server 11g user [weblogic]:<enter>
Enter the Oracle WebLogic Server 11g user password:Fal27con
Enter the Oracle WebLogic Server 11g user password (confirm):Fal27con
Oracle VM Manager application
Enter the username for the Oracle VM Manager administration user [admin]:<enter>
Enter the admin user password: Fal27con
Enter the admin user password (confirm): Fal27con
Starting production installation ...
Just some warnings about the XE database. If you are installing this for production, make sure you heed this warning.
The Demo installation type will use an XE database.  The usage of XE is for *demo purposes only* and is not supported for production. Please *do not* plan to start with XE and migrate to a supported version of the database as this may not be possible. For production environments or any long term usage please use the "Production" option with an SE or EE database.
1: Continue
2: Abort

Select Number (1-2): 1
Now we are going to enter the password to be used for all purposes. You must have a password with only alpha-numeric characters, no special characters here, you also must have both upper and lower case, with a length of 8.
Verifying installation prerequisites ...

One password is used for all users created and used during the installation.
Enter a password for all logins used during the installation: <enter password here>
Enter a password for all logins used during the installation (confirm): <re-enter password here>
Now that we are ready to begin, this is your last chance to back out.
Verifying configuration ...

Start installing the configured components:
1: Continue
2: Abort

Select Number (1-2): 1
Beginning the installation, now we just wait.
Step 1 of 9 : Database ...
Installing Database ...
Retrieving Oracle Database 11g XE ...
Installing Oracle Database 11g XE ...
Configuring Oracle Database 11g XE ...

Step 2 of 9 : Java ...
Installing Java ...
I ran into a problem here. I used a password which I believe met all of the requirements, 1 upper-case, 1 number, 8 lower-case, no special characters. However the install failed here with a failed authentication error. I suspected this had something to do with differing password requirements for various components. I tried re-running the installation with a 8 digit password, that met the requirements, but it was having a problem since the Database and Java were already installed. I got around this by choosing the uninstall option when first executing the install script. Then the subsequent run with the 8 digit-only password worked an example of a password which meets the requirements would be Gpdf5098.
Step 3 of 9 : Database Schema ...
Creating database schema 'ovs' ...

Step 4 of 9 : WebLogic ...
Retrieving Oracle WebLogic Server 11g ...
Installing Oracle WebLogic Server 11g ...

Step 5 of 9 : ADF ...
Retrieving Oracle Application Development Framework (ADF) ...
Unzipping Oracle ADF ...
Installing Oracle ADF ...
Installing Oracle ADF Patch...

Step 6 of 9 : Oracle VM  ...
Retrieving Oracle VM Manager Application ...
Extracting Oracle VM Manager Application ...
Installing Oracle VM Manager Core ...

Step 7 of 9 : Domain creation ...
Creating Oracle WebLogic Server domain ...
Starting Oracle WebLogic Server 11g ...
Configuring data source 'OVMDS' ...
Creating Oracle VM Manager user 'admin' ...

Step 8 of 9 : Deploy ...
Deploying Oracle VM Manager Core container ...
Deploying Oracle VM Manager UI Console ...
Deploying Oracle VM Manager Help ...
Enabling HTTPS ...
Granting ovm-admin role to user 'admin' ...

Step 9 of 9 : Oracle VM Manager Shell ...
Retrieving Oracle VM Manager Shell & API ...
Extracting Oracle VM Manager Shell & API ...
Installing Oracle VM Manager Shell & API ...

Retrieving Oracle VM Manager Upgrade tool ...
Extracting Oracle VM Manager Upgrade tool ...
Installing Oracle VM Manager Upgrade tool ...
Copying Oracle VM Manager shell to '/usr/bin/ovm_shell.sh' ...
Installing ovm_admin.sh in '/u01/app/oracle/ovm-manager-3/bin' ...
Installing ovm_upgrade.sh in '/u01/app/oracle/ovm-manager-3/bin' ...
Enabling Oracle VM Manager service ...
Shutting down Oracle VM Manager instance ...
Restarting Oracle VM Manager instance ...
Waiting 15 seconds for the application to initialize ...
Oracle VM Manager is running ...
Oracle VM Manager installed.

Please wait while WebLogic configures the applications... This can take up to 5 minutes.
Well the installation is nearly done. It is doing the last step of the installation, before giving you the information you need for accessing the GUI.
Installation Summary
--------------------
Database configuration:
Database host name          : localhost
Database instance name (SID): XE
Database listener port      : 1521
Application Express port    : 8080
Oracle VM Manager schema    : ovs

Weblogic Server configuration:
Administration username     : weblogic

Oracle VM Manager configuration:
Username                    : admin
Core management port        : 54321
UUID                        : 0004fb00000100004ac53f7c774415a7


Passwords:
There are no default passwords for any users. The passwords to use for Oracle VM Manager, Oracle Database 11g XE, and Oracle WebLogic Server have been set by you during this installation. In the case of a default install, all passwords are the same.
Oracle VM Manager UI:

http://ovmmgr.allanglesit.com:7001/ovm/console


https://ovmmgr.allanglesit.com:7002/ovm/console

Log in with the user 'admin', and the password you set during the installation.

Please note that you need to install tightvnc-java on this computer to access a virtual machine's console.

For more information about Oracle Virtualization, please visit:

http://www.oracle.com/virtualization/

Oracle VM Manager installation complete.

Please remove configuration file /tmp/ovm_configD62uIU.
So now with the completion of the install we can see that the site is available at both an http and an https site running on ports 7001 and 7002 respectively.
Now that we have laid this foundation we can start to get into some of the neat processes around using this particular stack.
ref: Oracle VM Installation and Upgrade Guide for Release 3.1.1 – http://docs.oracle.com/cd/E27300_01/E27308/E27308.pdf