Running Oracle VM without Oracle VM Manager

Want a super-current Xen box – with vendor supported RHEL kernel plus 3.4.x xen that fits into less than a gig diskspace?

Welcome to Oracle VM.

Now, want Oracle VM without the manager because you just need a very good dom0 box?

Welcome to this short howto.

Do a USB install of oracle VM as you normally would.

From what I’ve seen it mostly differs in not creating the ocfs2 filesystem for /OVS, which we wouldn’t need anyway, also there won’t be the directory /etc/ovs/repositories.

cd /boot/grub

cp -p grub.conf grub.conf.$$

edit grub.conf – change the dom0 memory usage to something lower than the default. for me, on a 8GB box the default was 666MB, on a 2GB box it was 542MB. I suggest you add a small swap device and go down to 128 or 256MB, depending on how much ram you have. the only memory hog in the dom0 is the python utilities for xen.

[root@davex0001 grub]# chkconfig --list | grep ovs
ovs-agent       0:off   1:off   2:on    3:on    4:on    5:on    6:off
ovsrepositories 0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@davex0001 grub]# service ovs-agent stop ; service ovsrepositories stop
OVSAgentServer shutdown...
OVSAgentServer stopped.
/etc/ovs/repositories does not exist
Stopping OVS Storage Repository Mounter...
/etc/init.d/ovsrepositories: line 159: /etc/ovs/repositories: No such file or directory
/etc/init.d/ovsrepositories: line 159: /etc/ovs/repositories: No such file or directory
OVS Storage Repository Mounter Shutdown:                   [  OK  ]
[root@davex0001 grub]# chkconfig ovs-agent off ; chkconfig ovsrepositories off

disable all nfs / rpc and other network services

[root@davex0001 grub]# for srv in nfslock rpcgssd rpcidmapd portmap rhnsd avahi-daemon  ; do chkconfig $srv off ;done

I also disabled ocfs2/o2cb as i’ll normally use glusterfs for my networked storage

add oracle enterprise yum repo

cd /etc/yum.repos.d


after this file exists you can either enable the version 5 update 4 repo in the file, or enable it per single install you do with

yum –enablerepo=el5_u4_base

This is just a matter of taste, considering that your system is still a dom0 that shouldn’t see many sw installs.

yum --enablerepo=el5_u4_base install net-snmp
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package net-snmp.i386 1: set to be updated
--> Processing Dependency: net-snmp-libs = 1: for package: net-snmp
--> Running transaction check
---> Package net-snmp-libs.i386 1: set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

 Package             Arch       Version                 Repository         Size
 net-snmp            i386       1:         el5_u4_base       712 k
 net-snmp-libs       i386       1:         el5_u4_base       1.3 M

Transaction Summary
Install      0 Package(s)
Update       2 Package(s)
Remove       0 Package(s)

Total download size: 2.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): net-snmp-                   | 712 kB     00:14
(2/2): net-snmp-libs-              | 1.3 MB     00:27
Total                                            48 kB/s | 2.0 MB     00:42
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Importing GPG key 0x1E5E0159 "Oracle OSS group (Open Source Software group) <>" from
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
 Updating       : net-snmp-libs                                     [1/4]
 Updating       : net-snmp                                          [2/4]
 Cleanup        : net-snmp                                          [3/4]
 Cleanup        : net-snmp-libs                                     [4/4]

Updated: net-snmp.i386 1: net-snmp-libs.i386 1:

remove oracle vm users

close oracle vm firewall ports

disable console blanking

adding check_mk for nagios monitoring:

yum --enablerepo=el5_u4_base install xinetd

wget ''

wget ''

rpm -i check_mk-agent-1.1.0-1.noarch.rpm check_mk-agent-logwatch-1.1.0-1.noarch.rpm

Missing chapters:

dealing with security updates (for those hobbyists that can’t really afford a subscription), and also a link to the oracle subscription site because I doubt the $80 or so are too much for saving the hassle of rebuilding rpms whenever some issue comes up.

installing a test VM from

installing glusterfs (and infiniband transport in my case)

Last, put it all into a tyan case and add 24 intel x25-e SSDs (just kidding)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s