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

Oracle home is already provisioned for the target – Fleet Maintenance

2026-04-16 Oracle By Henrique

OEM PAM Authentication Failure — Fix with SSH Key Named Credentials

2026-04-16 Tools By Henrique

PRCD-1229 — srvctl Refuses Database Access After Manual Upgrade in Oracle RAC

2026-04-16 Oracle By Henrique
YouTube LinkedIn RSS
  • 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
    • RAC
  • Performance
  • Tools
  • Troubleshooting
  • Python
  • Shell Script
Execute StepExecute Step
Home » Oracle RAC 12.2 on VMware Workstation — Post 4: Oracle Database Installation and DBCA
Oracle RAC

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

HenriqueBy Henrique2026-04-11Updated:2026-04-125 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 Openfiler iSCSI Storage
Post 2 — Oracle Linux Configuration and iSCSI Initiator
Post 3 — Grid Infrastructure 12.2 Installation
Post 4 — Oracle Database Installation and DBCA ← this post
Post 5 — Post-Installation and Final Validation

⚙️ Prerequisite: Post 3 completed — Grid Infrastructure installed and cluster with two active nodes (crsctl stat res -t clean).

In Post 3 we installed Grid Infrastructure and the cluster is up with two active nodes. Now we’ll install the Oracle Database software and create the RAC database using DBCA.

💡 In practice: DBCA in Advanced mode has many screens with choices that permanently affect database behavior — character set and block size cannot be changed later. This post documents every decision with the technical reasoning behind it.


Install Oracle Database Software 12.2

Prepare the Installer

cd /u01/stage
unzip -q /u01/stage/linuxx64_12201_database.zip

After unzipping, the /u01/stage/database/ directory is created with the installer.

orclrac2 doesn’t need to unzip — the OUI copies the binaries automatically over SSH.

Run the Database OUI

ssh -X oracle@192.168.15.170

su - oracle
db_env
cd /u01/stage/database
./runInstaller

Screen sequence:

Step 1 — Configure Security Updates

  • Uncheck update notifications — click Next and confirm

Step 2 — Installation Option

  • Install database software only

Step 3 — Grid Installation Options

  • Oracle Real Application Clusters database installation

Step 4 — Nodes Selection

  • Check: orclrac1 and orclrac2

Step 5 — Database Edition

  • Enterprise Edition

Step 6 — Installation Location

FieldValue
Oracle Base/u01/app/oracle
Software Location/u01/app/oracle/product/12.2.0/dbhome_1

Step 7 — Operating System Groups

GroupValue
OSDBAdba
OSOPERoper
OSBACKUPDBAbackupdba
OSDGDBAdgdba
OSKMDBAkmdba
OSRACDBAracdba

Step 8 — Prerequisite Checks

  • Resolve any errors before proceeding

Step 9 — Summary → Install

Run root.sh

Can be run on both nodes simultaneously:

/u01/app/oracle/product/12.2.0/dbhome_1/root.sh

Create the RAC Database (DBCA)

ssh -X oracle@192.168.15.170

su - oracle
db_env
dbca

Instalation

Step 1 — Database Operation

  • Create a database

Step 2 — Creation Mode

  • Advanced Configuration

Step 3 — Deployment Type

FieldValue
Database typeOracle Real Application Clusters (RAC) database
Configuration typeAdmin Managed
TemplateCustom Database

Admin Managed: the DBA controls which nodes run the database. Policy Managed is for large environments where Clusterware decides automatically.

Custom Database: fully manual configuration — more educational. General Purpose comes pre-configured. Data Warehouse is optimized for analytical workloads.

Step 4 — Nodes Selection

  • Check: orclrac1 and orclrac2

Step 5 — Database Identification

FieldValue
Global database nameorcl
SID PrefixORCL
Create as Container databaseunchecked

The SID Prefix automatically generates ORCL1 on orclrac1 and ORCL2 on orclrac2. Container Database is the 12c multitenant architecture — we leave it unchecked for a traditional non-CDB database.

