Managing multiple Oracle Homes

Gurus,
I got 3 Oracle Homes namely HOME 0 , HOME 1 HOME 2. So now I would liek to change HOME 2 to HOME 0 and HOME 0 to HOME 2 .
SO in this process what r the parameters need to be changed from registry.. please let me know. I will be grateful to all of your suggestions.

I see. So you have an hybrid combination of versions. For the Oracle8 installation there is an Oracle Home Selector, you can use it to declare this as your default oracle home. On the other side, for the 9i and above versions this is no longer used and it doesn't work. So the only way to refer to a default Oracle Home is by means of the order it is declared at the PATH environment variable.
~ Madrid.

Similar Messages

  • Multiple Oracle home and multiple Oracle database versions on same server?

    Hi all,
    I want to setup a test environment on single Windows XP server with an instance
    of Oracle 10g and Oracle 11g. How can I install both versions without problems?
    Thanks

    Hi,
    I am facing a problem on the same..
    below is the link to my thread.
    Multiple Oracle Home in Windows
    Please reply me how to solve this problem
    Thanks
    Bhavik Fuletra

  • Multiple Oracle home

    Hi ,
    I have some doubt which needs to be cleared.
    If I will install multiple oracle home like ORACLE_HOME=/u01/app/oracle/product/10.1.0/asm
    ORACLE_HOME=/u01/app/oracle/product/9.2.0
    ORACLE_HOME=/u01/app/oracle/product/10.2.0
    ORACLE_HOME=/u01/app/oracle/product/crs
    Now in this when I will set export ORACLE_HOME then which version will be picked up.
    Is ORAENV isgoing to come into picture.
    Please throw some light on it.
    Mk

    asifkabirdba wrote:
    You have installed your oracle product (db,application server) using one of os user like oracle,appl,oraprod ect. When you log in to your OS by using OS user then .profile file executed automatically to export necessary environmental variables. You did not mention your OS. Normally you will find it to your OS user home directory. You can edit this file to set your desired ORACLE_HOME.
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
         . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    ORACLE_HOME=/oracle/product/102
    ORACLE_SID=ogtest
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    TNS_ADMIN=/oracle/product/102/network/admin/
    export ORACLE_HOME
    export ORACLE_SID
    export LD_LIBRARY_PATH
    export TNS_ADMIN
    export PATH=$PATH:$ORACLE_HOME/bin
    Regards
    Asif KabirAsif,
    Your advice to hard code the Oracle environment directly into the profile is poorly thought out. And a direct carry over of 'worst practices' unfortunately taught in some Oracle related classes.
    The OP did correctly identify oraenv (as described in the "Administrator's Reference for UNIX-Based Operating Systems" at http://www.oracle.com/pls/db102/portal.portal_db?selected=4) as the preferred solution. Putting THAT into the profile (using ORAENV_ASK as described in the manual) is OK.
    I'll leave you to figure out why the difference - I've posted many times about that in these forums.
    /Hans

  • Multiple Oracle Homes

    Hi everybody,
    I have Oracle 9i installed on my Windows machine.
    I installed Oracle Developer Suite, but could not login due to TNS errors.
    I have a little idea of what the problem is. We need to edit TNSNAMES.ORA file so that it could resolve the service name.
    Can u please help me out in configuring Developer Suite to work properly?
    Thanks.
    -- Kishore.

    Not quite sure why your title is Multiple Oracle Homes. Can you connect to SQLPLUS or any other product in the suite? Is it just Designer you are having hassles with? Do you have the database on the same machine and can you connect to that? If you are successful at connecting to SQLPLUS, then take a look at the tnsnames file in the Database network /admin directories.
    There was a bug at one point where the tnsnames would fail if the network connect string was between 184 and 192 characters in length. You may be running into this. In which case if your tnsnames.ora contains
    (CONNECT_DATA =(SID = <SID>), you can change this to use (CONNECT_DATA =(SERVICE_NAME= <SID>)
    Regards
    Sue

  • Guidelines regarding directory structure for multiple Oracle homes on Unix!

    Hi All,
    Are there any guidelines published regarding directory structures that should be defined while using multiple Oracle homes on Unix/Linux box?
    I am looking for guidelines regarding admin and oradata folders so that we dont accidentally mess up with the DB contents with a wrong Oracle home.
    Its a development server with 8i and 10g. 11g might also get loaded on the same server in future.
    Thanks in advance...
    Regards

    Thanks Maran.
    I have already checked many installation guides before posting here. All of them mention about creating folders like /admin or /oradata on various mount points but none of the naming conventions really indicate whether it is a 8i database or a 10g database.
    This is required when you are having multiple Oracle installations under /opt and databases are running from different mount points.
    Regards,

  • Shared cluster with multiple oracle homes

    Hi All,
    I got to build a shared oracle RAC cluster with multiple oracle home installation ( 10g R1 , 10g R2 , and 11g R1 & 2).
    Of course the cluster ware will be version 11.2, but I wondered if there is any dependency on how I install oracle software? Do I have to start with 10g installation first? can I do 11g and then 10g?
    Is there anything I should be aware of ?

    I installed Oracle Application Server Enterprise which includes AS, Database, OID, Web Cache, SSO etc. and OSES on the same machine. Everything works except I think the windows version of OSES and AS need some patches so the crawler isn't working right. Everything does, however, install and run. I think Oracle develops everything in Linux (rumors of them now using Solaris) so on Linux everything should go smoother.

  • Regarding Multiple Oracle Homes

    Hello,
    Does all of the Oracle products support multiple homes ?
    Can oracle 8i and oracle 8 products be kept in same oracle home ?
    thanks
    null

    Hi Raj,
    To answer your first question, No, not all of Oracle products
    support multiple homes. All Oracle7 products and all release
    8.0.3 are non-multiple Oracle home products. Oracle 8i lite
    cannot support multiple oracle homes either.
    In regards to your second question, no Oracle8i and and Oracle
    8.0 products cannot be kept in the same Oracle home. Releases
    prior to 8.1.3 cannot be installed in an Oracle home that was
    created by a release of 8.1.3, 8.1.4 or 8.1.5.
    Hope that helps,
    Thanks & Regards,
    Sudi Narasimhan
    Associate Consultant
    Partner Services
    Raj Thomas (guest) wrote:
    : Hello,
    : Does all of the Oracle products support multiple homes ?
    : Can oracle 8i and oracle 8 products be kept in same oracle home
    : thanks
    null

  • Oracle XE (Windows) Multiple Oracle Homes

    I have a question in regards to Oracle Express Edition and how it maintains Oracle Home.
    I currently have multiple Oracle Homes on my machine. In order for apps like SQL Developer or PLSQL Developer to see the correct TNSNAMES entries, I usually have to use the Home Selector from the Installation tools to properly obtain the correct tnsnames entries in the dropdowns.
    Now, I'm a Linux DBA, not to keen on Oracle environments for Windows. But, when I installed Oracle Express Edition, none of my Applications SQL Developer or PLSQL Developer recognize the tnsnames entries for my environment. From the 9i Home Selector I see that it is in the correct environment I want it to use. But it seems Express has overriden somehow.
    Can anyone lead me into the right direction to switch between my XE Environment to my 9i environments?
    Thanks.
    Lee

    I did it too, but the beta over beta software is just too dangerous.. you never know what is crashing your system :)
    []s
    Marcio

  • Multiple oracle homes installation

    i have installed oracle 9i database on single sever where 8i is residing using multiple oracle homes.After installation some folders and files related to 9i created in 8i home directory(eg:9i admin related folder create in 8i admin folder).but i dont want to create like that.is there any way to create all files related to 9i should reside on that 9i home directory only?

    You didn't specified the OS.
    Assume that your OS is Unix-like (Solaris, Linux) and your user is oracle.
    The answer is very simple. Use different enviroments.
    create in home directory (oracle user) two files:
    1. .ora_8i
    2. .ora_9i
    All enviroment variables related for 8i database (ORACLE_BASE, ORACLE_HOME, ORACLE_SID, LD_LIBRARY_PATH etc.) are defined in .ora _8i and all variables for 9i are defined in .ora_9i.
    Now, you want working with 8i so you need apply 8i enviroment. To do that simply execute following from shell ". ~/.ora_8i". Now you decided working with 9i so simply execute the ". ~/.ora_9i" from shell.
    For installation use the same way. So before you run ./runInstaller load the apropriate enviroment.

  • Multiple oracle homes problem

    Hi!
    I have multiple oracle homes on my machine: Oracle9DB, DevsuiteHome_1 and now as I have just installed Oracle Discoverer 10g....BIToolsHome_1.
    The problem is ever since I installed Discoverer, nothing is working......
    Can anyone help?
    Best regards,
    Aparna

    Dear Rod,
    What I mean by nothing is working is I cannot connect to the dataases. I get 'No listener' error message.
    Oracle Hone selector gives the following message:
    The is only one Oracle Home defined on this machine and so this tool cannot be used to change your primary Oracle home.
    I tried to start the listener service, however, it says:
    Listener service started and then stopped.
    Is there any solution to this problem?
    Thanks and best regards,
    Aparna

  • Multiple oracle homes on Windows and the "Path" environment variable

    Hi There,
    We have a windows 2003 database server that has few databases running oracle 10.2.0.3. We are installing oracle 11.2.0.1 on the box as well, and we were wondering, which binaries should come 1st in the path environment variable? and how does this effect the working oracle environment?
    Going to the oracle home selector and swapping the 2 oracle homes around will have the same effect on the windows path variable - which will treat the 1st oracle home to be the default home - are there any general rules reg. multiple oracle homes on a server and the default home?
    Should the earlier version of oracle always proceed the newer one (i.e. c:\oracle\product\10.2.0.3\bin;c:\oracle\product\11.2.0.1\bin) or should the newer oracle version comes 1st as newer oracle versions are usually backward compatible?
    Your thoughts are highly appreciated.
    Thanks

    That isn't going to happen.
    If you install 11.2 last it will appear in the PATH variable first
    If you don't want that you need to Oracle Home Selector utility in the Installer to change it.
    Obviously, as usual, all of this is documented.
    Sybrand Bakker
    Senior Oracle DBA

  • Multiple oracle homes on unix?

    We have 3 databases with the same oracle home. we want to move them to separate oracle homes(not going to explain the reasons, but the decision was done).
    so we install 2 more oracle homes. How do we point databases to different oracle homes?

    You do not need to move the database datafiles, copy them or anything of the sort.
    Backing them up is always a good idea before making changes to the system like this.
    Here are the things that I have found that you need to be aware of you the unix platforms.
    /etc/oratab (and sometimes /var/opt/oracle/oratab depending on whom setup the system and how). This tells is a file that is used to tell Oracle the home of each database. (Research oratab for more detailed information)
    If you are going to apply patches to the different Oracle Homes I find often that I have to have my System Administrator change the oraInst.loc file to point to the correct Oracle Home that I want to patch. (Research oraInst.loc file for more detailed information).
    Is management going to make you have a different listener for each database? If so so research Multiple Listeners for Oracle databases for more detailed information.
    And of course you did need to hit the highlights that everyone else has mentioned about the configuration files:
    Move everything under the current $ORACLE_HOME/dbs directory to the $NEWORACLE_HOME/dbs directory for the database being moved.
    Edit the files as needed ( you don't HAVE to change things like the controlfile location or the dump file locations, but you may want to).
    Regards
    Tim
    Edited by: user2846257 on Apr 17, 2009 10:32 AM

  • Multiple Oracle Homes - Oracle Listener failes to start after installation

    Just in case the listener fails to start after an oracle installation, please check the oracle ports in the listener.ora and tnsnames.ora, both of which are present in the following directory:
    ...\oracle\<SID>\<Ver>\NETWORK\ADMIN
    All installations should have separate listener ports eg. If the first installation has port 1527, the next one should be 1528 and so on..
    If they do not, manually change the ports and start the listeners.
    Also check SAP Note 98252. Although I didn't find it necessary (I think it applies only if you have a single listener for all oracle homes), it did give me an idea that there some config problem in the .ora files.
    Also see [this thread|Oracle Listener error in Import ABAP phase?; for related details

    hi
    thanks for the help ,
    I have been using the SQL Server , i am totally blank about Oracle
    i am totally confused with this user, and hoststring
    i logged in to the enterprise manager using System and manager password
    But i cannot connect to any database using SQL Server
    i am not remembering any user name or password i have given during installation.
    the only thing i remember is
    Global databasename = (globedb) i have given
    For SID = globedb the same name i have given
    for sys ,i have given sysdb as password
    and for system i have given systemdb as password
    with this can i do anything
    when expand the schemas ,i can see the XDB,SCOTT and SYS . how can i login to this .
    if i want to login to the scott
    what would be the username,password,and hoststring. since i haven't set any password and username ,there would be some default username ,password, and hoststring.
    if any one can help me please help me
    thanks regards

  • Manage multiple middleware home

    Hi Experts,
    I am in the position to install and configure multiple middleware home in the single host as per vendor's requirement. normally when i have a single home it was easier to set environment using .bash_profile. But now, As two of the middleware home suppose to use the same variables (like MW_HOME, WL_HOME and etc)  I now set them manually to the current working middleware, for example if i want to deploy some thing in HOME2, then i have set the every individual environment variable points to HOME-2.
    HOME-1: /uc01/app/oracle/product/middleware_fr
    HOME-2: /uc01/app/oracle/product/middleware_jsf
    Is there any simple way that i can make use of..? Please advise.
    Regards,
    Salai

    you can use two archives to set the environment, example
    vi environment1.sh
    export MW_HOME=<path1>
    ....export more variables....
    chmod 777 environment1.sh
    vi environment2.sh
    export MW_HOME=<path2>
    ....export more variables....
    chmod 777 environment2.sh
    when I what use Home1:
    . environment1.sh
    when I what use Home2:
    . environment2.sh

  • OPMN Controlling Multiple Oracle Home Processes

    OK,
    Have OC4J,HTTP in a 10.1.3 Oracle Home.
    Have Webcache in a 10.1.2 Oracle Home.
    GOAL: opmnctl <start|stop> controls all processes (OC4J, HTTP Server, 10.1.2 Webcache).
    Is it possible to have 10.1.3 OPMN control the webcache process in the 10.1.2 Oracle Home? Would this be implemented via OPMN's custom process fuctionality or some ONS/OPMN discovery mechanism?
    Thanks,
    KB

    Interesting how OPMN claims to support Grid computing but it can't (in a supported manner) support processes in multiple OHs ON THE SAME BOX! I guess I'll build a shell script.
    And yes, opmnctl is working in both the OHs.
    KB

Maybe you are looking for

  • Headphone port only accepts certain headphones

    Up until recently i haven't had a problem with headphones, but when i tried to buy a new pair the quality was really bad. This was the same with other headphones i found around the house so i assume it's a problem with the headphone port.

  • 42032

    after downloading new verison of itunes the system returns with "unknown error -42032" synchroning ipod touch and ipad are not succesfull and when synchronising this is done partially.

  • Weird iPod app Problem

    When I go to the iPod app in my iPhone, it says that there is no content. But, after I have bought a song in the iTunes WiFi Music Store and then tap the black "Purchased" button in the Downloads area that brings you to the Purchased playlist in the

  • Installing Unix on Mac OS X Leopard

    Can this be done? I want Unix on my 10.5.7 system. Is there a way to partition the hard drive so this can happen or not? I have an intel iMac.

  • Home Sharing- alleged firewall problem (-3259)

    Hi, I've had this problem since I first tried to share any content between libraries with iTunes 9. In fact, I noticed the same problem when I was trying to stream content to my Apple TV a couple of weeks ago. So I have an iMac, MacBook Pro and Airpo