Professional Documents
Culture Documents
oinstall
SYSDBA
OSDBA
dba
Database Operator
SYSOPER
OSOPER
oper
ASM Administrator
SYSASM
OSASM
asm
asmdba
Note that members of the UNIX group oinstallare considered the "owners" of the Oracle software. Members of the dbagroup can
administer Oracle databases, for example starting up and shutting down databases. New to Oracle 11g is the SYSASM privilege that is
specifically intended for performing ASM administration tasks. Using the SYSASM privilege instead of the SYSDBA privilege provides a
clearer division of responsibility between ASM administration and database administration. OSASMis a new operating system group that is
used exclusively for ASM. Members of theOSASMgroup can connect as SYSASM using operating system authentication and have full
access to ASM. The final group (asmdba) is the OSDBAGroup for ASM. You must create an OSDBAgroup for ASM to provide access to the
ASM instance. This is necessary if OSASMand OSDBAare different groups. In this article, we are creating the oracleuser account to have
all responsibilities!
Note that although we will be creating the ASM O/S group and granting it to
the oracleuser account, this article does not make use of ASM. Any mention
of ASM in this article is for documentation purposes only!
The UNIX group oinstallis used by organizations that have separate teams responsible for maintaining the Oracle software and the
database(s). In situations like this, the group membership prevents unauthorized access to the database by personal who only maintain
the Oracle software. At the same time, it also prevents database administrators from making modifications to the database software and
the installation's Inventory directory.
If you intend to use the oinstallgroup during the installation process, then you must set the default group to the one that will be
maintaining the database before creating the database or permission problems will arise. In this article, we will be taking care of this issue
when we install the database software.
The thing to keep in mind is that the UNIX oinstallgroup (as well as oper, and asm) is completely optional and is not required if the
same individuals will be maintaining the Oracle software, database, and ASM (if used). Some consider it unnecessary work which adds
another layer of complexity to the maintenance of the installation. In this type of scenario, all that would be required is the UNIX
group dba(and assigning dbaas the primary UNIX group for the "oracle" user account).
This article (along with other Oracle installation guides on this site) adhere to the Optimal Flexible Architecture (OFA) and create both
the oinstalland dbaUNIX groups.
This guide adheres to the Optimal Flexible Architecture (OFA) for naming
conventions used in creating the directory structure.
1/2
3/14/2015
User
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
alias ls="ls -FA"
alias s="screen -DRRS iPad -t iPad"
export JAVA_HOME=/usr/local/java
# User specific environment and startup programs
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
export ORACLE_PATH=$ORACLE_BASE/dba_scripts/common/sql:.:$ORACLE_HOME/rdbms/admin
export ORACLE_SID=TESTDB
export PATH=.:${JAVA_HOME}/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin
export PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
export PATH=${PATH}:$ORACLE_BASE/dba_scripts/common/bin
export ORACLE_TERM=xterm
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLS10=$ORACLE_HOME/nls/data
export NLS_DATE_FORMAT="DD-MON-YYYY HH24:MI:SS"
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
export CLASSPATH=$ORACLE_HOME/JRE
export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
export THREADS_FLAG=native
export TEMP=/tmp
export TMPDIR=/tmp
data:text/html;charset=utf-8,%3Cdiv%20class%3D%22article-header%22%20style%3D%22margin%3A%200px%3B%20outline%3A%20none%3B%20padding
2/2