Running Oracle VM Template for DB 12c in XenServer

As many may know Oracle VM Server is based on Xen hypervisor so it’s possible to run VMs prepared for Oracle VM on other Xen based solutions like XenServer or OCP.  Main difference is management of VMs – Oracle VM is using xm, while recent XenServer is using newer xapi stack.  But paravirtualized Linux kernels can run easily on both.

Oracle is providing VM templates with many of it’s key products – like for instance new Oracle 12c database.   In this article we will show how to run Oracle 12c Database VM template on XenServer 6.2.

First a warning –  this is not officially supported configuration, so if you are looking for safety and support follow official guidelines.

Connect to DOM0 on your XenServer and run following commands (assuming that you unzipped OVM template to NFS location some_server:/)

This should give you a VM ready to be started.
Start VM in XenServer management (XenCenter, OXM, Xen Orchestra or whatever management solution you are using) and go to console.

VM  starts with some configuration questionnaire,   first just type enter on any initial inputs, then you need to answer yes to question:  “Do you want to access the 2-node RAC interview on console ?” and  then on first next question (prepare to wait a bit before it occurs) type OUT. This  ends configuration script and gets you to console login.

Login as root:ovsroot  and then do following command:

And now you should have running single instance Oracle 12c database.

It’s good to apply latest patches – easiest way is to get latest patch set update (PSU).  This article describes how to find latest PSUs.

Before application of patches upgrade OPatch to latest version (download latest OPatch from Oracle support):

Then just download appropriate PSUs, unzip and follow instructions to install them.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">