Step 6 — Storage Option

FieldValue
Database files storage typeAutomatic Storage Management (ASM)
Database files location+DATA/{DB_UNIQUE_NAME}
Use Oracle-Managed Files (OMF)✅ checked

OMF automatically manages file naming and location — datafiles, redo logs, and control files.

Step 7 — Fast Recovery Option

FieldValue
Specify Fast Recovery Area✅ checked
Recovery files storage typeASM
Fast Recovery Area+FRA
Fast Recovery Area size34000 MB
Enable archiving✅ checked

Archive Log Mode is required for backup and recovery.

Step 8 — Database Options

ComponentLab
Oracle JVM✅ Keep
Oracle Text✅ Keep
Oracle MultimediaOptional
Oracle OLAPOptional
Oracle SpatialOptional
Oracle Label SecurityNot needed
Oracle Application ExpressOptional
Oracle Database VaultNot needed

Install only what the application actually uses. Unused components increase the attack surface, consume space, and add complexity to patching and upgrade processes.

Step 9 — Configuration Options

Memory tab:

FieldValue
ManagementAutomatic Shared Memory Management (ASMM)
SGA Size2388 MB
PGA Size797 MB

Do not use Automatic Memory Management (AMM) in RAC — AMM uses HugePages inefficiently in environments with multiple instances.

Sizing tab:

FieldValue
Block size8192 bytes (8 KB)
Processes320

Block size cannot be changed after database creation.

Character sets tab:

FieldValue
Database character setAL32UTF8
National character setAL16UTF16

AL32UTF8 is mandatory for new databases — it supports all languages. Cannot be changed after database creation without rebuilding or migrating the database.

Connection mode tab:

  • Dedicated Server Mode

Dedicated is the recommended standard for RAC. Shared Server only makes sense with thousands of short-lived connections without a connection pool.

Sample schemas tab:

  • Add sample schemas: unchecked

Step 10 — Management Options

OptionValue
Run CVU checks periodically✅ checked
Configure Enterprise Manager (EM) database expressunchecked
Register with EM Cloud Controlunchecked

In production, monitoring is done through Oracle Enterprise Manager Cloud Control — not through the EM Express embedded in the database.

Step 11 — User Credentials

  • Use the same administrative password for all accounts
  • Password: Welcome1

In production, always use separate, complex passwords for SYS, SYSTEM, and DBSNMP.

Step 12 — Creation Option

OptionValue
Create database✅ checked
Save as a database templateunchecked
Generate database creation scriptsunchecked

Step 13 — Prerequisite Checks

Review errors — see the Known Errors section.

Step 14 — Summary → Finish

Step 15 — Progress Page

  • Wait for creation to complete

Step 16 — Finish → Close


Known Errors

resolv.conf overwritten after reboot

Symptom: The resolv.conf Integrity check fails in the Database OUI after a reboot.

Cause: NetworkManager overwrites /etc/resolv.conf on boot.

Fix:

lsattr /etc/resolv.conf

chattr +i /etc/resolv.conf

Or via NetworkManager:

echo "dns=none" >> /etc/NetworkManager/NetworkManager.conf
systemctl restart NetworkManager

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

Next Up

In Post 5 we’ll configure RAC-specific parameters in the SPFILE, enable archive log mode, and validate the full environment.


asm clusterware dbca grid-infrastructure installation lab oracle-database oracle-rac
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
Previous ArticleOracle RAC 12.2 on VMware Workstation – Post 3: Grid Infrastructure Installation
Next Article Oracle RAC 12.2 on VMware Workstation – Post 5: Post-Installation and Final Validation

Related Posts

Oracle

Oracle home is already provisioned for the target – Fleet Maintenance

2026-04-16
Read More
Oracle

PRCD-1229 — srvctl Refuses Database Access After Manual Upgrade in Oracle RAC

2026-04-16
Read More
OEM

EMD runCollection Error – OEM Agent Running but Not Collecting Metrics

2026-04-14
Read More
Add A Comment
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
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.