Oracle VM Manager installation process (version 3.2.6)

The installation  of the  ovm manager (3.2.6) is pretty simple and straightforward. Theses instruction are intended for a demo usage only. Please refer to the official oracle documentation for more details: http://www.oracle.com/technetwork/server-storage/vm/documentation/index.html

Executive Summary:

  • download the ovm manager ISO file from https://edelivery.oracle.com and select Oracle Linux / VM from the top left menu
  • Install it on Oracle Linux Virtual Box (oelr5u7) for simplicity
  • Run the following scripts as a root user:
    • ./createOracle.sh
    • ./runInstaller.sh
  • Install tightvnc-java to allow interaction with the oracle VM
  • Install apache-tomcat in order to update ISO and OVM template files into the OVM repository

Technical Details:

./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 …
Creating mountpoint ‘/u01’ …
Modifying iptables for OVM
Adding rules to enable access to:
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
10000 : Oracle VM Manager CLI Tool
Saving firewall rules to /etc/sysconfig/iptables:          [  OK  ]
Rules added.

./runInstaller.sh

The following output is generated:

Oracle VM Manager Release 3.2.6 Installer

Oracle VM Manager Installer log file:
/tmp/ovm-manager-3-install-2013-10-17-085600.log

Please select an installation type:
1: Simple (includes database if necessary)
2: Custom (using existing Oracle database)
3: Uninstall
4: Help

Select Number (1-4): 1

Starting production with local database installation …

Verifying installation prerequisites …
*** WARNING: Recommended memory for the Oracle VM Manager server installation using Local MySql DB is 7680 MB RAM

One password is used for all users created and used during the installation.
Enter a password for all logins used during the installation:
Enter a password for all logins used during the installation (confirm):

Verifying configuration …

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

Select Number (1-2): 1

Step 1 of 9 : Database Software…
Installing Database Software…
Retrieving MySQL Database 5.5 …
Unzipping MySQL RPM File …
Installing MySQL 5.5 RPM package …
Configuring MySQL Database 5.5 …
Installing MySQL backup RPM package …

Step 2 of 9 : Java …
Installing Java …

Step 3 of 9 : Database schema …
Creating database ‘ovs’ …
Creating user ‘ovs’ for database ‘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 …
Granting ovm-admin role to user ‘admin’ …
Set Log Rotation …
Disabling HTTP and enabling HTTPS…
Configuring Https Identity and Trust…
Configuring Weblogic parameters…

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 …

Retrieving Oracle VM Manager CLI tool …
Extracting Oracle VM Manager CLI tool…
Installing Oracle VM Manager CLI 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 …
Starting Oracle VM Manager instance …
Waiting for the application to initialize …
Oracle VM Manager is running …

Please wait while WebLogic configures the applications… This can take up to 5 minutes.
Oracle VM Manager installed.

Installation Summary
——————–
Database configuration:
Database type               : MySQL
Database host name          : localhost
Database name               : ovs
Database listener port      : 49500
Database user               : ovs

Weblogic Server configuration:
Administration username     : weblogic

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

Passwords:
There are no default passwords for any users. The passwords to use for Oracle VM Manager, Database, 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:
https://ovmmanager326.home.fr: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_configYkV0a-.

tightvnc-java

Next Steps is to install tightvnc-java following the steps described here: https://oss.oracle.com/oraclevm/manager/RPMS/README-consolewget https://oss.oracle.com/oraclevm/manager/RPMS/tightvnc-java-1.3.9-3.noarch.rpm

rpm -ivh tightvnc-java-1.3.9-3.noarch.rpm

Install Apache Tomcat

http://tomcat.apache.org/download-60.cgi

  • change APACHE_TOMCAT_HOME\conf\web.xml and set listings=true to allow directory browsing on your file system
  • Create the following XML configuration file APACHE_TOMCAT_HOME\conf\Catalina\localhost\ovm.xml
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="FULL_PATH_TO_FOLDER_TO_BROWSE" path="/ovm" workdir="work\Catalina\localhost\ovm"> </Context>
  • run the command: APACHE_TOMCAT_HOME\bin\catalina start
Advertisements

About Chenda Mok

19 years of hands on experience in software design and development with emphasis on Enterprise Application Integration (EAI), Services Oriented Architecture (SOA) and Identity Management (IDM) solutions. I’m a software engineer, member of the professional service delivery team working for Salesforce. Prior to this, I worked for Oracle as Solution Architect, through SeeBeyond(06/2005), then SUN’s acquisition (04/2009). After my master’s degree in computer science in 1997; I always delivered consulting on architecture, design, implementation on integration’s field. I’m interested in architecture using EAI/SOA/IDM/BPM/Cloud technologies, software development and Java’s related technologies. I may blog about my work/activities at Salesforce, but I do not speak for my employer, past, present or future.
This entry was posted in Oracle manager (ovm manager). Bookmark the permalink.