Database Administration (MOSC)

MOSC Banner

Typical linux environment variables to set?

edited Mar 25, 2018 5:04AM in Database Administration (MOSC) 4 commentsAnswered

I'm curious what people tend to set as a typical 'oracle' OS user environment variables.

- we have RAC nodes (1 or more nodes)

- non-shared GRID_HOMEs (ie. /u01/app/grid/12.1.0)

- multiple ORACLE_HOMEs per rac cluster (ie. /u01/app/oracle/orcldev_bin/12.1.0, /u01/app/oracle/osbdev_bin/12.1.0)

when we're on a system, we setup environment files to change the necessary stuff.

vi ORCLDEV.env

-----------------------------------------

ORACLE_SID=ORCLDEV1

ORACLE_BASE=/u01/app/oracle/orcldev_bin

ORACLE_HOME=$ORACLE_BASE/12.1.0

PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH

GRID_BASE=/u01/app/grid

GRID_HOME/u01/app/12.1.0/grid

-----------------------------------------

My issue is that ORACLE_SID is a RAC instance name, so ORCLDEV1 doesn't reflect the name of the database to me.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center