Guenadi N Jilevski's Oracle BLOG

Oracle RAC, DG, EBS, DR and HA DBA BLOG

Oracle Virtualization – Installing Oracle VM Server 2.2.1, Oracle VM Manager 2.2.0 and Deploying Oracle RAC 11gR2 (11.2.0.2) Oracle VM templates Linux x86 64 bit for test configuration

Oracle Virtualization – Installing Oracle VM Server 2.2.1, Oracle VM Manager 2.2.0 and Deploying Oracle RAC 11gR2 (11.2.0.2) Oracle VM templates Linux x86 64 bit for test configuration

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 we will look at the installation of Oracle VM server and Oracle VM Manager on Oracle VirtualBox and will deploy Oracle RAC 11gR2 (11.2.0.2) Oracle VM templates Linux x86 64 bit for test configuration using Oracle VM Manager. All software can be downloaded from edelivery.oracle.com and the templates can be downloaded as a patch from MOS (patch 10113572). The approach described in the article is applicable on any supported platform although it is using Oracle VirtualBox for testing.

Software versions used are:

  • Oracle VirtualBox 4.0.0
  • Oracle VM Server 2.2.1
  • Oracle VM Manager 2.2.0
  • OEL 5.4

The article will cover the following:

  • VirtualBox configuration for VMServer machine and VMManager machine
  • Installation of Oracle VM Server
  • Installation of Oracle VM Manager
  • Deployment of Oracle RAC 11gR2 Oracle VM templates Linux x86 64bit for test configuration

