Linux Environment variables to simplify your life – OBIEE 11g System Administrator Edition

Share
As I spend a lot of time switching between a very well defined set of directories in the Oracle Middleware home for OBIEE 11g I have been developing a list of variables that I like to use in my scripts and configure in the servers that I most commonly work with. They have proven to be very useful in being able to remember where each component or file has been moved with the upgrade to 11g.
#########################
### OBI 11g Variables ###
#########################
#use INST_NUM to simplify the setting of all other instance related variables
export INST_NUM=1 #Most developer workstations will only have one instance
#Middleware home
export MW_HOME=/u01/app/oracle/Middleware/
#Enterprise Manager Home
export OBIEM=$MW_HOME/Oracle_BI1
#Oracle Instance (contains services, config, domain, etc)
export ORACLE_INSTANCE=$MW_HOME/instances/instance$INST_NUM
#Configuration File Directory (Most of them)
export OBICFG=$ORACLE_INSTANCE/config
#Cache Directory (out of the box location)
export OBI_CACHE=$ORACLE_INSTANCE/bifoundation/OracleBIServerComponent/coreapplication_obis$INST_NUM/cache
#MDX Cache (out of the box location)
export OBI_MDXCACHE=$ORACLE_INSTANCE/bifoundation/OracleBIServerComponent/coreapplication_obis$INST_NUM/MDXCache
#Repository Directory
export OBIRPD=$ORACLE_INSTANCE/bifoundation/OracleBIServerComponent/coreapplication_obis$INST_NUM/repository
#Webcat Directory
export OBICAT=$ORACLE_INSTANCE/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips$INST_NUM/catalog
#Weblogic Server home
export WLS_HOME=$MW_HOME/wlserver_10.3
##########################
##END OBI 11g Variables ##
##########################
#before you save your changes also make sure you set the following variables to their correct value
export CLASSPATH=/ora01/app/oracle/oraInventory:$CLASSPATH
export TMP=/tmpexport
TMPDIR=/tmp
Summary:
After reading this post you should be able to answer questions such as the ones listed below:
  • What is the path to the OBIEE 11g Web Catalog ($OBICAT)?
  • What is the default location of the Oracle Middleware Home ($MW_HOME)?
  • Where is the opmnctl located at in my OBIEE 11g install ($OBIEM/opmn/opmnctl)?
  • Where is the OBIEE RPD repository located at in OBIEE 11g ($OBIRPD)?
  • What is the path to the Fusion Middleware Control (Enterprise Manager) instance on my OBIEE 11g server ($OBIEM)?
Questions and Comments: Please use the comment form on this post to send us your questions and comments, we look forward to hearing from you!

Tags: , , , , , , , , , , , , , ,

1 Response to "Linux Environment variables to simplify your life – OBIEE 11g System Administrator Edition"

  • Christian says:
Leave a Comment