Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Oracle environment setup

RE: Oracle environment setup

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Wed, 21 May 2003 05:02:52 -0800
Message-ID: <F001.0059EB73.20030521050252@fatcity.com>


In addition to these, we also set couple of other variables like ORALOG which points to UDUMP/BDUMP/CDUMP etc as part of oraenv. so, to see alert log for current SID, I just have to do "cd $ORALOG" ... I love Unix ...

Raj




Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. QOTD: Any clod can have facts, having an opinion is an art !

-----Original Message-----

Sent: Tuesday, May 20, 2003 9:02 PM
To: Multiple recipients of list ORACLE-L

Not to my knowledge.

Our .profile for Oracle account uses oracle supplied 'oraenv' to set up appropriate environment using defined aliases. We have 20 databases on our test server (7.3 -> 9.2). One profile for oracle id. But, we source an 'alias' file for the server in the .profile file: . .hptest.alias

File .hptest.alias contains:

#Add Database name here using the following format alias TBS='export ORACLE_SID=TBST; export ORAENV_ASK="NO";. oraenv;'

alias PRMT='export ORACLE_SID=PRMT; export ORAENV_ASK="NO";. oraenv;'
alias PRMX='export ORACLE_SID=PRMX; export ORAENV_ASK="NO";. oraenv;'
alias VP1D='export ORACLE_SID=VP1D; export ORAENV_ASK="NO";. oraenv; cd
/u01/home/oracle/admin/VP1D;'
alias SDSD='export ORACLE_SID=SDSD; export ORAENV_ASK="NO";. oraenv;'
alias SDST='export ORACLE_SID=SDST; export ORAENV_ASK="NO";. oraenv;'
alias SVRP='export ORACLE_SID=SVRP; export ORAENV_ASK="NO";. oraenv;'
alias SVRT='export ORACLE_SID=SVRT; export ORAENV_ASK="NO";. oraenv;'
alias IDSU='export ORACLE_SID=IDSU; export ORAENV_ASK="NO";. oraenv;'
alias IWVT='export ORACLE_SID=IWVT; export ORAENV_ASK="NO";. oraenv;'
........

When changing environment for a given SID, we just type the SID name, and get the right environment set.
ORACLE_SID is part of the UNIX prompt as well..

HTH,

-----Original Message-----

Sent: Tuesday, May 20, 2003 3:07 PM
To: Multiple recipients of list ORACLE-L

List,

Does Oracle provide default environment setup scripts. Like dbshut and dbstart? Has anybody ever heard of ORACLE_PROFILE? I am trying to set up 9i and 8i on the same box.

Tthanks,

David Ehresmann

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Ehresmann, David
  INET: David.Ehresmann_at_ps.net

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jamadagni, Rajendra INET: Rajendra.Jamadagni_at_espn.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

Received on Wed May 21 2003 - 08:02:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US