PDA

View Full Version : Oracle announces a new product - OracleVM


royong
22-04-2008, 13:27
I've been missing out on keeping up-to-date about Oracle's Linux suite of services and products. Recently, I visited their site again and was pleased to discover a new product - OracleVM ... extremely interesting

First a quote from the following URL
http://www.oracle.com/technologies/virtualization/index.html
Oracle VM is server virtualization software that fully supports both Oracle and non-Oracle applications, and is three times more efficient than other server virtualization products. Backed by Oracle's world-class support organization, customers now have a single point of enterprise-class support for their entire virtualization environments, including the Linux operating system, Oracle Database, Fusion Middleware, and Application software. These and other Oracle products are certified with Oracle VM, which is available for free download.

Notice I highlighted "is three times more efficient" ... now that's a huge claim. Without waiting further, I dived right in and here's what I found from the documents available

- Oracle VM is free and is available for free download from http://edelivery.oracle.com/oraclevm

- Both Linux and Windows guests are supported

- Oracle VM is free to download and use but official support can be purchased, ranging from USD$499-USD$999 per year

- Oracle VM installs directly on server hardware and does not require a host operating system

- Oracle VM supports Oracle Enterprise Linux 4 and 5, Red Hat Enterprise Linux 3, 4 and 5

- Oracle VM supports Windows 2003, Windows Server 2003 and Windows XP on HV capable hardware

- Oracle VM is the only x86-based server virtualization environment on which Oracle products are supported. Which technically means that although Oracle supports virtualization through its Unbreakable Linux Support program, Oracle products are not certified to run in the virtualization environment that comes with Oracle Enterprise Linux 5.

All very interesting ... which leads me to only one thing ... let's download and play with it :P

royong
25-04-2008, 11:10
ok - i finally managed to download Oracle's VM [OracleVM-Server-2.1.1.iso]
installation was a breeze, very familiar interface :P
to make things simple, since its only a test machine, i accepted all the defaults.
here are some information that i gathered from the installed machine.


# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
/dev/cciss/c0d0p3 /OVS ocfs2 defaults 1 0
LABEL=/boot1 /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SW-cciss/c0d0p5 swap swap defaults 0 0


# cat /etc/*release*
Oracle VM server release 2.1.1
Oracle VM server release 2.1.1
Oracle VM server release 2.1.1


# rpm -qa | wc -l
307


# rpm -qa | grep el5 | wc -l
119


# rpm -qa | grep -i kernel
kernel-BOOT-2.6.18-8.1.15.0.16.el5
kernel-ovs-2.6.18-8.1.15.0.16.el5


# uname -a
Linux localhost.localdomain 2.6.18-8.1.15.0.16.el5xen #1 SMP Wed Mar 5 13:03:41 EST 2008 i686 i686 i386 GNU/Linux


# rpm -qa | grep -i xen
xen-tools-3.1.3-0.0.5.el5
xen-64-3.1.3-0.0.5.el5
xen-devel-3.1.3-0.0.5.el5
xen-3.1.3-0.0.5.el5

Yes - it looks as like its based on the sources from Red Hat and modified a little.

royong
25-04-2008, 11:15
ok - now for part 2 - the installation of OracleVM-Manager-2.1.1.iso
as per the instructions, i did the following after I downloaded the iso to /root

# cd /root
# mount -o loop OracleVM-Manager-2.1.1.iso /mnt
# cd /mnt
# sh runInstaller.sh


oops, error found stating that libaio is not installed - its a dependency. ok, no issues, we'll have to look in /etc/yum.repos.d -- mmm, its empty. so i presume no yum now, we'll have to manually install


# cd /root/addons/
# wget ftp://194.199.20.114/linux/fedora/releases/7/Everything/i386/os/Fedora/libaio-0.3.106-3.2.i386.rpm
# rpm -ivh libaio-0.3.106-3.2.i386.rpm


re-run the installer again - oops, another error generated. this time it is stating that my / did not have sufficient space.
its looking for something more that 2.6GB and i have only 2.1GB on my /
err, in the first place, I accepted the defaults during installation, including the partitioning schema. it should have installed using a partition schema that works right?

apparently, i am wrong. even after moving OracleVM-Manager-2.1.1.iso from /root to /OVS, i only have 2.1GB on my / and they are looking for 2.6GB - however, I have tons of space on a /OVS partition. geez. now we need a little bit of creative thinking. i don't feel like reinstalling my machine. here's what i did after moving OracleVM-Manager-2.1.1.iso to /OVS


