How to Install Oracle VM Manager 3.2.x Under Dom0 Hosts

Posted in: Technical Track

Some of you know that I have published an article explaining how to install Oracle VM Manager (OVMM) on a Dom0 host after Oracle’s release of Oracle VM 3. I have described why you may want to do it in my very first post. I just want to mention here that it should be used for sandbox configurations only. You can find the previous post on how to install 3.1.1 OVMM version under Dom0 here. This time I talk about 3.2.2 version.

NOTE: At the time of writing ORACLE VM 3.2.3 SERVER (Patch 16410428) and ORACLE VM 3.2.3 MANAGER (Patch 16410417) became available. I didn’t have the time to install the latest versions yet. However, I do not expect their installation to be significantly different from the versions I have used for this blog post. I will update this blog post if I find that there is something else you need to know in order to install the latest versions. Please feel free to ask questions or provide your hints in the comment section below.

MySQL repository

There is one significant difference between the OVMM 3.2.x version’s technology stack and 3.1.x version’s. Starting from 3.2 version Oracle, use a MySQL database instead of Oracle Express database for an OVMM repository by default. It made it easier to install OVMM under Dom0 host than before. However, there are still a few things you need to know in order to get it working. This is how you do it.

Pre-install steps

  • Install Oracle VM server release 3.2.2 (or latest OVS version available)
    • Most answers to the installation questions are obvious and simple.
    • This time, we don’t need to customize swap size like we did before.
    • Note that it will make your life much easier if you configure OVS network with an Internet access right from the beginning.
  • After you got OVS up and running change /etc/redhat-release file.
    • This will make the OVMM installation work (MySQL is part of it).
cp -rp /etc/redhat-release ~/redhat-release.orig
echo "Red Hat Enterprise Linux Server release 5.5 (Tikanga)" > /etc/redhat-release
  • Configure Oracle Public Yum repository.
    • Use “Oracle Linux 5” version.
  • Install additional RPMs.
yum install xz-devel
yum install zip

Installation steps

  •  Install OVMM 3.2.1 (or latest release available).
    • Copy the installation ISO file to the OVS file system.
    • Mount it as virtual CDROM.
    • Use “runInstaller.sh -n” to ignore some other prerequisites.
mount -o loop /u01/SOFTWARE/OracleVM-Manager-3.2.1-installer-OracleLinux.iso /mnt/cdrom
/mnt/cdrom/runInstaller.sh -n
  •  Upgrade OVMM to 3.2.2 version (or latest version available).
    • Patch 16410417: ORACLE VM 3.2.2 MANAGER UPGRADE ISO RELEASE.
    • Follow the readme instructions.
    • Put an ISO file on an OVS filesystem, and mount it the same way as in the previous step.
    • Install the update (Two steps must be executed, see README.txt for the details).

Post-install steps

  • Change /etc/redhat-release back.
cp -rp /etc/redhat-release.orig ~/redhat-release

At this stage, you are ready to access Oracle VM Manager Web interface.

Enjoy,

Yury
View Yury Velikanov's profile on LinkedIn

email
Want to talk with an expert? Schedule a call with our team to get the conversation started.

About the Author

Yury is a nice person who enjoys meeting and working with people on challenging projects in the Oracle space. He started to work as an Oracle DBA 14 years ago (1997). For the past 10 years (since 2001) his main area of expertise is Oracle e-Business Suite. Yury is an OCP 7,8,9,10g and OCM 9i,10g. He is a frequent presenter at Oracle related conferences such as Hotsos, UKOUG and AUOUG. Yury is a socially active person. Apart from Social Media (Twitter, Bloging, Facebook) he is the primary organizer of Sydney Oracle Meetup group (250 people). So if you happen to be in Sydney (Australia) drop Yury a message and stop by at one of his Meetups.

12 Comments. Leave new

The create user “oracle” step is missed:
/mnt/cdrom/createOracle.sh
Really good article.

Reply

And the last step should like:
cp -rp ~/redhat-release.orig /etc/redhat-release

Reply

change the memory for Dom0 to around 1600M is a must if you’re installing in a server that has 8GB RAM ( my case).

Reply

I installed successfull. I use TightVNC to remote VM Machine. But sometime, the VM Manager console down when I’m using the VNC.
PS: I also installed package: tightvnc-java-1.3.9-3.noarch.rpm

Reply

Hi,Yury.
thanks for this wonderful article.
I did every step you did but sometimes the manager just stop working and there’s no error on the AdminServer.log. I already installed the tightvnc-java-1.3.9-3.noarch.rpm package.
Hope you can help.

German P.

Reply
Yury Velikanov
August 21, 2013 9:51 pm

Hello German P.,

Thanks for the feedback.
I seen OVMM issue myself. Some other folks reported it too. I am not sure what is the root cause of the issue. But the quick/dirty solution is to restart the OVMM:
service ovmm stop
service ovmm start

If you find the root cause please let me know.

Yury

Reply

Hello Yury,
I don’t have any clue for this to happen. So, I installed the OVM Manager qith thye uuid option on another machine. Now It works Ok.!!

German P.

Reply

I have followed your steps, for some reason I am getting issue for latest ovm 3.2.7,

Step 8 of 9 : Deploy …
Deploying Oracle VM Manager Core container …
Deploying Oracle VM Manager UI Console …
Failed to install Failed to execute ant target ‘-propertyfile /u01/app/oracle/ovm-manager-3/weblogic/ovm_console.properties deploy’ of ‘/u01/app/oracle/ovm-manager-3/weblogic/build.xml’
CLASSPATH=/u01/app/oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/oracle/java/lib/tools.jar:/u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/u01/app/oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/u01/app/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u01/app/oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u01/app/oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:

PATH=/u01/app/oracle/Middleware/wlserver_10.3/server/bin:/u01/app/oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/u01/app/oracle/java/jre/bin:/u01/app/oracle/java/bin:/u01/app/oracle/java/bin:/u01/app/oracle/java/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

Any hint is appreciated!

– Tan

Reply

I’m installing 3.2.8 by following your article, I’ve to tweak the database.py to skip the isOELVersion checking in order to install the MySQL. Otherwise it will just stop at the “Retrieving MySQL Database 5.5 …” there.

Reply

How did your 3.2.8 ovmm and server install go? were there any tweaks?
Also do we know how to rediscover the repositories used in old version if we reinstall all from scratch.

Reply

I am not able to access the VM console UI from another machine. Can you please let me know how to do it. I am able to ping to the server as well do an ssh to it…

Reply

i got problem when install oracle vm manager… please help?

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *