Typical linux environment variables to set?
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.