In real life Oracle VM server runs on a dedicated set of servers and is installed as a bare metal product without the need of an Operating system. Oracle VM Manager is installed on a Linux box. Oracle VirtualBox can be successfully used for testing and self-study of the new features.

  1. VirtualBox configuration to run VMserver machine and VMManager machine.

    The article assumes that the VirtualBox is downloaded and installed and that both virtual machines are configured as follows.

    OEL 54 is installed as a base OS for the OracleVMManager while Oracle VM Server is used for the OracleVM machine. The latter will be discussed in greater details in bullet item 2. Note that in case of OracleVMManager machine Guest additions are installed and the shared folder feature is enabled by placing in the guest /etc/rc.local the following command’ mount -t vboxsf OracleVMServer /media/windows’. Both machines also have multiple NIC defined. Bridged interfaces are required for the ORacleVM and OracleVMManager setup. NAP is for access to the Internet and the host-only adapters are for access from the host OS (Microsoft Windows in my case). All iso images are in the shared folder and the OEL or Oracle VM server iso is specified for the initial OEL and Oracle VM Server installation. For additional information related to OEL installation click here.

  2. Installation of Oracle VM Server

    Specify the Oracle-VM-Server-2.2.1.iso and start the OracleVM machine.

    Skip the testing if already sure about the physical integrity of the media. Press Skip to continue.

    Select the model of the keyboard and press OK.

    Initialize the drive.

    OK the default.

    Select Yes to continue.

    Review the layout and press OK to continue.

    Press OK to continue.

    Select eth3 interface for the VM management. Press OK to continue.

    Enter 198.169.2.41 and the mask 255.255.255.0. Remember that this address will be used to talk to the Oracle VM Manager later.

    Enter the gateway and DNS information as specified below.

    Select a hostname and press OK to continue.

    Select the time zone and press OK to continue.

    Enter a password for the Oracle VM agent and press OK to continue.

    Enter the root password and press OK to continue.

    Press OK to continue and take a note of the location.

    Wait for the installation to complete.

    Wait for the installation to complete.

    When installation completes press Reboot.

    Acknowledge the license agreement.

    After that you are about to login.

  3. Installation of Oracle VM Manager

    The article assumes that OEL is installed and networking is configured so that both OracleVM machine and OracleVM Manager machine can communicate. The /etc/hosts is as follows.

    [root@oraclevmmgr racovm]# cat /etc/hosts

    # Do not remove the following line, or various programs

    # that require network functionality will fail.

    127.0.0.1 localhost.localdomain localhost

    ::1 localhost6.localdomain6 localhost6

    192.168.2.18 oraclevmmgr.gj.com oraclevmmgr

    192.168.2.41 oraclevm.gj.com oraclevm

    [root@oraclevmmgr racovm]#

    If only iso is available mount it as follows.

    [root@oraclevmmgr cdrom]# mount -o loop,rw OracleVM-Manager-2.2.0.iso /media/cdrom

    [root@oraclevmmgr cdrom]# cd /media/cdrom

    [root@oraclevmmgr cdrom]# ls

    EULA LICENSE readme.txt runInstaller.sh scripts source TRANS.TBL

    [root@oraclevmmgr cdrom]# ./runInstaller.sh

    bash: ./runInstaller.sh: Permission denied

    Copy directory structure to a new location to be able to set the permissions.

    [root@oraclevmmgr cdrom]# mkdir /media/vmmanager

    [root@oraclevmmgr cdrom]# ls

    EULA LICENSE readme.txt runInstaller.sh scripts source TRANS.TBL

    [root@oraclevmmgr cdrom]# cd ../vmmanager

    [root@oraclevmmgr vmmanager]# ls

    [root@oraclevmmgr vmmanager]# cp -R /media/cdrom .

    [root@oraclevmmgr vmmanager]# ls

    cdrom

    [root@oraclevmmgr vmmanager]# cd cdrom

    [root@oraclevmmgr cdrom]# ls

    EULA LICENSE readme.txt runInstaller.sh scripts source TRANS.TBL

    [root@oraclevmmgr cdrom]# ./runInstaller.sh

    bash: ./runInstaller.sh: Permission denied

    [root@oraclevmmgr cdrom]# chmod 777 runInstaller.sh

    [root@oraclevmmgr cdrom]#

    Execute the installer and respond to the prompts.

    [root@oraclevmmgr cdrom]#

    [root@oraclevmmgr cdrom]# ./runInstaller.sh

    Welcome to Oracle VM Manager 2.2

    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 2.2 installation …

    Do you want to install a new database or use an existing one? [1|2]

    1. Install a new Oracle XE database on localhost

    2. Use an existing Oracle database in my network

    1

    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 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”

    Checking the availability of the database …

    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 help … Done

    Deploying application … Done

    Please enter the keystore password for the Web Service:

    Password must be at least 6 characters. Enter password:

    Confirm the password:

    Setting keystore password for Web Service …administ Done

    Do you want to use HTTPS access for Oracle VM Manager (Y|n)Y

    Configuring OC4J to use HTTPS … Done

    Stopping OC4J … Done

    Starting OC4J … Done

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

    Confirm the password:

    Configuring SMTP server …

    Please enter the outgoing SMTP mail server(e.g. – mail.abc.com, mail.abc.com:25): oraclevmmgr

    Mail server checking, may need some time, please wait …

    Mail server ‘oraclevmmgr’ check failed, enter Y to change the name and retry or N to keep hostname and continue(Y|n)?localhost

    Please enter the outgoing SMTP mail server(e.g. – mail.abc.com, mail.abc.com:25): localhost

    Mail server checking, may need some time, please wait …

    Setting the SMTP server to localhost …

    Done

    Please enter an e-mail address for account ‘admin': root@localhost

    Confirm the e-mail address : root@localhost

    Updating e-mail address for account ‘admin’ to ‘root@localhost’ …

    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 2.2 home page go to:

    https://192.168.2.18:4443/OVS

    To access the Oracle VM Manager web services WSDL page go to:

    https://192.168.2.18:4443/OVSWS/LifecycleService.wsdl

    https://192.168.2.18:4443/OVSWS/ResourceService.wsdl

    https://192.168.2.18:4443/OVSWS/PluginService.wsdl

    https://192.168.2.18:4443/OVSWS/ServerPoolService.wsdl

    https://192.168.2.18:4443/OVSWS/VirtualMachineService.wsdl

    https://192.168.2.18:4443/OVSWS/AdminService.wsdl

    To access the Oracle VM Manager help page go to:

    https://192.168.2.18:4443/help/help

    You have mail in /var/spool/mail/root

    [root@oraclevmmgr cdrom]#

    Now once Oracle VM Manager is installed and configured spicefy the URL above to access it with a browser.

    After login we have

    A server pool needs to be defined. Press Next to continue. Enter the name of the server pool and the hostname of the server where the Oracle VM Server is installed along with the server agent password and login credentials.

    Press Create button to create the server pool.

  1. Deployment of Oracle RAC 11gR2 Oracle VM templates Linux x86 64bit for test configuration

    Templates provide a fast and easy way to deploy Oracle RAC, applications in Oracle VM Server environment t for both test and production. For additional information related to RAC templates click here. From edelivery.oracle.com can be downloaded EBS, PeopleSoft, JD Edwards , RAC 11gR2 and other templates. Latest 11gR2 (11.2.0.2)templates are patch 10113572 from MOS.

    Download the templates and transfer them to the /OVS directory in the Oracle VM Server.

  • p10113572_10_Linux-x86-64_1of3.zip
  • p10113572_10_Linux-x86-64_2of3.zip
  • p10113572_10_Linux-x86-64_3of3.zip

