Close Menu
  • Home
  • Oracle
    • ASM
    • Data Guard
    • OEM
    • RAC
  • MongoDB
  • Performance
  • Python
  • Shell Script
  • Tools
  • Troubleshooting
Search

Oracle RAC 12.2 on VMware Workstation — Post 5: Final Validation and Quick Reference

2026-05-11 Oracle By Henrique

Oracle RAC 12.2 on VMware Workstation – Post 4: Oracle Database Installation and DBCA

2026-05-11 Oracle By Henrique

Oracle RAC 12.2 on VMware Workstation — Post 2: Oracle Linux Configuration and iSCSI

2026-05-11 Oracle By Henrique
YouTube LinkedIn RSS
  • Home
  • About
  • Contact
  • Legal
    • Cookie Policy
    • Disclaimer
    • Privacy Policy
    • Terms of Use
  • RSS
  • English
    • Portuguese (Brazil)
Execute StepExecute Step
YouTube LinkedIn RSS
  • Home
  • Oracle
    • ASM
    • Data Guard
    • OEM
    • RAC
  • MongoDB
  • Performance
  • Python
  • Shell Script
  • Tools
  • Troubleshooting
Execute StepExecute Step
Home » Oracle RAC 12.2 on VMware Workstation — Post 3: Grid Infrastructure Installation
Oracle RAC

Oracle RAC 12.2 on VMware Workstation — Post 3: Grid Infrastructure Installation

HenriqueBy Henrique2026-05-11Updated:2026-05-181 Comment7 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email Telegram WhatsApp

This post is also available in: Português (Portuguese (Brazil))

Series: Oracle RAC 12.2 — Complete Installation on VMware Workstation


📌 About this series: This guide covers Oracle RAC 12c, which is out of support. The goal is to document learning and revisit concepts — not to recommend this version for production. Read the full context in the series overview →

📋 This series — Oracle RAC 12.2 on VMware Workstation:

Series posts
Series Overview — RAC architecture, environment, and software
Post 1 — VMware Setup and targetcli iSCSI Storage
Post 2 — Oracle Linux Configuration and iSCSI Initiator
Post 3 — Grid Infrastructure 12.2 Installation ← this post
Post 4 — Oracle Database Installation and DBCA
Post 5 — Final Validation and Quick Reference

⚙️ Prerequisite: Post 2 completed — Oracle Linux configured on both nodes, iSCSI connected, and SSH equivalence validated.


💡 In practice: Grid is the most sensitive part of the entire RAC installation. Most failures don’t happen during the installation itself — they happen because of misconfigured prerequisites: wrong UDEV rules, SCAN not resolving, GIMR ignored. This post documents every error encountered in the lab.

The entire installation is performed from orclrac1.


Preparation

Configure UDEV for ASM Disks

Run as root on both nodes:

cat > /etc/udev/rules.d/99-oracle-asmdevices.rules << 'EOF'
KERNEL=="sdc", SUBSYSTEM=="block", OWNER="oracle", GROUP="dba", MODE="0660"
KERNEL=="sdh", SUBSYSTEM=="block", OWNER="oracle", GROUP="dba", MODE="0660"
KERNEL=="sdg", SUBSYSTEM=="block", OWNER="oracle", GROUP="dba", MODE="0660"
KERNEL=="sdf", SUBSYSTEM=="block", OWNER="oracle", GROUP="dba", MODE="0660"
KERNEL=="sde", SUBSYSTEM=="block", OWNER="oracle", GROUP="dba", MODE="0660"
KERNEL=="sdd", SUBSYSTEM=="block", OWNER="oracle", GROUP="dba", MODE="0660"
EOF

udevadm control --reload-rules && udevadm trigger

ls -la /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh

Prepare the Grid Installer

The Grid Infrastructure zip is extracted directly into the ORACLE_HOME (/u01/app/12.2.0/grid), not into a separate directory. The installer expects to find the files at that exact location.

cd /u01/app/12.2.0/grid
unzip -q /u01/stage/linuxx64_12201_grid_home.zip

orclrac2 does not need to unzip — the OUI copies the binaries automatically over SSH.

Install cvuqdisk on Both Nodes

rpm -ivh /u01/app/12.2.0/grid/cv/rpm/cvuqdisk-1.0.10-1.rpm

scp /u01/app/12.2.0/grid/cv/rpm/cvuqdisk-1.0.10-1.rpm root@orclrac2:/tmp/
rpm -ivh /tmp/cvuqdisk-1.0.10-1.rpm

Configure Local DNS (dnsmasq)

The OUI validates SCAN via nslookup, which doesn’t read /etc/hosts. Without DNS, the DNS/NIS check fails.

chattr -i /etc/resolv.conf
cat > /etc/resolv.conf << 'EOF'
search oracle.local
nameserver 8.8.8.8
EOF

yum install -y dnsmasq

cat > /etc/dnsmasq.conf << 'EOF'
no-resolv
no-poll
listen-address=127.0.0.1,192.168.15.170
bind-interfaces
domain=oracle.local
local=/oracle.local/
EOF

systemctl enable dnsmasq && systemctl start dnsmasq

cat > /etc/resolv.conf << 'EOF'
search oracle.local
nameserver 192.168.15.170
EOF

chattr +i /etc/resolv.conf

On orclrac2:

chattr -i /etc/resolv.conf
cat > /etc/resolv.conf << 'EOF'
search oracle.local
nameserver 192.168.15.170
EOF
chattr +i /etc/resolv.conf

Validate:

nslookup orclrac-scan

Grid Infrastructure Installation

ssh -X oracle@192.168.15.170

Install X11 support packages if needed:

yum install -y xorg-x11-utils xorg-x11-xauth

xorg-x11-utils and xorg-x11-xauth are usually already installed by the oracle-database-server-12cR2-preinstall package. If the command returns already installed, proceed normally.

cd /u01/app/12.2.0/grid
./gridSetup.sh

All 19 OUI Screens

Step 1 — Configuration Option: Configure Oracle Grid Infrastructure for a New Cluster

Step 2 — Cluster Configuration: Configure an Oracle Standalone Cluster

Step 3 — Grid Plug and Play:

  • Cluster Name: orclrac-cluster
  • SCAN Name: orclrac-scan / SCAN Port: 1521 / GNS: unchecked

Step 4 — Cluster Node Information — Click “Add”:

FieldValue
Public Hostnameorclrac2
Node RoleHUB
Virtual Hostnameorclrac2-vip

Click “SSH Connectivity”, enter the oracle password → “Setup”. Both nodes should return “Succeeded”.

Step 5 — Network Interface Usage:

InterfaceType
eth0Public
eth1ASM & Private
eth2Do Not Use

Step 6 — Storage Option: Configure ASM using block devices

Step 7 — Grid Infrastructure Management Repository: Yes

Selecting Yes is mandatory. With No, the OUI returns [INS-30515] even with External redundancy, because Oracle reserves additional space in the OCR disk group for internal CRS data.

Step 8 — Create ASM Disk Group (OCR):

FieldValue
Disk group nameOCR
RedundancyExternal
Allocation Unit Size4 MB
Disks/dev/sdc, /dev/sdh, /dev/sdg
ASM Filter Driverunchecked

Step 9 — Create ASM Disk Group (MGMT — GIMR):

FieldValue
Disk group nameMGMT
RedundancyExternal
Disks/dev/sdf (40 GB)

Step 10 — ASM Password: Welcome1

Step 11 — Failure Isolation: Do not use IPMI (virtual environment)

Step 12 — Management Options: EM Cloud Control unchecked

Step 13 — Privileged OS Groups:

GroupValue
OSASMdba
OSDBA for ASMasmdba
OSOPER for ASMasmoper

Step 14 — Installation Location:

FieldValue
Oracle Base/u01/app/oracle
Software Location/u01/app/12.2.0/grid

Warning [INS-40109] is expected — click Yes.

Step 15 — Create Inventory: /u01/app/oraInventory / group oinstall

Step 16 — Root Script Execution: Automatically run configuration scripts + root password

Step 17 — Prerequisite Checks — see Known Errors section

Step 18 — Summary → Install

Step 19 — Install Product / Finish — wait for completion


Create DATA and FRA Disk Groups

Via sqlplus

The grid_env and db_env aliases were created in Post 2, Environment Variables section.

su - oracle
grid_env
sqlplus / as sysasm
CREATE DISKGROUP DATA EXTERNAL REDUNDANCY
  DISK '/dev/sde' NAME DATA1
  ATTRIBUTE 'compatible.asm'='12.2','compatible.rdbms'='12.2';

CREATE DISKGROUP FRA EXTERNAL REDUNDANCY
  DISK '/dev/sdd' NAME FRA1
  ATTRIBUTE 'compatible.asm'='12.2','compatible.rdbms'='12.2';

