This post is also available in:
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:
⚙️ Prerequisite: Post 4 completed — Oracle Database installed and RAC database created by DBCA.
In Post 4 the DBCA created the RAC database with all necessary configurations – archive log, UNDO tablespace, listeners, and redo logs are all set up automatically. This post validates that everything is working correctly and serves as a quick reference for day-to-day commands.
Final Validation
Verify the Cluster
crsctl stat res -t
olsnodes -v -n -i -s
crsctl query css votedisk
ocrcheckVerify the Database
srvctl status database -d ORCL -vsu - oracle
db_env
sqlplus / as sysdba
SELECT INST_ID, INSTANCE_NAME, HOST_NAME, STATUS
FROM GV$INSTANCE ORDER BY 1;
-- 1 ORCL1 orclrac1 OPEN
-- 2 ORCL2 orclrac2 OPEN
SELECT NAME, STATE, TOTAL_MB, FREE_MB FROM V$ASM_DISKGROUP;
-- OCR, MGMT, DATA, and FRA should be MOUNTEDVerify SCAN
tnsping orclrac-scan:1521/ORCL
srvctl status scan
srvctl status scan_listenerFinal Checklist
| # | Check | Command | |
|---|---|---|---|
| 1 | Openfiler iSCSI target active | service iscsi-target status | |
| 2 | 6 iSCSI disks on both nodes | `lsblk \ | grep iscsi` |
| 3 | Network connectivity | ping | |
| 4 | Chrony synchronized | chronyc tracking | |
| 5 | Passwordless SSH for oracle | ssh orclrac2 date | |
| 6 | All CRS resources ONLINE | crsctl stat res -t | |
| 7 | 3 voting disks accessible | crsctl query css votedisk | |
| 8 | OCR without errors | ocrcheck | |
| 9 | 2 nodes Active | olsnodes -n -i -s | |
| 10 | OCR, MGMT, DATA and FRA MOUNTED | V$ASM_DISKGROUP | |
| 11 | ORCL1 and ORCL2 in OPEN | GV$INSTANCE | |
| 12 | Archive log mode active | ARCHIVE LOG LIST | |
| 13 | UNDOTBS1 and UNDOTBS2 active | DBA_TABLESPACES | |
| 14 | SCAN listener responding | tnsping orclrac-scan | |
| 15 | Alert.log free of critical ORA- errors | tail alert_ORCL1.log |
Quick Reference
Switch Environment
grid_env # ASM / Clusterware → ORACLE_SID=+ASM1 or +ASM2
db_env # Database → ORACLE_SID=ORCL1 or ORCL2Cluster Management
| Operation | Command |
|---|---|
| Overall status | crsctl stat res -t |
| Check cluster | crsctl check cluster -all |
| List nodes | olsnodes -v -n -i -s |
| Voting disks | crsctl query css votedisk |
| Backup OCR | ocrconfig -manualbackup |
Database Management
| Operation | Command |
|---|---|
| Start database | srvctl start database -d ORCL |
| Stop database | srvctl stop database -d ORCL -o immediate |
| Start instance | srvctl start instance -d ORCL -i ORCL1 |
| Status | srvctl status database -d ORCL -v |
| SCAN status | srvctl status scan |
iSCSI
| Operation | Command |
|---|---|
| Check sessions | iscsiadm -m session -P 1 |
| List configured nodes | iscsiadm -m node |
| Reconnect | iscsiadm -m node --loginall=automatic |
| Openfiler target status | service iscsi-target status |
Chrony
| Operation | Command |
|---|---|
| Status | chronyc tracking |
| View sources | chronyc sources -v |
| Force sync | chronyc makestep |
Essential Logs
| Log | Location |
|---|---|
| Grid installation | /tmp/GridSetupActions*.log |
| CRS daemon | $ORACLE_BASE/diag/crs/orclrac1/crs/trace/crsd.trc |
| Alert log ORCL1 | $ORACLE_BASE/diag/rdbms/orcl/ORCL1/trace/alert_ORCL1.log |
| Alert log ORCL2 | $ORACLE_BASE/diag/rdbms/orcl/ORCL2/trace/alert_ORCL2.log |
| Full diagnostic | tfactl diagcollect -last 2h |
Conclusion
Throughout this series we built a complete Oracle RAC 12.2 from scratch on VMware Workstation:
- Intro: RAC architecture, components, and reference environment
- Post 1: VMware networks and Openfiler iSCSI storage
- Post 2: Oracle Linux on both nodes, clone, and iSCSI Initiator
- Post 3: Grid Infrastructure with all OUI screens and known errors
- Post 4: Oracle Database Software and DBCA with every option explained
- Post 5: Environment validation and command quick reference
The environment is ready for high availability testing, failover scenarios, performance tuning, and any Oracle RAC study topic you want to explore.