For simplicity attest template will be loaded though the approach discussed in the article is a general and applicable for production deployment.

  1. Unzip and un-tar the templates in /OVS/seed_pool on Dom-0 where Oracle Server is installed.

  2. Create 5 shared virtual disks to hold the database. On a production system the disks must be configured on Dom-0 on both servers. For the test we will use 5 ASM disks created using Oracle VM Manager.

    Select Resources->Shared Virtual Disks. Click the Create button and enter name of the disk, size and description. Once done repeat for ASM2, ASM3, ASM4 and ASM5.

    Confirm the creation of the disk by pressing Confirm button.

    Repeat the procedure for the remaining ASMn disks where n in [2,,5].

  3. Import the template from step 41. Using Oracle VM manager.

    Click the link Resources -> Virtual Machine Templates. Click Import button

    Chose Select from Server pool and press Next to continue.

    Specify the server pool we created in step 3 while we installed and configured the Oracle VM Manager. Select the template we unzipped and un-tarred in step 4.1 and specify the logon credentials for the VM username. Press Next to continue.

    Press Confirm to continue. When status changes from Importing to pending press approve.

    Press Approve again.

    Now the template changes to active.

  4. Create two VM from the template that was imported

    In our example we name the VMs raclinux1 & raclinux2, you may choose any name you wish. IMPORTANT – The only non-default item you will need is to change the second NIC to xenbr1 (the first NIIC on xenbr0 will automatically be configured, see following pages)

    Select Virtual machines tab. Click on the Create Virtual Machine button

    Select Create VM based on a template. Press Next to continue.

    Select the Server pool and press Next to continue.

    Select the imported template and press Next to continue.

    Enter a name for the VM. Enter a password for the console. Change VIF1 to xenbr1 while leaving VIF0 to xenbr0. Press Next to continue.

    Review the details and press Confirm to continue.

    Create in similar fashion raclinux2.

  5. Add the shared disks in 4.2 to both VMs

    Select the Virtual machines tab. Select the radio button for the first guest & Click the Configure button.

    Press the Storage tab.

    Press Add/Detach Shared Virtual Disk tab. Transfer ASM1to ASM5. Press OK to continue.

    When added it will show

    Go to General tab and adjust the memory to 1700MB from 2046 MB

    Repeat the same for raclinux2.

  6. Inspect the configuration files for both VMs

