Step by Step Installing Oracle 12c GI and RAC on Linux 7 Using VirtualBox

Great start to build your own RAC with detailed instructions and explanations. For building 18c/19c/20c GI/RAC, this post is still helpful. After completing this lab, you should be in better position as an Oracle RAC DBA.

Contents

Introduction

This article describes the detailed step by step installation of Oracle Database 12c  (12.1.0.2 64-bit) GI and RAC on Linux (Oracle Linux 7.1 64-bit) using VirtualBox (5.0.10). It applies to Oracle 18c and 19c GI and RAC as well.

Subscribe to get access

Read more of this content when you subscribe today.

7 thoughts on “Step by Step Installing Oracle 12c GI and RAC on Linux 7 Using VirtualBox”

  1. Hello Dbalifeeasy!
    First of all thank you for the amazing and very time consuming work of creating this guidance!
    I am trying to follow your steps and have few questions so far. Most of them are related to the network configuration.

    The Section “OS Installation”, Step 4
    The second screenshot “https://dbalifeeasy.files.wordpress.com/2016/02/untitled28.png” shows configuration for the Enp0s8 (is it rac-priv adapter?),
    and the IP address there is “172.16.100.61”
    Please note: it is 61 there.

    Later in the section “Configure Bind DNS” step 5 it reads the IP addresses 51 and 52 in the following lines
    “racnode1-priv A 172.16.100.51”
    and later
    “racnode2-priv A 172.16.100.52”

    Also in the “step 6. Create the reverse zone file racnode1” we see 51 and 52 again
    “51.100.16.172 PTR racnode1-priv.virtuallab”
    “52.100.16.172 PTR racnode2-priv.virtuallab”

    And later in the section “Configure Second Linux VM” step “4. Setup network interfaces accordingly.”
    the screenshot “https://dbalifeeasy.files.wordpress.com/2016/02/untitled72.png” shows again the IP address 61
    “172.16.100.61”

    Is that correct for the second node? Same IP address as node 1 in step 4?
    In that case why the BIND is configured for 51 and 52?

    Can you please advise what would be correct and consistent values of IP addresses there?
    Thank you!

    Like

    1. Hi Oleg,
      Thanks for reading my blog.
      Sorry about for replaying you late.
      Yes, Enp0s8 is rac-priv adapter, you are correct!
      Yes, you are correct, second node should be 172.16.100.62.

      It is old way ( pre 11gR2 ) for BIND is configured for VIP as 51 and 52.
      For after 11gR2, a cluster created HAIP ( 169.254.x.x ) is created and attached to Priv interface. This HAIP is used as private IP, instead of the old private host(IP). in this case, 172.16.100.51(52) will not be used for after 11gGR2 GI.

      when you run “ifconfig -a”, you will see similar:

      enp0s8: flags=4163 mtu 1500
      inet 172.16.100.61 netmask 255.255.255.0 broadcast 172.16.100.255

      ..

      enp0s8:1: flags=4163 mtu 1500
      inet 169.254.146.121 netmask 255.255.0.0 broadcast 169.254.255.255
      ether 08:00:27:f8:0e:13 txqueuelen 1000 (Ethernet)

      You won’t see any 172.16.100.51(52) in 12c GI.

      Wish my answer helps. Please let me know if still any issues.

      Thanks,
      DBA Life Easy

      Like

    2. Hello Oleg,
      I just had a chance to review this blog, and found it is my fault with typo. I have corrected them accordingly.

      The private IP for node1 and node2 are 172.16.100.61, 172.16.100.62 respectively.

      Like

  2. Hi dbalifeeasy,Thanks for your great article.
    I have followed exactly same method you have described … however, after I configured the setup for nslooup,( nslookup is working FINE ), I am not able to connect with the INTERNET ( though it was working fine before ), could you please assist me on this.
    Regards
    INDRANIL, IBM , KOLKATA

    Like

    1. Hi Indranil,
      Thanks for reading my blog.
      In terms of INTERNET connection, please double check Adapter 3 ( NAT ) tab to make sure Enable Network Adapter. NAT interface is in charge of connecting to internet.
      Good luck !

      Cheers,
      DBA Life Easy

      Like

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.