ORACLE_HOME for grid components

Questions relating to Oracle Real Application Clusters (RAC) and Clusterware.

Moderator: Tim...

Posts: 4
Joined: Sun May 27, 2012 2:01 pm

ORACLE_HOME for grid components

Postby edstevens » Fri Jun 01, 2012 12:22 am

In your papers on setting up test systems under vbox, I notice that when you create the two ORACLE_HOMEs (one for db, one for grid components) you create the directories like this:

mkdir -p /u01/app/11.2.0/grid
mkdir -p /u01/app/oracle/product/11.2.0/db_1

My question is why do you put the db home several directory levels lower than the grid home? Why would it not be

mkdir -p /u01/app/oracle/product/11.2.0/grid
mkdir -p /u01/app/oracle/product/11.2.0/db_1


mkdir -p /u01/app/11.2.0/grid
mkdir -p /u01/app/11.2.0/db_1

When you then set ORACLE_BASE=/u01/app/oracle, that puts the home for grid outside of the ORACLE_BASE structure.

What am I missing?

Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK

Re: ORACLE_HOME for grid components

Postby Tim... » Fri Jun 01, 2012 7:23 am


The optimal flexible architecture proposed by Cary millsap during his days at Oracle gave rise to this commonly used directory structure.

Code: Select all


later this changed to include another sub-directory for different installation of the same version.

Code: Select all


Back in the very early days of RAC, everything was under the same ORACLE_BASE and it was common to see this.

Code: Select all


Pretty soon, Oracle started to recommend that having the crs (or now grid infrastruture) under the same ORACLE_BASE was a mistake because CRS/GI needs different permission and ownership of some of the parent directories. For this reason, Oracle moved the inventory (oraInventory) our of the ORACLE_BASE and placed it one directory before.

Code: Select all

# now

# then

You often get people using completely different mount points for GI and ORACLE_HOME.


Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website:
My blog:

Return to “Oracle RAC and Clusterware”

Who is online

Users browsing this forum: No registered users and 1 guest