Tuesday, 1 May 2018

Oracle RAC installation on linux step by step 11.2.0.4 (Part-1)

It's Tuesday morning 2 O'Clock,1st May 2018, after three days of rigorous effort, finally I am able to login into my RAC environment. I want to say thanks to all Oracle bloggers who guided me to make this installation possible. As well as, I cannot deny that without Linux bloggers, it's very difficult to understand the basics of networking and storage. Linux bloggers, your efforts are commendable.

Instead of making an installation document, I am writing this blog so that I could share my experience with you.

Let's start..

In this post, we will cover step by step installation of Oracle RAC (11.2.0.4).

Required Software:

  • Oracle Virtual Box - Download here.
  • OEL 7.5 - Download OEL7.5 iso (approx.-4.13GB) from Oracle Software Delivery Cloud.
  • Oracle Grid and database (11.2.0.4) - It comes in the form of patch. You can download these software from Oracle Support. Download below patches:
    • Database
      • p13390677_112040_Linux-x86-64_1of7
      • p13390677_112040_Linux-x86-64_2of7
    • Grid
      • p13390677_112040_Linux-x86-64_7of7
    • Patch for a bug
      • p18370031_112040_Linux-x86-64

Required Hardware:

  • RAM - 16 GB (Min - 8 GB)
  • Hard disk space - 100 GB (Min - 50 GB)
This configuration is of my VM. It may vary as per your resource availability but you should meet the minimum requirements for seamless installation.

Servers:

  • node1
  • node2

Network IPs: 

We are using STATIC IPs rather than using dynamic IPs provided by DHCP. IP details are mentioned below:


Private Host Names(Ethernet1)
IPHostnameAlias
192.168.1.163node1_priv.rac.comnode1_priv
192.168.1.164node2_priv.rac.comnode2_priv
Public Host Names(Ethernet2)
IPHostnameAlias
10.1.1.163node1.rac.comnode1
10.1.1.164node2.rac.comnode2
Virtual Host Names(Ethernet2)
IPHostnameAlias
10.1.1.63node1_vip.rac.comnode1_vip
10.1.1.64node1_vip.rac.comnode2_vip

To achieve this, we need to edit the Host-only adapter.






































We'll cover this installation in two phases:

  1. Installation of OEL on Virtual Box
  2. Installation of Grid Software & Database Software Installation
Note: Following the directory structure and its name strictly prevents you from any kind of configuration issues.

Installation of OEL on Virtual Box


I assume you have downloaded the software and installed without any flaw. Now, you can follow the instructions below to create new VM:

Click Machine > New.

Create New m/c











Memory Size should be more than 4096 MB for VMs to work smoothly.





























Select the directory where you want to create Virtual disk. Ensure that physical disk must have enough space. For example:- 'D' drive must have more than 30 GB space available.






























Now we will change the settings of the VM. Right click on your node and then select Settings.




















Just verify that you are getting similar kind of information on screen.


Here, we can find the virtual disk added to the VM.


Click on Empty disk and at right side click on drop down to select the ISO image.



Network Configuration: This section is really very important for RAC configuration. We are configuring three network adapter:

Public Network(Host Only Adapter): This network is being used by Oracle to allow client to access the Oracle RAC environment. Below, table can help you to understand how this network will work after configuration.

Virutal Host-Only adaptor ConnectionConnection Status
Can VM connect to host?NO
Can host connect to vm?YES
Can VM connet to external network?NO
Can VM connect to another VM in same network?NO
Can other computer on host network connects to VM?NO


Private Network (Internal Network): This is being used by Oracle for internal communication between nodes. Host machine cannot ping this network.

Internal Network (Host Only) ConnectionConnection Status
Can VM connect to host?NO
Can host connect to vm?NO
Can VM connet to external network?NO
Can VM connect to another VM in same network?YES
Can other computer on host network connects to VM?NO



External Network(Bridge): This network has internet connection. It enables the VM to download the required packages from Oracle Yum repository.


Bridge ConnectionConnection Status
Can VM connect to host?YES
Can host connect to vm?YES
Can VM connet to external network?YES
Can VM connect to another VM in same network?YES
Can other computer on host network connects to VM?YES




Start the VM and follow the GUI instructions to complete the OS installation. For comprehensive steps, you could follow this https://oracle-base.com/articles/linux/oracle-linux-7-installation blog.

Ensure that you have done below custom partition of the disk:

PartionsSpace(In GB)
/10
/tmp3
/swap8
/u019

Thanks for visiting this blog. Hope it helps.

To be continued...Oracle RAC installation on linux step by step 11.2.0.4 (Part-2)

2 comments: