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.
7 Comments »
Leave a Reply to gjilevski Cancel reply
-
Archives
- February 2017 (1)
- November 2016 (1)
- October 2016 (1)
- May 2016 (2)
- March 2016 (3)
- December 2014 (2)
- July 2014 (1)
- June 2014 (6)
- May 2014 (5)
- February 2014 (1)
- December 2012 (2)
- November 2012 (8)
-
Categories
-
RSS
Entries RSS
Comments RSS
[…] OEL 5.5 as show in the post related to installing OEL 5.5, click here for further […]
[…] 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 […]
[…] 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. […]
[…] 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. […]
[…] 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. […]
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
HI,
Does you systesms maintain an ILOM or something else for a remote management? If so use it.
Best Regards,
Guenadi Jilevski