SELECT NAME, STATE, TOTAL_MB, FREE_MB FROM V$ASM_DISKGROUP;

Via asmca (GUI)

su - oracle
grid_env
asmca

Right-click Disk Groups → Create:

For DATA:

  • Disk Group Name: DATA / Redundancy: External (None) / Select: /dev/sde / OK

For FRA:

  • Disk Group Name: FRA / Redundancy: External (None) / Select: /dev/sdd / OK

Verify Grid

crsctl stat res -t
olsnodes -n -i -s
crsctl query css votedisk
ocrcheck

Known Errors

Swap Size — Warning

Symptom: Swap Size appears as Warning on the Prerequisite Checks screen.

Fix: If swap was configured in Post 2, this warning should not appear. If it does, check Ignore All and proceed — it’s a Warning only.

Network Time Protocol (NTP) / chrony — Failed

Symptom: Network Time Protocol (NTP) and chrony daemon is synchronized appear as Failed.

Fix: If chrony was configured correctly in Post 2 with Google NTP servers, close the OUI, confirm synchronization with chronyc sources, and reopen the installer.

[INS-30515] Insufficient space available in the selected disks

Cause 1: NORMAL redundancy with 10 GB disks. Fix: Use External redundancy.

Cause 2: GIMR disk (/dev/sdf) has less than ~38 GB. Fix: Make sure lun-gimr.img was created with at least 40960 MB on vpslab.

INS-41808 / INS-30064 — Missing ASM groups on orclrac2

Symptom: user "oracle" does not belong to the OS group "asmoper" on remote nodes

groupadd -g 54327 asmdba
groupadd -g 54328 asmoper
groupadd -g 54329 asmadmin
usermod -a -G asmadmin,asmoper,asmdba oracle

Device Checks for ASM — Group mismatch

Symptom: Group of device "/dev/sdc" did not match. [Expected = "dba"; Found = "asmadmin"]

sed -i 's/GROUP="asmadmin"/GROUP="dba"/' \
  /etc/udev/rules.d/99-oracle-asmdevices.rules
udevadm control --reload-rules && udevadm trigger

DNS/NIS — SCAN failed to resolve

Fix: Configure dnsmasq as described. If the check persists, click “Ignore All” — the cluster will work correctly.

resolv.conf overwritten by NetworkManager after reboot

echo "[main]
dns=none" >> /etc/NetworkManager/NetworkManager.conf

systemctl restart NetworkManager

cat > /etc/resolv.conf << 'EOF'
search oracle.local
nameserver 192.168.15.170
EOF

chattr +i /etc/resolv.conf

ORA-15030 — diskgroup name is in use

Fix: Reboot both servers — ASM clears inconsistent state on boot.


Next Up

In Post 4 we’ll install Oracle Database software and create the RAC database with DBCA.


asm clusterware grid-infrastructure installation lab oracle-database oracle-linux oracle-rac
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
Previous ArticleOracle RAC 12.2 on VMware Workstation – Post 1: VMware Setup and iSCSI Target with targetcli
Next Article Oracle RAC 12.2 on VMware Workstation — Post 2: Oracle Linux Configuration and iSCSI

Related Posts

Oracle

Oracle RAC 12.2 on VMware Workstation — Post 5: Final Validation and Quick Reference

2026-05-11
Read More
Oracle

Oracle RAC 12.2 on VMware Workstation – Post 4: Oracle Database Installation and DBCA

2026-05-11
Read More
Oracle

Oracle RAC 12.2 on VMware Workstation — Post 2: Oracle Linux Configuration and iSCSI

2026-05-11
Read More
View 1 Comment

1 Comment

  1. Pingback: Oracle RAC 12.2 on VMware Workstation — Series Overview | Execute Step

Leave A Reply Cancel Reply

Demo
Follow Me
  • Email
  • GitHub
  • LinkedIn
  • RSS
  • YouTube

INS-06006 – Passwordless SSH Connectivity Not Set Up

2026-02-2614 Views

ORA-29548 — How to Fix “Java System Class Reported” in Oracle Database

2026-03-0510 Views

PRVG-2002 — How to Fix “Encountered Error in Copying File” in Oracle RAC

2026-03-078 Views
Demo
Blogroll
  • oravirt
Execute Step
YouTube LinkedIn RSS
  • Home
  • About
  • Contact
  • RSS
  • English
    • Português (Portuguese (Brazil))
© 2026 ExecuteStep. Designed by ThemeSphere.

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.