Check the content of /OVS/running_pool/*raclinux1/vm.cfg and /OVS/running_pool/*raclinux2/vm.cfg.

[root@oraclevmmgr OVS]# cat raclinux1.cfg

bootloader = ‘/usr/bin/pygrub’

disk = ['file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/running_pool/30_raclinux1/System.img,xvda,w',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/running_pool/30_raclinux1/Oracle11202RAC_x86_64-xvdb.img,xvdb,w',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM1.img,xvdc,w!',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM2.img,xvdd,w!',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM3.img,xvde,w!',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM4.img,xvdf,w!',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM5.img,xvdg,w!',

]

maxmem = 1700

memory = 1700

name = ’30_raclinux1′

on_crash = ‘restart’

on_reboot = ‘restart’

uuid = ‘57588713-afb1-4655-a01d-465f2c960418′

vcpus = 1

vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0,vncpasswd=admin']

vif = ['bridge=xenbr0,mac=00:16:3E:5E:42:BC,type=netfront',

'bridge=xenbr1,mac=00:16:3E:04:EA:B3,type=netfront',

]

vif_other_config = []

[root@oraclevmmgr OVS]# cat raclinux2.cfg

bootloader = ‘/usr/bin/pygrub’

disk = ['file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/running_pool/33_raclinux2/System.img,xvda,w',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/running_pool/33_raclinux2/Oracle11202RAC_x86_64-xvdb.img,xvdb,w',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM1.img,xvdc,w!',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM2.img,xvdd,w!',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM3.img,xvde,w!',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM4.img,xvdf,w!',

'file:/var/ovs/mount/EE6C6F356F024EF38B468CCEE192E548/sharedDisk/ASM5.img,xvdg,w!',

]

maxmem = 1700

memory = 1700

name = ’33_raclinux2′

on_crash = ‘restart’

on_reboot = ‘restart’

uuid = ‘a579ce95-1afe-443b-b0a4-a7298db6bf77′

vcpus = 1

vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0,vncpasswd=admin']

vif = ['bridge=xenbr0,mac=00:16:3E:61:42:35,type=netfront',

'bridge=xenbr1,mac=00:16:3E:5E:98:DD,type=netfront',

]

vif_other_config = []

[root@oraclevmmgr OVS]#

  1. Start both VMs using the Oracle VM Manager.

    Select the Virtual Machines tab, Select the radio button for the first node, Click the Power On button, repeat for second node.

    Vncviewer can be used to access the VMs after determining the ports.

    I this case raclinux1 can be accessed with oraclevm:5900 and raclinux2 can be accessed via oraclevm:5901.

    We open to sessions to raclinux1 and raclinux2 using vncviewer. Complete the first boot interview. This is one time only when the guest is started for the first time. At this point in time the guest machines are identical – they have no personality e.g. no hostname, no IP

    address etc. First boot adds this personality. On Node1 Enter: YES (On Node2 Enter: NO) The configuration utility then waits until the NO response has been given on the second node. After completing the node identification steps you must now provide information for first boot to complete. A simple data entry screen is displayed.

    Enter the personality of the cluster that is addresses as specified below.

    Run the script to build the RAC from the template.

    In about 45 minutes the installation completed.

  1. Verify that Oracle 11gR2 RAC is running successfully.

    Using srvctl and sqlplus utilities verify that the cluster is functioning properly.



    Summary:

    We installed and configured Oracle VM Server 2.2.1 and Oracle VM Manager 2.2.0. Imported Oracle RAC 11gR2 Oracle VM templates and installed pre-configured RAC on the VM server. We verified that Oracle RAC 11gR2 is up and running properly. We also looked at using Oracle VirtualBox as a solution for testing the Oracle Virtualization concepts on a Windows PC.

February 11, 2011 - Posted by | oracle

37 Comments »

  1. [...] Oracle Virtualization – Installing Oracle VM Server 2.2.1, Oracle … [...]

    Pingback by README | Catadoc.com | February 11, 2011 | Reply

  2. Hi Guenadi,

    Great article, keep on the good work.
    I am wondering whether the physical machine on which VirtualBox 4.0 is installed physically is equip with 4 NIC’s. And what is the based OS you are installing VirtualBox ?

    Thanks for your info.

    Best Regards,
    Djas Amatbrahim

    Comment by djas amatbrahim | March 22, 2011 | Reply

    • Hello Djas,

      1. The physical host can be running MS Windows/Linux or any supported OS by VirtualBox as host OS.
      2. Your host box doesn not need 4 NIC. VirtualBox supports 4 types of NIC virtualized.
      3. I am using MS Wondows Vista 64bit.

      Regards,

      Comment by gjilevski | March 22, 2011 | Reply

  3. [...] 11gR RAC system on Solaris 10 x86-64. An overview to Oracle Virtualization solutions can be seen here. You will configure Solaris VM and install Oracle GI, Oracle RDBMS and will create a database. You [...]

    Pingback by Virtualization using Oracle VM VirtualBox for building two node Oracle RAC 11gR2 cluster based on Solaris 10 x86-64 « Guenadi N Jilevski's Oracle BLOG | May 11, 2011 | Reply

  4. [...] overview to Oracle Virtualization solutions can be seen here. You can see how to use Oracle VM VirtualBox to build a two node Solaris cluster [...]

    Pingback by Virtualization using Oracle VM VirtualBox for building two node Oracle RAC 11gR2 (11.2.0.2) cluster where Oracle 11.2.0.2 RDBMS coexists with 10gR2 (10.2.0.5) RDBMS based on Linux (OEL 5.4) « Guenadi N Jilevski's Oracle BLOG | July 29, 2011 | Reply

  5. if you have bare bone server and if you down load oracle vm templates {Oracle RAC 11g Release 2 (11.2.0.2.0) Oracle VM templates
    Linux X86 64bit and X86 32bit (OneCommand/Oracle VM)
    Test Configuration} is it require to follow these steps before starting installing RAC?
    VirtualBox configuration for VMServer machine and VMManager machine
    Installation of Oracle VM Server
    Installation of Oracle VM Manager

    Comment by Nikhil Mistry | September 21, 2011 | Reply

    • Hi,

      Oracle distingushes two installations:

      1. Producion
      2. Test

      This post is for a test installation of RAC using OVM and templates.

      I showed a test deployment using Oracle VM and Oracle VM Manager.

      Regards,

      Comment by gjilevski | September 21, 2011 | Reply

  6. Missing /OVS mount point after installation on vm server 2.2.1 is that normal.

    Comment by nalla | September 29, 2011 | Reply

    • Hi,

      /OVS is created after a successful installation of OVM.

      Regards,

      Comment by gjilevski | September 29, 2011 | Reply

  7. [...] overview to Oracle Virtualization solutions can be seen here. You can see how to use Oracle VM VirtualBox to build a two node Solaris cluster here. For [...]

    Pingback by Virtualization using Oracle VM VirtualBox for building two node Oracle RAC 11gR2 (11.2.0.3) cluster on OEL 6.1 using GNS (based on DNS and DHCP) with multiple private interconnects deploying HAIP feature « Guenadi N Jilevski's Oracle BLOG | October 4, 2011 | Reply

  8. [...] overview to Oracle Virtualization solutions can be seen here. You can see how to use Oracle VM VirtualBox to build a two node Solaris cluster here. For [...]

    Pingback by Build two node Oracle RAC 11gR2 11.2.0.3 with GNS (DNS, DHCP) and HAIP « Guenadi N Jilevski's Oracle BLOG | October 5, 2011 | Reply

  9. [...] overview to Oracle Virtualization solutions can be seen here. You can see how to use Oracle VM VirtualBox to build a two node Solaris cluster here. For [...]

    Pingback by Build two node Oracle RAC 11gR2 11.2.0.3 with GNS (DNS, DHCP) and HAIP « Guenadi N Jilevski's Oracle BLOG | October 5, 2011 | Reply

  10. After I install VM Server and run etc/hosts, I don’t get these two line:
    192.168.2.18 oraclevmmgr.gj.com oraclevmmgr
    192.168.2.41 oraclevm.gj.com oraclevm

    Comment by David Williams | November 4, 2011 | Reply

    • Hi,

      You need to modify /etc/hosts yourself to reflect hosts and IP addresses in your network. Look at ‘The article assumes that OEL is installed and networking is configured so that both OracleVM machine and OracleVM Manager machine can communicate. The /etc/hosts is as follows’.

      Regards,

      Comment by gjilevski | November 4, 2011 | Reply

  11. Do you mind if I quote a few of your posts as long as I provide credit and sources back to your blog? My blog is in the exact same niche as yours and my visitors would definitely benefit from a lot of the information you present here. Please let me know if this ok with you. Thanks a lot!

    Comment by Cristobal Maroni | December 1, 2011 | Reply

    • Hi,

      Sure, You can go ahead.

      Let me have a look at it,once you are done.

      Regards,

      Comment by gjilevski | December 1, 2011 | Reply

  12. Great post, I believe blog owners should learn a lot from this site its real user genial. So much great information on here :D.

    Comment by Jaye Marrujo | December 2, 2011 | Reply

  13. Its good as your other content : D, thankyou for putting up.

    Comment by Mandelinople.com | December 8, 2011 | Reply

  14. Excellent article! BTW, can you explain how you moved the downloaded template files to the guest running the VMServer (/OVS/seed_pool) ? Did you have to install the guest additions on the VMServer as well? as it is I cannot map a shared folder on the VMServer machine because it says guest additions are not installed but to install guest additions extra pkgs needed, I did not see that part in your procedure though.

    Comment by aeam | December 11, 2011 | Reply

    • Hi,

      You can see that NAT is used for the first NIC on VirtualBox. Therefore you can use the network for file transfers from Host OS to Guest OS.

      Regards,

      Comment by gjilevski | December 11, 2011 | Reply

      • Thanks for reply, I ended up creating an ISO image with all the PVM files in it and just mounted it as an ISO.

        Comment by aeam | December 19, 2011

  15. I need a WordPress site for my blog. Gotta find some help

    Comment by Wordpress Genius | December 21, 2011 | Reply

  16. Hi Guenadi,

    Great work! Just would like point out a small thing: Oracle expects a root’s password=ovsroot as it’s hardcoded in the file /u01/racovm/params.ini. So change it to yours before running the buildcluster.sh script

    Many thanks again for that very good article.

    Regards
    Huy-Lich

    Comment by Tran Huy-Lich | February 1, 2012 | Reply

    • Hi Huy-Lich,

      Thank you. I still have in params.ini the default
      ROOTUSERPASSWORD=’ovsroot’

      The root nodes’ password is changed and seems that once raclinux1,raclinux2 are configured and started Oracle does not references params.ini any more for root pasword and both nodes and corresponding instances are up and running.

      Best Regards,

      Guenadi Jilevski

      Comment by gjilevski | February 1, 2012 | Reply

  17. how do you get the templates into the VMserver?

    Comment by zak | February 7, 2012 | Reply

    • Hi,

      I used the network to transfer. There were some suggestion for using ISO image and DVD drive.

      Regards,

      Comment by gjilevski | February 7, 2012 | Reply

  18. I’m trying this procedure, but running into a problem with VM Server. The install runs through correctly, but the machine won’t boot. It goes through the initial steps but then locks up. I’ve verified the VM settings per the screen shots, so I’m at a loss.

    I’m installing “Oracle VM 2.2.1 Media Pack” off the Oracle VM site. Should I be pulling a different version? Any help would be appreciated!

    Comment by Ken Smelcer | April 8, 2012 | Reply

    • Hi,

      If you are more specific I might be able to understand what are you trying to achieve and what is the problem that you are facing.

      Is it a bare metall install or Vbox install? If the former look at the drivers. If the latter it worked in my case look at error messages on boot.

      Regards,

      Comment by gjilevski | April 8, 2012 | Reply

  19. Thanks for the reply. I’m trying to set up a two-node RAC cluster in VirtualBox (4.1.2_ubuntu). My host OS is Ubuntu 11.04 64bit on a quad-core system. I’ve installed the Oracle VM package from here: https://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=12550531

    Everything follows your flow until after the reboot. It does the bootloader countdown and then starts the kernel. At that point it prints out just a few messages and locks up. Here’s what shows:

    Booting ‘Oracle VM Server-ovs (xen-64-3.4.0.2.6.18-128.2.1.4.25.el5ovs)’
    root (hd0,0)
    Filesystem type is ext2fs, partition type 0x83
    kernel /xen-64bit.gz dom0_mem=574M
    [Multiboot-elf, , shtab=0x2f8078, entry=0x100000]
    module /vmlinuz-2.6.18-128.2.1.4.25.el5xen ro root=UUID=e95ae875-d251-4dc9-8075-d6a46c0c3ccd
    [Multiboot-module @ 0x2f9000, 0x4b3a9c bytes]
    module /initrd-2.6.18-128.2.1.4.25.el5xen.img
    [Multiboot-module @ 0x7ad000, 0x581000 bytes]

    Tell the truth, I was surprised that you were able to run xen hypervisor INSIDE VirtualBox, so I was wondering if I’m using the right version of Oracle VM Server.

    Does this compare with your initial boot sequence? Any boot options I should try?

    Thanks!

    — Ken

    Comment by Ken Smelcer | April 8, 2012 | Reply

    • Hi,

      It is Oracle OVM Server 2.2.1 (V21103-01 for x86 64bit) that I used. I double checked it! However my host OS is Windows Vista and the above 2.2.1 version (note that it is not most recent 3.0.3, 3.0.2, 2.2.2 are later on) of OVM is used.

      In my case bootstrap starts very fast and cannot even see it until slow down and shows the XEN part.

      I think, it could be the Ubuntu host OS. I came accross somewhere about OVM problems with Virtual box if host OS is Ubuntu and OVM is 2.2.1. Google oracle-base for a short post on Ubuntu host OS and OVM 2.2.1 if I am not wrong and memory serves me well.

      Do you have another host OS platform to test?

      Regards,

      Comment by gjilevski | April 8, 2012 | Reply

      • I have a 32-bit Windows 7 setup that I tried as well (using the 32-bit VM Server), with the same result. I’ll try VM Server 3.0.3 and see if works. Thanks for taking the time to look at it.

        — Ken

        Comment by Ken Smelcer | April 8, 2012

      • Hi,

        Sure. Let me know how it goes.

        Regards,

        Comment by gjilevski | April 8, 2012

  20. Reblogged this on Christoph's 2 Oracle Cents and commented:
    Excellent documentation for installing Oracle VM Server.

    Comment by Christoph Ruepprich | May 22, 2012 | Reply

  21. Excellent post Guenadi! I went ahead and re-blogged it. Good stuff!

    Comment by Christoph Ruepprich | May 22, 2012 | Reply

  22. Thanks all over again. I am not sure the things that I might have done without the type of creative concepts shown by you about my subject matter.

    Comment by wodonga-park | May 23, 2012 | Reply

  23. This is often a wonderful blog, could you be interested in going through an interview regarding just how you developed it? If so e-mail myself!

    Comment by website | June 5, 2012 | Reply

  24. [...] 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 [...]

    Pingback by Oracle Virtualization – Installing Oracle VM Server 3.0.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 « Guenadi N Jilevski's Oracle BLOG | June 19, 2012 | Reply


Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

Follow

Get every new post delivered to your Inbox.

Join 773 other followers

%d bloggers like this: