Monday, February 27, 2012

/OVS is empty after installing Oracle VM Server

Had to pull your hair to figure out why /OVS is empty after a fresh installation of Oracle VM Server? Well It's the default behavior in OVM Server 3.0.3, unlike 2.2.0.
It can be and should be done via Oracle VM Manager.
Click here to see how I found it out.


Saturday, February 25, 2012

OVM-1004 XML-RPC Client Call Oracle VM Agent API 'register_server' error: exceptions.Exception:method "register_server" is not supported, please try again later.

If you get this error when you try to create a new server pool, then you are probably using two different versions of VM Server and  VM Manager which are not compatible. Look! error is misleading. This won't get resolved even if you try again a bit later, until you  have right packages installed.

Click here to see how I found this out. 


VM Manager 3.0.3 on SuSE 11

Today I tried installing VM Manager 3.0.3 on SuSE 11 and got the following.

Oracle VM Manager can only be installed on a 64 bit Oracle Linux version 5.5 and higher.
Current version is 'SuSE' version '11'
**** WARNING: Recommended memory for the Oracle VM Manager server installation is 3950 MB RAM*
Configuration verification failed
 Solution:
Error says it all. Have OL 5.5 or higher!

Can't connect to Oracle VM Manager home page

This is a firewall issue!

Open http access

system-config-securitylevel-tui -q -p 8888
 
 
Open https access

system-config-securitylevel-tui -q -p 4443


Disable iptables altogether!

service iptables stop

Thursday, February 23, 2012

Installing Oracle Linux over network - No DVD-ROM

I was able to install Oracle VM Server and wanted to install Oracle VM Manager in a separate machine in order to manage VM's in VM Server. Oracle does not recommend installing Oracle VM Manager in a VM which will eventually be managed by Oracle VM Manager itself. So, my plan was to install Oracle Linux and then install Oracle VM Manager on top of it. The machine in question, did not have a DVD-ROM, but had a CD-ROM. Here is how I got through.

Packages in hand
Oracle Linux Release 6 boot iso image
Oracle Linux Release 6

Configuring NFS
I used a separate Linux server for this. Yes it did have a DVD-ROM and I did not want to install VM Manager on it.
Create two directories.
mkdir /x01/package  /x01/inst

Place OEL6 iso at /x01/package directory.
 Unzip it


 Now mount it.
mount -ro loop /x01/package/OEL6.iso /media

Copy required files to /x01/inst directory.

cp -ar /media/. /x01/inst/

To setup NFS share, Add following line to /etc/export.

/x01/inst         *(ro,sync)

export the directory and restart NFS service.
exportfs -a
service nfs stop
service nfs start

To see the status of the share
showmount -e

NFS share is created. Rest is easy. Boot the machine with OEL boot cd and select the installation method as NFS. Provide NFS IP address and the path (/x01/ins). Installation would be started in no time. After the installation is completed, Oracle VM Manager package can be installed right away. I used FTP to transfer the package.