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: Deshpande, Kirti <kirti.deshpande_at_verizon.com>
Date: Tue, 20 May 2003 17:01:39 -0800
Message-ID: <F001.0059E761.20030520170139@fatcity.com>


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). Received on Tue May 20 2003 - 20:01:39 CDT

Original text of this message

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