# cd /OVS
# mount -o loop OracleVM-Manager-2.1.1.iso /mnt
# mkdir disk
# rsync -avr /mnt/ /OVS/disk/
# umount /mnt
# cd disk
# cp -a runInstaller.sh runInstaller.sh.original
# vi runInstaller.sh


and in the editing of runInstaller.sh - I changed the checking of the / partition from 2.6GB to something much lower so that we will not have the error ... basically look for this

if [ "$sp3" -lt "2600000" ] ; then
echo "Disk space of dir "/" is less than 2600MB, failed ..."
exit 1
else

and change to ... less 1 ZERO :P

if [ "$sp3" -lt "260000" ] ; then
echo "Disk space of dir "/" is less than 2600MB, failed ..."
exit 1
else


installation should now work

royong
25-04-2008, 11:30
yes - installation does work now ... after my little tweak :P
here's what i got from the installation


# sh runInstaller.sh
Welcome to Oracle VM Manager

Please enter the choice: [1|2|3]
1. Install Oracle VM Manager
2. Uninstall Oracle VM Manager
3. Upgrade Oracle VM Manager
1

Starting Oracle VM Manager installation ...


Prepare to install the Oracle XE database ...
Checking the supported platforms ... Done

Checking the prerequisite packages are installed ... Done

Checking the available disk space ... Done

Installing the oracle-xe-univ package (rpm) now ...
Done


Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:

Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"


Set default database schema to 'OVS'.
Please enter the password for account 'OVS':
Confirm the password:

Creating the Oracle VM Manager database schema ...Done

Installing the ovs-manager package (rpm) ...
Done

Installing the oc4j package (rpm) ...
Done

Please enter the password for account 'oc4jadmin':
Confirm the password:

Starting OC4J ... Done.
To access the OC4J Home Page and change the password go to http://127.0.0.1:8888/em

Deploying Oracle VM Manager application to OC4J container.
Creating connection pool ... Done
Creating data source ... Done
Deploying application ... Done
Deploying application help ... Done

Configuring Oracle VM Manager DataCollector ... Done

Please enter the password for the default account 'admin':
Confirm the password:

Configuring SMTP server ...
Please enter the outgoing mail server (SMTP) hostname: mail.nixperience.com
Mail server checking, may need some time, please wait ...
Setting the SMTP hostname server to mail.nixperience.com ...
Done

Please enter an e-mail address for account 'admin': roy@nixperience.com
Confirm the e-mail address:roy@nixperience.com
Failed to send mail to 'roy@nixperience.com', want to re-enter the email address(y|N)?N
Updating e-mail address for account 'admin' to 'roy@nixperience.com' ...
Done

The console feature is not enabled by default.
For detailed setup, refer to Oracle VM Manager User's Guide

Installation of Oracle VM Manager completed successfully.

To access the Oracle VM Manager home page go to:
http://127.0.0.1:8888/OVS

To access the Oracle VM Manager help page go to:
http://127.0.0.1:8888/help/help



very nice - its all done
giving it a nice reboot once its done
after reboot, i'm faced with something unexpected.
mmm ... looking at the URLs above, its all 127.0.0.1 and the server does not have a gui installed :(

royong
25-04-2008, 11:57
i'm not too interested in running this and seeing the UI on a command line browser. i want to see it in all its glory. so now i have to figure what i need to do to be able to access the UI through my laptop. my server has the ip address of 192.168.168.43


# cd /opt/oc4j/j2ee/home/application-deployments/ascontrol/ascontrol
# cp -a orion-web.xml orion-web.xml.original
# vi orion-web.xml
...... remove the following lines
...... <access-mask default="deny">
...... <ip-access ip="127.0.0.1" mode="allow"/>
...... </access-mask>
# cd /opt/oc4j/j2ee/home/config
# cp jms.xml jms.xml.original
# vi jms.xml
...... change
...... <jms-server port="9127" host="127.0.0.1">
...... to
...... <jms-server port="9127" host="192.168.168.43">
# service oc4j stop
# service oc4j start
# service iptables stop


now i can access http://192.168.168.43:8888/OVS/ from my laptop
installation complete.

royong
25-04-2008, 12:25
now here are some screen caps for your pleasure

royong
25-04-2008, 12:37
it looks like a good solution that runs XEN - the best thing about this is the fact that it has a usable GUI which is extremely commendable. i have not used this in creating an guest instances but my exploration of the GUI leads me to believe its a commendable effort and with Oracle support behind this, i'm sure it will turn some heads. maybe a relook at the installation procedures is requirement considering that i needed some quite dirty hacks to make it work

ps - all information presented in this thread are of my own personal installation experience which may differ from yours in a different environment.