[QA] RAC Database On Oracle Cloud (OCI) IP Address Requirement

RAC On OCI
Oracle

Share Post Now :

HOW TO GET HIGH PAYING JOBS IN AWS CLOUD

Even as a beginner with NO Experience Coding Language

Explore Free course Now

Table of Contents

Loading

This post covers one of the Q/As asked in our DBA To Cloud DBA Training live session  (for free masterclass Register herethat how IP Address Space Allocation In 1-node or 2-node RAC  In compute/bare metal DB system in Oracle Cloud Infrastructure (OCI)

In generic 1-node Oracle database is a single database instance working for your application &  RAC (Real Application Cluster) is (more than one node) multiple databases instances supporting your application at the same time & Oracle RAC (Real Application Cluster) provides high availability and scalability for Oracle Database. To know more about RAC in Cloud Check here

2-node RAC In OCI

Key Points About RAC In Cloud (OCI)

  • In Oracle Cloud Infrastructure User-Managed Database can be created on
    1) Virtual Machine
    2) Bare Metal
    3) Exadata 2-node
    You can create a RAC database either on VM based DB System & Exadata based DB System.
    Note: RAC is not supported in Bare Metal DB System.
  • Database editions supported in Oracle Cloud Infrastructure are
    1) Standard Edition
    2) Enterprise Edition
    3) Enterprise Edition – High Performance
    4) Enterprise Edition – Extreme Performance supports 2-node RAC DataBase systems.
  • You can set up the maximum of  2-node RAC in VM DB System
  • You can set up a maximum of 8-node RAC in Exadata DB System
  • When you provision a 2-node RAC DataBase systems, the system assigns each node to a different fault domain. To know more about fault domain Check here

Creating RAC Database on Oracle Cloud Infrastructure (OCI)

To create a 2-node DB System in Oracle Cloud Infrastructure (OCI), go to the cloud console and click on launch DB System then under Total Node Count, select 2 & Oracle Database Software Edition should be Enterprise Edition – Extreme Performance.

To know the complete the process of Creating DB System in Oracle Cloud Infrastructure Check here

RAC IN OCI

Also read: Overview of Oracle Data Guard In Oracle Cloud Infrastructure

IP Address Space Allocation In 1-node or 2-node RAC DataBase system In OCI

When you create DB System in Oracle Cloud Infrastructure, the very first thing you need to create Virtual Cloud Network and within that network, you create subnets which can be either public or private based on your requirement, so while creating subnets you need to have clarity that what  will be your CIDR range you should give & how many IP’s are required  if you are creating either 1-node or 2-node RAC  In compute /bare metal DB system in Oracle Cloud Infrastructure.

To know more about various Networking Components such as VCN, Subnet (Public /Private), CIDR, IGW, DRG, etc check here

1-Node Bare Metal or Virtual Machine DB System

Below is the complete IP address allocation for 1-node DB System.

  • 1 IP for Client Request
  • 3 IP’s are reserved for Subnet
  • Minimum Subnet CIDR range we should define when we creating 1-Node Bare Metal or Virtual Machine DB System will be /30 ie  equivalent to 4 IP’s

2-Node RAC Virtual Machine

Note: If you are creating DB System In either in VM or Compute in Oracle Cloud Infrastructure, 2-Node RAC is only supported in Virtual Machine DB System. To know more about Database Offerings in Oracle Cloud Infrastructure Check here

Below is the complete IP address allocation for 2-node DB System.

  • 4 IPs for Database host  1 IP per node for Client Request, 1 IP per node for Private InterConnect
    3 IPs for SCAN listener
  • 3 IP’s are reserved for Subnet
  • Minimum Subnet CIDR range we should define when we creating 2-Node Virtual Machine DB System will be /28 ie equivalent to 16 IP’s.

Subnet In OCI

Note: Best Practices says always use the larger CIDR value for you subnet as once subnet is created you cannot change the CIDR value.

Hope you find this useful and have a clear understanding of IP Addresses allocation in 1 -node & 2-node DB System in Oracle Cloud Infrastructure.

Stay tuned for my upcoming blogs in Database in OCI

Related/Further Readings

Next Task For You

If you want to take your career to the next level by switching your role from that of DBA To Cloud DBA even if you are a beginner, then I would like to invite you to Join my FREE Masterclass on DBA To Cloud DBA: What, Why & How to Learn.

Click on the image below to Register For FREE Masterclass.

Cloud dba masterclass

Picture of mike

mike

I started my IT career in 2000 as an Oracle DBA/Apps DBA. The first few years were tough (<$100/month), with very little growth. In 2004, I moved to the UK. After working really hard, I landed a job that paid me £2700 per month. In February 2005, I saw a job that was £450 per day, which was nearly 4 times of my then salary.