Installing Oracle VM Manager 3.1.1 Under Dom0 Host

Posted in: Technical Track

This blog post will be short since installing the Oracle VM Manager 3.1.1 under Dom0 host isn’t different from installing the previous version. For all the tricks you need to use, please see my Oracle VM Manager 3.0.3 under Dom0 post.

Just to make this post look like a proper blog post :), I’ll share the commands I happened to use to increase Swap size (if you, like me, forgot to allocate 4G swap during the initial Oracle VM server installation). Oracle XE, which is installed as part of Oracle VM Manager, requires at least 2G of swap:

[[email protected] ~]# time dd if=/dev/zero of=/u01/swapfile1 bs=1024 count=1150976
1150976+0 records in
1150976+0 records out
1178599424 bytes (1.2 GB) copied, 8.8562 seconds, 133 MB/s

real    0m8.876s
user    0m0.726s
sys     0m7.595s
[[email protected] ~]# time mkswap /u01/swapfile1
Setting up swapspace version 1, size = 1178595 kB
no label, UUID=c738e9b2-5789-488d-a80b-af3e2bd71964

real    0m0.044s
user    0m0.004s
sys     0m0.036s
[[email protected] ~]#

chown root:root /u01/swapfile1
chmod 0600 /u01/swapfile1

[[email protected] ~]# chown root:root /u01/swapfile1
[[email protected] ~]# chmod 0600 /u01/swapfile1
[[email protected] ~]#

swapon /u01/swapfile1

[[email protected] ~]# swapon /u01/swapfile1

[[email protected] ~]# swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda6                               partition       1052220 0       -1
/u01/swapfile1                          file            1150972 0       -2
[[email protected] ~]#

[[email protected] ~]# cat /proc/meminfo  | grep -i swap
SwapCached:            0 kB
SwapTotal:       2203192 kB
SwapFree:        2203192 kB
[[email protected] ~]#

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.

10 Comments. Leave new

Oracle VM Manager: OVMAPI_6000E Internal Error: Connection refused Connection refused | The Pythian Blog
May 16, 2012 7:05 pm

[…] is just a quick post to share my first 3.1.1 Oracle VM Manager (OVMM) […]

Svetoslav Gyurov
May 17, 2012 10:38 am

Hi Yury,

Great job on showing how to run the Manager on Dom0. I was just searching (because I have seen you’re previous post) and found actually this one. I managed to get it working in very steps – increased the swap space during installation and modified all memory checks to return true. What happened to me was during installation of XE it failed, because of invalid listener address. It turned out that my hostname wasn’t in hosts file and that’s why it was failing.
Now everything seems to be working fine, thanks.


Yury Velikanov
May 17, 2012 7:40 pm

Hey Sve, thx for the feedback and for the /etc/hosts hint. I don’t recall hitting it myself. Not sure if I modified it or the hostname was there after OVM server installation. Just wonder if you have an error message that you faced to share with us? It may help others to google it.


Tools that make your work with Oracle VM easier | The Pythian Blog
May 17, 2012 9:41 pm

[…] completing your Oracle VM and Oracle VM Manager installation (see my previous blog posts here) you are ready to start your friendship with Oracle VM technology. However to make your life and […]


Hi Yury,

First, thanks for this helpfull blog.

I’m trying the steps you described above, but then I run into the following issue:

Step 7 of 9 : Domain creation …
Creating Oracle WebLogic Server domain …
Starting Oracle WebLogic Server 11g …
WebLogic failed to start in ‘5’ minutes

I don’t have a firewall running.
[[email protected] JP]# service iptables status
iptables: Firewall is not running.

Do you have any ideas?

Kind regards,

Yury Velikanov
October 24, 2012 12:46 am

Hello Jean-Pierre,

My first guess is you are running on a slow HW (USB HDD?) or there is insufficient memory allocated to dom0.

Try to allocate more resources. Adjust grub.conf temporarily to give Web Logic a chance to move faster ;) I would suggest 4GB (3.5G if you have 4GB in total)


Hi Yury,

Allocating more memory did the trick.

Kind regards,

Efstathios Efstathiou
March 25, 2013 10:27 am


for OVM 3.2.1 under Dom0 you additionally need to temporary modifiy your /etc/redhat-release to “Red Hat Enterprise Linux Server release 5.8 (Tikanga)” in order to get passed the mysql datbase installation stage.



Yury Velikanov
March 28, 2013 7:33 am

Hello Efstathios,

Thanks a lot for sharing the way to install OVMM 3.2.1 under Dom0. I wish I see your comment earlier :).
Just recently I have installed VMM under dom0 for Oracle VM 3.2.2 version.

I may publish instructions as a proper blog post in the future. However just t let others leverage it I posted a quick note over here:


Efstathios Efstathiou
April 8, 2013 7:22 am

Hi Yury,

I have also updated on OVM 3.2.2 this weekend plus I have moved to Manager into a VM configured as HA ressource running on my server pool:

# Rough Setup Process (assuming you have at least 2 VM Servers, not 100% acurrate for all cases)

# VM Server Tasks
1. Install Oracle VM Servers with an additional partition to Oracle VM Manager (mountpoint /u01)
2. Temporarly channge xen DomU parameters on the server you would like install the manager (=> kernel /xen.gz dom0_mem=8192M dom0_max_vcpus=2 dom0_vcpus_pin)
3. Set /etc/redhat-release a valid one like Red Hat Enterprise Linux Server release 5.8 (Tikanga) or MySQL rpm install will fail
4. Install additional rpms for daily work (i recommend nmon RHEL5 rpm and rsync 3.0.9 rpm)
5. Perform Installation with MySQL DB engine as described here (
6. Note down the Manager UUID

# VM Manager / VM CLI Tasks
6. Discover your Servers
7. Create VNIC range
8. Discover Storage
9. Create Clustered Server Pool
10. Create VM (HA enabled)
11. Install OS in the VM

# Manager VM Tasks
12. Depending, if you use RHEL5/6 or OEL5/6 install oracle-validated or oracle-rdbms-server-11gR2-preinstall
(note for RHEL you can get the source rpm from public yum and modfify for rhel, you like => replace kernel-uek with kernel)
13. Mount Oracle VM Manager ISO to the VM
14. Run
15. Run the installer specifying the -u $UUID option, so the new manager can “own” the existing servers, access the data stored in the local server’s berkley db and upload it to his MySQL instance (correct me, if I am wrong)
16. Install tightvnc / jta in the VM

# VM Server Tasks
17. Shutdown manager on VM Server
18. Uninstall Manager from VM Server

If you did everything right, you now should have the Manager running as VM, HA protected on your 2 or more VM Servers :-D




Leave a Reply

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