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
12 Comments. Leave new
The create user “oracle” step is missed:
/mnt/cdrom/createOracle.sh
Really good article.
And the last step should like:
cp -rp ~/redhat-release.orig /etc/redhat-release
change the memory for Dom0 to around 1600M is a must if you’re installing in a server that has 8GB RAM ( my case).
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
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.
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
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.
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
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.
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.
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…
i got problem when install oracle vm manager… please help?