Oracle 11gR2 - Database PATH Guideline

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Oracle 11gR2 PATH for Linux and Windows

1 Objective
Define the Oracle PATH’s directories for a new database installation on Linux or
Windows operating systems.

2 Process Description for Linux

2.1 Oracle Software Directories: Create the following directories for the Oracle
software.

 Oracle Base Directory: ORACLE_BASE environment variable

Name: /opt/software_owner (software_owner examples: oracle, oraere, oradmi, etc)


Initial size: 10GB.
Permission: chmod 750.

 Oracle Home Directory: ORACLE_HOME environment variable

Name: $ORACLE_BASE/db/11.2.0
Permission: chmod 750, except ORACLE_HOME/bin must be under 751.

 Oracle RDA Directory: Inside ORACLE_BASE you must create these directory to install the
Oracle RDA software.

Name: $ORACLE_BASE/RDA
Permission: chmod 750.

2.2 Oracle Database Administration Files Directories: Automatic Diagnostic Repository


(ADR) directories replace the bdump, cdump, and udump directories.

Reference: <EMP> indicates the Company or Society. Example: TEN for TENARIS,
TAM for TAMSA, NKK for NKKT, etc.

Name: /<EMP>/diag
Initial size: 1GB for each database
Permission: chmod 750

The name “diag” is for the New Oracle 11g Feature call ADR (Automatic Diagnostic
Repository). Always you must use the 11g standard template or specify this
parameter:

DIAGNOSTIC_DES T=’/<EMP>’

Inside the file listener.ora you must configure the ADR parameter, setting
ADR_BASE_LISTENER = /<EMP>

Diagnostic Data 11g Location

Foreground Process traces ADR_HOME/trace/


Background Process traces ADR_HOME/trace/
<Norm Title> 1/5
Diagnostic Data 11g Location

Alert Log Data ADR_HOME/alert/


Core Dump ADR_HOME/incident/In/
Incident Dumps ADR_HOME/incident/In/

2.3 Oracle Database Directories: Place the Oracle Database files on a file system,
following these guideline.

For OMF configuration you must create first all the filesystem structure before the
database creation.

Reference:
o <EMP> indicates the Company or Society. Example: TEN for TENARIS,
TAM for TAMSA, NKK for NKKT, etc.
o <SID> indicates the instance name.

Name:

/<EMP>/<SID>/datafile
All database datafiles.

/<EMP>/ redolog1 /<SID>


Redologs and controlfiles.

/<EMP>/ redolog2 /<SID>


Redologs and controlfiles.

/<EMP>/<SID>/ archivelog
Create for the archive logs, it´s not neccesary if the database is in NOARCHIVELOG
mode.

<Norm Title> 2/5


Permissions: chmod 750.

 For the datafile FS the initial size must support 2 years.


 For each redolog FS the initial size must be 0.5GB.
 For the archivelog FS, the initial size must support 24hours without backup.

2.4 Maintenance Directories: Create these directory for backups task, import/export or
management tasks.

Reference:
o <EMP> indicates the Company or Society. Example: TEN for TENARIS,
TAM for TAMSA, NKK for NKKT, etc.
o <SID> indicates the instance name.

Name: /<EMP>/backup
Initial size: Depends on the database activity but in most cases the size is 5GB .
Permission: chmod 750.

For each database create one directory:

Name: /<EMP>/backup/<SID>

3 Process Description for Windows

3.1 Oracle Software Directories: Create the following directories for the Oracle
software.

 Oracle Base Directory: ORACLE_BASE environment variable

Name: DRIVE_LETTER:\Appls\oracle (DRIVE_LETTER example D: or E:)


Initial size: 10GB.

 Oracle Home Directory: ORACLE_HOME environment variable

Name: $ORACLE_BASE\db\11.2.0

 Oracle RDA Directory: Inside ORACLE_BASE you must create these directory to install the
Oracle RDA software.

Name: $ORACLE_BASE\RDA

3.2 Oracle Database Administration Files Directories: Automatic Diagnostic Repository


(ADR) directories replace the bdump, cdump, and udump directories.

Name: DRIVE_LETTER:\Data\diag
Initial size: 1GB for each database

The name “diag” is for the New Oracle 11g Feature call ADR (Automatic Diagnostic
Repository). Always you must use the 11g standard template or specify this
parameter:

DIAGNOSTIC_DES T=’DRIVE_LETTER:\Data’
<Norm Title> 3/5
Inside the file listener.ora you must configure the ADR parameter, setting
ADR_BASE_LISTENER = DRIVE_LETTER:\Data

Diagnostic Data 11g Location

Foreground Process traces ADR_HOME/trace/


Background Process traces ADR_HOME/trace/
Alert Log Data ADR_HOME/alert/
Core Dump ADR_HOME/incident/In/
Incident Dumps ADR_HOME/incident/In/

3.3 Oracle Database Directories: Place the Oracle Database files on a file system,
following these guideline.

For OMF configuration you must create first all the filesystem structure before the
database creation.

Reference:
o <SID> indicates the instance name.

Name:

DRIVE_LETTER:\Data\<SID>\datafile
All database datafiles.

DRIVE_LETTER:\Data\redolog1\<SID>
Redologs and controlfiles.

<Norm Title> 4/5


DRIVE_LETTER:\Data\redolog2\<SID>
Redologs and controlfiles.

DRIVE_LETTER:\Data\<SID>\archivelog
Create for the archive logs, it´s not neccesary if the database is in NOARCHIVELOG
mode.

 For the datafile FS the initial size must support 2 years.


 For each redolog FS the initial size must be 0.5GB.
 For the archivelog FS, the initial size must support 24hours without backup.

3.4 Maintenance Directories: Create these directory for backups task, import/export or
management tasks.

Reference:
o <SID> indicates the instance name.

Name: DRIVE_LETTER:\Appls\oracle\backup
Initial size: Depends on the database activity but in most cases the size is 5GB.

For each database create one directory:

Name: DRIVE_LETTER:\Appls\oracle\backup\<SID>

Prepared: Revised: Approved:


LM

<Norm Title> 5/5

You might also like