Guenadi N Jilevski's Oracle BLOG

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

Installation of Oracle Enterprise Linux on a VMware Virtual machine for Oracle RAC

Installation of Oracle Enterprise Linux on a VMware Virtual machine for Oracle RAC

This article complements the post for creating RAC Virtual Machines using VMware. Here we will look at installing Oracle Enterprise Linux (OEL) 5.5. OEL can be downloaded from Oracle edelivery site. After downloading OEL 5.5 64 bit version we prepare an ISO image.

We start the already configured VMware Virtual machine either specifying the ISO file or with DVD containing the ISO image in the CD/DVD drive. After connecting to the console we are at the screen specified below. As we choose to install the OEL in graphical mode we will press ENTER at the prompt.

We are prompted to test the media. We have an option to skip the media check and start with the install or to perform the media checks before the installation. If we opt for media check the installer will check the ISO image and if the image checks passes we are ensured that we can succeed in performing the installation from the media otherwise we need to prepare a new readable (non-corrupted) media. We will choose to test the media. Press OK to perform the media test.

Press TEST to start the test.

Wait for the test to complete.

We are notified by the installer for the state of the media. If the media is fine the media check succeeds and we press OK to start the installation from the media.

We are provided an option to test another media. As we have one DVD we will press CONTINUE. As the screen suggest here we can test all CD/DVD prior to the install.

The OEL screen appears and press Next to continue.

Select the language end press Next to continue.

Select the keyboard for the system and press NEXT to continue.

As suggested by the installer at the prompt press OK to initialize the new partition.

We select ‘Create a custom layout’ and press NEXT to continue. This will enable us to specify different mount points and size of each mount point. The default is a single mount point using the LVM.

Select New and enter the specifics for the / mount point that meet your requirements as show below. Press OK to continue.

Select New and enter the specifics for the /boot mount point that meet your requirements as show below. Press OK to continue.

Select New and enter the specifics for the /home mount point that meet your requirements as show below. Press OK to continue.

Select New and enter the specifics for the /tmp mount point that meet your requirements as show below. Press OK to continue.

Select New and enter the specifics for the /usr mount point that meet your requirements as show below. Press OK to continue.

Select New and enter the specifics for the /var mount point that meet your requirements as show below. Press OK to continue.

Select New and enter the specifics for the / usr/local mount point that meet your requirements as show below. Press OK to continue.

Select New and enter the specifics for the /opt mount point that meet your requirements as show below. Press OK to continue.

Select New and enter the specifics for the swap file system that meet your requirements as show below. Press OK to continue.

Select New and enter the specifics for the /u01 mount point that meet your requirements as show below. Press OK to continue.

Now that we have created the mount points verify the configuration and press Next to continue.

Select GRUB and press Next to continue.

The installer detects the available network adapters. We are presented with a list of available adapters. Activate all adapters and select each adapter by highlighting the adapter and pressing Edit. Enter the IP address for the adapter and the respective netmask that comply with your requirements and press OK to continue. As we are installing OEL for Oracle RAC deployment we have created four network adapters in the VMware server configuration for that Virtual machine that will run Oracle RAC.

Select the second adapter. Enter the IP address for the adapter and the respective netmask that comply with you requirements and press OK to continue.

Select next adapter. Enter the IP address for the adapter and the respective netmask that comply with you requirements and press OK to continue.

Select next adapter. Enter the IP address for the adapter and the respective netmask that comply with you requirements and press OK to continue.

Specify the additional settings that are specific for you setup end press Next to continue. For Oracle RAC we need to have a hostname and a Default Gateway. Lack of a default gateway will cause a problem with the VIP later on.

Select the region and press Next to continue.

Enter the root password and press Next to continue.

Select the software and the customization options and press Next to continue.

Select all the packages and press Next to continue.

Wait for the dependency check to complete.

Press Next to begin the installation.

Wait for the completion.

Press Forward to continue.

Select Yes and press Forward to continue.

For Oracle RAC select Firewall Disabled and press next to continue.

Acknowledge by pressing Yes.

Select SELinux disabled, acknowledge at the prompt and press Forward to continue.

Press Next to continue.

Select Next to continue and press Forward to continue.

On create user specify the username and press Forward to continue.

Acknowledge the sound card detection and press Forward to continue.

Pressing Finish will complete the installation. At the prompts press OK. The system will reboot to perform the setup we configured.

Now we have installed the OEL 5.5 x64. Login with the root credentials and continue with the VMware tools installation to synchronize the guest and host operating system.

Perform synchronization between guest OS and host OS. On the web VMware Infrastructure, highlight the created VM and click the “Install VMware Tools” link and click the subsequent “Install” button. Install VMware tools package by clicking on the tools rpm in the console by clicking the VMware tools rpm.

Wait for the rpm install to complete.

Acknowledge the VMware tools installation.

As root run the vmware-config-tools.pl script.

Acept the defaults and select the screen resolution.

Run vmware-tools as root. Select Time synchronisation… and press Close.

Reboot the VM.

Summary

In this post we looked at Oracle Enterprise Linux installation. During the installation we covered configuration of network adapters and creation of custom file systems. We saw how to disable firewall and SELinux settings so that to have OEL environment for Oracle RAC. We looked at how to synchronize the guest with the host OS.

July 2, 2010 - Posted by | oracle

7 Comments »

  1. […] OEL 5.5 as show in the post related to installing OEL 5.5, click here for further […]

    Pingback by Installing OEM 11g on OEL 5.5 « Guenadi N Jilevski's Oracle BLOG | August 7, 2010 | Reply

  2. […] Grid Infrastructure installation version 11.2.0.1 is covered here. Linux installation is covered here. The prerequisites for the Oracle 11gR2 installation are described here. Setting up a VMware […]

    Pingback by Fresh Oracle 11.2.0.2 Grid Infrastructure Installation PRVF-5150 PRVF-5184 « Guenadi N Jilevski's Oracle BLOG | October 3, 2010 | Reply

  3. […] 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. […]

    Pingback by 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 « Guenadi N Jilevski's Oracle BLOG | February 11, 2011 | Reply

  4. […] A Virtual Machine RAC1 will be created with OEL 5.4. The OEL configurations that are prerequisite for Oracle RAC 11gR2 installation will be performed. Public and private networks will be configured. Shared disks for ASM will be created and attached. Oracle ASMLib will be configured for ASM interface and the shared Oracle ASM disks will be created and labeled. For information related to RAC1 VM creation using Oracle VM virtual box click here and here. For information related to OEL 5 installation click here. […]

    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. […] OEL 6.2 is installed as a base OS for the OracleVMManager303 while Oracle VM Server is used for the OracleVM303 machine. Note that in case of OracleVMManager303 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 5.X installation click here. […]

    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

  6. I have questions regarding installation of OEL and OVM Server. In both instances, you showed the method of installing by burning into a DVD and booting from it.

    Is it possible to mount as ISO mount point and boot from it?

    I do not have physical access to the server and wonder how can I install OVM Server if I can’t boot from CD?

    THanks

    Comment by Des | May 31, 2013 | Reply

    • HI,

      Does you systesms maintain an ILOM or something else for a remote management? If so use it.

      Best Regards,

      Guenadi Jilevski

      Comment by gjilevski | May 31, 2013 | 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

%d bloggers like this: