Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
3,
Oracle VM Manager 3.0.3 and Deploying Oracle RAC 11gR2
(11.2.0.3) Oracle VM templates Linux x86 64 bit for test
configuration
In two posts I will cover Oracle VM server 3.0.3 and 3.1.1 technology; the
first (this one) will be dedicated to 3.0.3 and the second (next one)to
3.1.1. Oracle provides virtualization software ranging from bare metal
implementations based on Oracle VM Server to a Microsoft Windows/Linux/Mac OS
and Solaris deployments based on Oracle Virtual Box. Oracle VM Manager
facilitates management of Oracle VM Server. In this article you will look at
the installation of Oracle VM server 3.0.3 and Oracle VM Manager 3.0.3 on
Oracle VirtualBox and in addition I will provide guidelines for deploying
Oracle RAC 11gR2 (11.2.0.3) Oracle VM templates Linux x86 64 bit for test
configuration using Oracle VM Manager. For information relating to earlier
Oracle VM server 2.2.1 deployment with RAC templates click here. All software
can be downloaded from edelivery.oracle.com (Oracle Software Delivery Cloud)
and the templates (version 11.2.0.3) can be downloaded as a patch from MOS
(patch 12694014). The approach described in the article is applicable on any
supported platform although I am using Oracle VirtualBox for testing. Bear in
mind that contrary to Oracle VM server 2.2.1 in Oracle VM Server 3.0.3 YOU
WILL NOT BE ABLE to have RAC templates deployed in Virtual box environment
due to Oracle VM 3.0.3 dmidecode requirement that VirtualBox does not comply.
I will show briefly guidelines for a successful RAC template deployment after
Oracle VM Server 3.0.3 and Oracle VM Manager are installed. In the next post
I will present a detail steps by step guide for RAC templates deployment
using Oracle VM server 3.1.1 and Oracle VM Manager 3.1.1.
Software versions used are:
OS
Purpose
OracleVMServer303
192.168.2.21
OracleVMManager303
192.168.2.31
Oracle VM Server
3.0.3
Oracle VM Manager
3.0.3
OEL 6.2 will be used to host the Oracle VM Manager 3.0.3. Install OEL
6.2 as shown below . Insert the bootable ISO and start the OracleVMManager303
Press Next.
Select Language.
Select keyboard.
Acknowledge.
Get back to the network configuration screen and press Next to continue.
Press Reboot.
Press Forward.
Press Forward.
Select NTP
Press Finish.
Select a user.
Run installation of the latest guest additions (GE). Here the screenshot is for illustrative
purpose only and uses older GE. Wait for the installation to complete and reboot at the
end.
Modify /etc/hosts as show below. You are ready to install Oracle VM Manager 3.0.3 or
later.
Press Next after identifying the location of the ISO image of the VM
Server 3.0.3.
Locate the VM Server iso image for initial installation.
Press Enter.
Press Skip.
Select keyboard.
Acknowledge.
Select the options for a fresh install (remove all partitions and
create default layout).
Press Yes.
Press Yes.
Press Ok.
Press OK.
Enter hostname
Enter a password.
Press OK.
/u02/stage
Make sure that prerequisites for installation are met. Run Oracle
supplied ./createOracle.sh in order to configure the environment for
Oracle VM Manager 3.0.3 installation.
[root@vmmgr stage]# ./createOracle.sh
Adding group 'oinstall' with gid '54323' ...
groupadd: group 'oinstall' already exists
Adding group 'dba'
groupadd: group 'dba' already exists
Adding user 'oracle' with user id '54322', initial login group 'dba',
supplementary group 'oinstall' and home directory '/home/oracle' ...
User 'oracle' already exists ...
uid=54321(oracle) gid=54322(dba) groups=54322(dba),54321(oinstall)
Creating user 'oracle' succeeded ...
Verifying user 'oracle' OS prerequisites for Oracle VM Manager ...
oracle soft
nofile
8192
oracle hard
nofile
8192
oracle soft
nproc
4096
oracle hard
nproc
4096
oracle soft
core
unlimited
oracle hard
core
unlimited
Setting user 'oracle' OS limits for Oracle VM Manager ...
Altered file /etc/security/limits.conf
Original file backed up at /etc/security/limits.conf.orabackup
Verifying & setting of user limits succeeded ...
Modifying iptables for rule RH-Firewall-1-INPUT(default)
Adding rules to enable access to :
7001 : Oracle VM Manager http
7002 : Oracle VM Manager https
15901 : Oracle VM Manager VM console proxy
54321 : Oracle VM Manager core
Firewall rule RH-Firewall-1-INPUT does not exist, please configure iptables
manually.
[root@vmmgr stage]#
4.2.
3: Uninstall
4: Help
Select Number (1-4): 2
Starting standard installation ...
Verifying installation prerequisites ...
Oracle Database Repository
==========================
Would you like to install Oracle Database 11g Express Edition (XE) or connect to
an existing Oracle database?
1: Install Oracle Database 11g XE
2: Use an existing Oracle database
Select Number (1-2): 1
Enter the Oracle Database SYSTEM password:
Invalid password.
Passwords need to be between 8 and 16 characters in length.
Passwords must contain at least 1 lower case and 1 upper case letter.
Passwords must contain at least 1 numeric value.
Enter the Oracle Database SYSTEM password:
Enter the Oracle Database SYSTEM password (confirm):
Enter the Oracle Application Express (APEX) port [8080]:
Enter the Oracle Database listener port [1521]:
Enter the Oracle VM Manager database schema [ovs]:
Enter the Oracle VM Manager database schema password:
Enter the Oracle VM Manager database schema password (confirm):
Oracle Weblogic Server 11g
==========================
Enter the Oracle WebLogic Server 11g user [weblogic]:
Enter the Oracle WebLogic Server 11g user password:
Enter the Oracle WebLogic Server 11g user password (confirm):
Oracle VM Manager application
=============================
Enter the username for the Oracle VM Manager administration user [admin]:
Enter the admin user password:
Enter the admin user password (confirm):
Verifying configuration ...
Start installing the configured components:
1: Continue
2: Abort
Select Number (1-2): 1
Step 1 of 9 : Database ...
Installing Database ...
Retrieving Oracle Database 11g XE ...
Installing Oracle Database 11g XE ...
Configuring Oracle Database 11g XE ...
Step 2 of 9 : Java ...
Installing Java ...
Step 3 of 9 : Database Schema ...
Creating database schema 'ovs' ...
Step 4 of 9 : WebLogic ...
Retrieving Oracle WebLogic Server 11g ...
Installing Oracle WebLogic Server 11g ...
Step 5 of 9 : ADF ...
Retrieving Oracle Application Development Framework (ADF) ...
Unzipping Oracle ADF ...
VM ...
Manager Application ...
Manager Application ...
Manager Core ...
localhost
XE
1521
8080
ovs
Please note that you need to install tightvnc -java on this computer to access a
virtual machine's console.
For more information about Oracle Virtualization, please visit:
http://www.oracle.com/virtualization/
Oracle VM Manager installation complete.
Please remove configuration file /tmp/ovm_configFJjACX.
[root@vmmgr stage]#
4.3
5.1 Follow carefully the Getting Started Guide for Release 3.0.3
5.2 Upload the template by using ftp
5.2.1 Enable ftp
5.2.2 Place the template files in the home directory for the user. For
example /home/gjilevski
5.2.3 Define FTP URL as follows
ftp://gjilevski:password@192.168.2.31/OVM_OL5U7_X86_64_11203RAC_PVM2of2.tgz
ftp://gjilevski:password@192.168.2.31/OVM_OL5U7_X86_64_11203RAC_PVM1of2.tgz
Where the *.tgz are in /home/gjilevski
5.3 Create shared files ASM1,ASM2,ASM3,ASM4,ASM4 each of 2GB for RAC
template deployment
5.4 Follow the template deployment documentation having in mind menus
has changed.
6. Conclusion
You looked at how to Install Oracle VM Server 3.0.3 and Oracle VM Manager
3.0.3. Guidelines were provided for installing Oracle RAC 11.2 from templates
for VM. In the next post you will have a look at how to perform an upgrade to
Oracle VM 3.1.1 and Oracle VM Manager 3.1.1 and step by step guide for Oracle
RAC deployment using templates on Oracle VM 3.1.1 technology.