# $Header: opatch/platform_opatches/platform_crs/226/crs/s_crsconfig_defs /st_opatch_11.2/1 2011/02/01 22:45:46 skkurapa Exp $
#
# s_crsconfig_defs
#
# Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. 
#
#    NAME
#      s_crsconfig_defs - Standard OSD definitions for root scripts
#
#    DESCRIPTION
#      s_crsconfig_defs - Standard OSD defines used for Oracle clusterware
#                         and SI-HAS configurations
#
#    MODIFIED   (MM/DD/YY)
#    fjlee       06/03/10 - bug 9391709 change K19ohasd to K15ohasd,
#                           add /etc/rc.d/rc3.d to RCKDIR, and set
#                           RC_KILL_OLD2=K19
#    dpham       02/08/10 - Bug 8739647
#    stpolu      12/17/09 - Bug 9084067
#    jleys       07/18/09 - Use OLRCONFIGDIR for OLRCONFIG
#    bmanry      06/24/08 - add Last Gasp directory
#    hqian       06/19/08 - Add setasmgid location constant
#    srisanka    01/14/08 - Creation
# ==========================================================
# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. 
#
# s_crsconfig_defs - The script should be used for Oracle Clusterware, RAC,
#                    and SI-HAS home installations and configurations   
#
# ==========================================================

# this will be set only in dev env
DIRPREFIX=

############### OCR constants
# OCRCONFIGDIR, OLRCONFIGDIR and SRVCONFIGDIR are handled differently in dev
# (T_HAS_WORK for all)
OCRCONFIGDIR=/etc/oracle
OLRCONFIGDIR=/etc/oracle
SRVCONFIGDIR=/var/opt/oracle

SRVCFGLOC=srvConfig.loc
OCRLOC=ocr.loc
OLRLOC=olr.loc
SRVCONFIG=$SRVCONFIGDIR/$SRVCFGLOC
OCRCONFIG=$OCRCONFIGDIR/$OCRLOC
OLRCONFIG=$OLRCONFIGDIR/$OLRLOC

############### SCR constants
SCRBASE=$OCRCONFIGDIR/scls_scr

############## INIT directory constants
ID=$DIRPREFIX/etc/init.d
RCSDIR=$DIRPREFIX/etc/rc.d/rc3.d $DIRPREFIX/etc/rc.d/rc5.d
RCKDIR=$DIRPREFIX/etc/rc.d/rc0.d $DIRPREFIX/etc/rc.d/rc1.d $DIRPREFIX/etc/rc.d/rc2.d $DIRPREFIX/etc/rc.d/rc3.d $DIRPREFIX/etc/rc.d/rc4.d $DIRPREFIX/etc/rc.d/rc6.d
RCALLDIR=$DIRPREFIX/etc/rc.d/rc0.d $DIRPREFIX/etc/rc.d/rc1.d $DIRPREFIX/etc/rc.d/rc2.d $DIRPREFIX/etc/rc.d/rc3.d $DIRPREFIX/etc/rc.d/rc4.d $DIRPREFIX/etc/rc.d/rc5.d $DIRPREFIX/etc/rc.d/rc6.d
RC_START=S96
RC_KILL=K15
RC_KILL_OLD=K96
RC_KILL_OLD2=K19
IT=$DIRPREFIX/etc/inittab
INIT=/sbin/init

# File that $LOGMSG in init.cssd (and other places) will write
MSGFILE=/var/adm/messages

############ oprocd constants
OPROCDDIR=$OCRCONFIGDIR/oprocd
DISABLE_OPROCD=0
# some directories for OPROCD to store the domain
# sockets we use for client communication
OPROCDCHECKDIR=$OPROCDDIR/check
OPROCDSTOPDIR=$OPROCDDIR/stop
OPROCDFATALDIR=$OPROCDDIR/fatal

####### Last Gasp file directory for Linux
OLASTGASPDIR=$DIRPREFIX/etc/oracle/lastgasp

####### Platform specific definitions
SO_EXT=so
EXTERNAL_ORACLE=$DIRPREFIX/opt/oracle
EXTERNAL_ORACLE_BIN=$DIRPREFIX/opt/oracle/bin

####### limits constant
CRS_LIMIT_CORE=unlimited
CRS_LIMIT_MEMLOCK=unlimited
CRS_LIMIT_OPENFILE=65536
CRS_LIMIT_STACK=2048