Oracle Home Confusions?

Hi all,
11.2.0.3
Rhel 6
I have current db and OracleHome1 for 11.2.0.3  (path /u01)
I am cloning it again to another OracleHome2  (path /u02) for the purpose of installing TDE (data encryption) and Database Vault.
When I finished cloning I run ./dbca to create new database. Then it prompted me to create OEM. But it said I need to install netca or default listener on the current home.
But my problem is that I have already default listener 1521 at the first oracle home. How can I tell dbca to point OEM of this 2nd OracleHome2 to the listener on /u01?
Thanks a lot,
pK

f55237a7-2c38-4db3-a7a3-1d77256f0730 wrote:
Thanks Aman,Jhonny
I am sure you did not get my point
It is like this. we have PROD 11.2.0.3. We want to get PCIDSS certified, and the recommendation is to implement in our PROD dbvault and TDE. So before you applying anything to PROD you have to test it first in a TEST envi. Just forget the "clone" thing as this is what confused you
The requirement is that to setup 2 identical database DB1 and DB2.  The first one will represent our existing prod, while the second one will be comnfigured with DBvault and TDE. They can be on separate server if you have enough resources. But for my own test , i just created it on one VMbox with separate OracleHomes. The objective is stress test both envi and compare what performance degradation effects has DBvault & TDE will bring to the system. I am clear now of my goal?
So back to my issue above:
Since I used 1 server only for 2 OracleHomes and since I need OEM to configure Dbvualt and TDE, and since OEM runs only on default listener of each home port.
Therefore I can not use one  single default listener but rather two (one for each home). The work around is I can startup 1 pair (db + oem) as one time. Which is good enough for me.
Thanks...
The point is, you are not going to test the Oracle Homes as they are (would be) identical but the databases. So what's the point of having different homes? For EM, even if you have 10 databases, one listener is enough and you  can open the EM using a different port for each database. But where does EM comes into the testing? Won't you be running your testing scripts over the databases?
Aman....
PS: Please use proper name of the forum members-it's John not Jhonny .

Similar Messages

  • What are the Oracle Home and GRID home directory locations for Oracle 12c (12.1.0.5) release

    Hello All,
    I plan to install and configure Oracle 12c Cloud Control console on a single standalone server and the version is Oracle 12.1.0.5. All the databases which are installed across in the entire farm/landscape are these versions:
    Oracle 10.2.0.3 Enterprise Edition
    Oracle 10.2.0.4 Enterprise Edition
    Oracle 10.2.0.4 Active DataGuard Enterprise Edition
    Oracle 10.2.0.5 Enterprise Edition
    Oracle 11.2.0.1 Enterprise Edition
    Oracle 11.2.0.1 Active DataGuard Enterprise Edition
    Oracle 11.2.0.3 RAC Enterprise Edition
    All Oracle databases across these versions will use the same version of Oracle Grid since ASM is used for all the Oracle database across Production/Test/Development databases. The OS is RHEL 5.8, RHEL 6.3, OEL 6.3 versions.
    When installing the Oracle 12c Cloud Control what is the Oracle and Grid Home directory location need to set to. Please let me know if there are any other additional configurations needed?
    Looking forward to hearing from you soon.
    Regards,
    Abhijit

    First off, the only EM CC release out right now is 12.1.0.2, not sure where you got 12.1.0.5 (DB Plugin maybe?).   
    Second, you're confusing EM CC homes with DB/Grid homes. 
    EM CC will need it's own Oracle Home (i.e. /opt/oracle/product/em_12.1.0.2).   You will need to provide repository database connection information, but EM does not care what home the db or grid is installed in.
    I would recommend reviewing the documentation as well as the references on OTN -
    http://www.oracle.com/technetwork/oem/install-upgrade/index.html

  • 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

  • Oracle Homes 32 bit or 64 bit ?

    Hello All,
    I am working on Sun Solaris Sparc 64 bit system, EBS R12.1.3.
    When i have to apply apps patches, we are going with 32 bit patches. Even when we upgraded java we used 32 bit java.
    Now, I have to apply some opatches to 10.1.2 and 10.1.3 Oracle Home respectively, so do i have to download 32 bit or 64 bit patches?
    Please suggest!
    Thanks,
    Moor

    why do we have this confusion, when we are on 64 bit OS and have installed 64 bit EBS software, why we are going with 32bit apps patches?
    If you have EBS 64-bit running on 64-bit OS you should always look for the 64-bit patches. If the 64-bit patches are not available while 32-bit patches are then you can safely download and apply the latter.
    Please see the solution section (Can the 64 bit version of patch 8888184 be applied to a 32 bit OS? (Doc ID 1054058.1)) for more explanation.
    Thanks,
    Hussein

  • Running multiple instances from same oracle home

    Hi Gurus,
    I am preparing for OCA 11g examination. I had a question about running multiple instances from same oracle home. While reading the book I came across a statement about database control which says "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).
    I am not able to understand how exactly can you have multiple database instances in a single oracle home. I have installed Oracle 11g on my computer whose oracle home is +"D:\oracle\product\10.2.0\db_1"+; now this directory houses all the binaries (executables and folders like admin,bin, etc) for the oracle instance that I have installed (the instance name is ocp1). Now if I am to install or create another Oracle Instance (say ocp2) in the same home, wont there be a conflict of binaries of the two instances in the same home ?
    Basically,it makes sense if db_1 folder is further split into multiple folders, one for each instance (for example, one for ocp1 & one for ocp2); each of these folders will then contain the binary files, libraries,etc for its own instance; but, this is not the case, here db_1 houses all the binaries directly under it ...
    The other question which stems from the statement I mentioned above is that if having multiple instances running from same oracle home accessing the same physical database, can this arrangement be called RAC at all; or does RAC dictate that you cannot have multiple instances that are accessing the same database have to be installed on physically separate machines and so you cannot have two RAC instances (accessing same physical database) installed on the same computer ??
    I hope my questions are not too much confusing ... !!
    Cheers,
    Sudripta

    Hello,
    "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".This is true, and also means each instance will have its separate database (i.e. dbf files etc.) & separate DB Control. Usually in this case you create several instances on the same node.
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).You are correct about RAC where several instances (usually running on separate nodes) access the RAC.
    More info:
    1 Oracle Home - 1 Database - 1 SID is possible.
    1 Oracle Home - Many Databases - Many SID is possible.
    1 Oracle HOme - 1 Database - Multiple SID is possible and this is called RAC.

  • How to install 2 oracle homes on singl windows host

    Hi Experts,
    I am planning to install two sap R/3 4.7 ext200 SR1 instances on windows 2003. I already installed DEV instance & planning for QAS.
    I am confused about how to install two ORACLE softwares on single windows host.
    I search on internet there for windows they are pointing to the registry value
    \HKEY_LOCAL_MACHINE
    Software\Oracle\inst_loc.
    I am not able to understand what I have to do with this ?
    Can you please help me to understand & execute this.
    Thanks,
    Sachin

    Sachin,
    Go throuth this link to understand more about Oracle Inventory and Oracle Homes software update.
    http://cs.ifmo.ru/~ad/Documentation/oracle-10g-lib-doc/em.101/b12140/3_oui_oracle_homes.htm#i1005634
    The current entry is picked from the PATH vairable of the system and user that you have logged on. This is because you have already done 1 Oracle Installation on the host.
    Keep in mind that you choose the correct oracle home while installing and in future updating Oracle software (patchset, Interim Pactches...)
    You can give a seperate path for Oracle Inventory. Just go thru to the existing folder of OraInventory in Program files you will understand it better.
    It is used to install and update the Oracle software in the oracle home that you will choose in your next step.
    All the Best,
    Nilesh

  • Automatic startup/shutdown script - 3 Oracle Home

    Hi All,
    We have a server which has 3 Oracle Home - 8i/9i/10g.
    So i am confused about configuring automatic startup/shutdown scripts.
    Can you guys please let me know how to setup automatic startup/shutdown for these multiple Oracle Homes.
    Thanks,
    Kumar.

    Bellow is a HP-UX script that can help. Create three scripts like oracle8, oracle9, oracle10 with correct path values. and than decide the runlevels and create soft links for the scripts you created, for example;
    Under /sbin/rc3.d
    ln -s /sbin/init.d/oracle10 S999oracle10
    Under /sbin/rc1.d and /sbin/rc2.d
    ln -s /sbin/init.d/oracle10 C9oracle10
    AUTOMATIC STARTUP/SHUTDOWN SCRIPT
    $vi /sbin/init.d/oracle10
    #!/sbin/sh
    # NOTE: This script is not configurable! Any changes made to this
    # scipt will be overwritten when you upgrade to the next
    # release of HP-UX.
    # WARNING: Changing this script in any way may lead to a system that
    # is unbootable. Do not modify this script.
    # NOTE:
    # For ORACLE:
    PATH=/usr/sbin:/usr/bin:/sbin
    export PATH
    ORA_HOME="/oracle/app/oracle/product/10.2.0"
    ORA_OWNR="oracle"
    rval=0
    set_return() {
    x=$?
    if [ $x -ne 0 ]; then
    echo "EXIT CODE: $x"
    rval=1
    fi
    case $1 in
    start)
    # Oracle listener and instance startup
    echo -n "Starting Oracle: "
    su - $ORA_OWNR -c "$ORA_HOME/bin/dbstart /oracle/app/oracle/product/10.2.0"
    echo "OK DB started"
    stop)
    # Oracle listener and instance shutdown
    echo -n "Shutdown Oracle: "
    su - $ORA_OWNR -c "$ORA_HOME/bin/dbshut /oracle/app/oracle/product/10.2.0"
    echo "OK DB shutdown"
    reload|restart)
    $0 stop
    $0 start
    echo "usage: $0 {start|stop}"
    esac
    exit $rval

  • 10.2 Oracle Home after 11i 12 upgrade

    We have done an upgrade of 11.5.9 to 12.0.6 on TEST. We did the DB upgrade separately (ie - not within the rapidinstall part). So, we have the original 10.2 oracle home from 11i, as well as the 10.2 oracle home that was supplied with rapidinstall. Herein lies the question:
    1) Does it matter which Oracle Home is used (presuming both are at the same patchset level? Will their be future implications if the 11i 10.2 oracle home is used?
    2) If we are using the 11i 10.2 Oracle Home, how does one move to the other Oracle Home (the one that the release 12 rapidinstall supplied) - is this part of running the appsutil.zip? Please bear with me on these questions - it's been a couple of months since we did this, and we're just reviewing everything again in further detail.
    Thanks everyone.

    Hi Hussein,
    Perhaps I used the wrong words (my apologies).
    1) We upgraded our 11.5.9CU2 9.2.0.8 DB to 10.2.0.4 first, before running rapidinstall (because this is how we plan to do it in PROD - this breaks up the downtimes to our users).
    2) We did not install a 12i 10.2 oracle home per se - when we ran the rapid install, it supplied the filesystem: $ORACLE_BASE/db/tech_st/10.2.0/ - and this is what is a little confusing to me.
    3) During the 11i>12 upgrade, under the "Oracle Applications Upgrade Guide: Release 11i to Release 12.0.4" - Page 3-8 - step 7 - we generated a new context file under the 11i 10.2 oracle home.
    4) So, we clearly are using the 11i 10.2 Oracle Home. So my questions are:
    Q1) The filesystem that rapidinstall supplied (as noted in point 2 above) - essentially that is not doing anything - ie - it is a duplication?
    Q2) Under the "Oracle Applications Upgrade Guide: Release 11i to Release 12.0.4" - Page 3-2, Oracle says "We strongly recommend that you use the Release 12.0.4 Oracle Home supplied by Rapid Install..." - I guess this is the part that has me a bit confused, or I need a second opinion on. My assumption is that we are OK here in what we did - that being, using the 10.2.0.4 Oracle Home from 11i.
    Thanks very much...Colin

  • Need of Two Oracle Home in R12

    I am a newbie apps dba and was going through the oracle documentation. Where I learnt that in r12 there are two ORACLE_HOME 10.2.0 and 10.3.0. I tried to research regarding the same but couldn't find anything conclusive enough that would clear my fundamentals regarding the need for having 2 ORACLE_HOME. Of what I have understood , 10.2.0 is Developer Home which hosts the Apache, forms server etc and 10.3.0 hosts the JAVA/html server etc. Is my understanding correct regarding the same ? and what is the use and advantage of having two Oracle Homes? Do explain me in laymen terms as I am still a newbie!

    BhaviSavla;
    I guess you dint understand what I have said!!! I HAVE ALREADY READ THAT THOUSAND TIMES!!! Please think double&triple time while you are talking wiht Hussein Sawwan about EBS related questions. I am sure about Hussein Sawwan  understand your question as he understand other questions and already he has been answered your question(If you have ability to understand what you read)
    I strongly suggest you about TO BE KIND-RESPECT with forum users which are trying to help other people here.
    And I am still not able to understand the actual advantage of having TWO ORACLE_HOME...After read something, If you still understand than dont blame forum users. Choose easy way... Rise SR!
    Kindly do not post just to increase your number of posts on this forum!! If you cannot help me in anyway with this, kindly do not post!If you dont follow OTN forum site consistently than DO NOT MAKE COMMENT about people here If the topic is Hussein Sawwan.
    I must remind you something... He has more than 50k post wiht 51k points which mean he made post here like your_post_count*1500times... Wiht other words, his each post equal to 1 point, which mean his each post has meaning which are helpful!
    Do you have capability to calculate how mch time he spend here?
    Dont thing so!
    Moderator, I belive this question is already answered If the poster read notes! Please close or lock this thread!
    Thanks
    Helios

  • Want to use single oracle home for multiple database releases

    Hi,
    I have following 3 different databases.
    Oracle7 Server Release 7.3.4.4.0
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit
    I want to access these databases using single oracle home. Please advise which client version I have to install to access these. I tried using Oracle Release 9.2.0.1.0 client but I am not able to connect to oracle 7 by using this.I am ready to have multiple oracle homes.But what client version I have to install and where can I get it.Your help will be highly appreciated.

    ... and 7 is using oracle 8.1.7 client.From your sales representative. 8i is no longer available for downloading,because desupported since many years.
    Werner

  • 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 installation

    I am going to install oracle 11g2 on hpux server. The server already has 10g on it and the plan is to run both for sometimes.
    Unfortunately, IUnfortunately, I don’t have prior experience installing multi-homed oracle software and I
    need help on how to supply the oracle home directory name to the installer:
    Do I have to supply the installation (OUI) with the oracle home directory: i.e
    Exiting oracle home: /u00/app/oracle/product/10.2.0/db_1
    For the new oracle home: /u00/app/oracle/product/11.2.0/db_2
    Is this correct?
    thank you,
    Lou

    What I did was create two profiles. My OS is similar, but NOT the same
    My default is Oracle 11.
    However I need a way to go back between Oracle Homes so I created an "o10g.profile" and a "o11g.profile"
    o10g.profile
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    export ORACLE_BASE=/u01/app/oracle
    unset ORACLE_HOME
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0
    #export DISPLAY=localhost:0.0
    export TZ=CST6CDT
    export ORA_OCI_NO_OPTIMIZED_FETCH=1
    ORA_OCI_NO_OPTIMIZED_FETCH=1; export ORA_OCI_NO_OPTIMIZED_FETCH
    export ORACLE_SID=STANDBY
    export ORACLE_TERM=xterm
    #export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
    export NLS_LANG=AMERICAN;
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_LIBRARY_PATH
    # Set shell search paths
    unset PATH
    PATH=/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin; export PATH
    export PATH=$PATH:$ORACLE_HOME/bin
    #CLASSPATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlibNotice the unset ORACLE_HOME at the top, this is key. Also the unset PATH.
    Now compare it to my o11g.profile file
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    export ORACLE_BASE=/u01/app/oracle
    unset ORACLE_HOME
    export ORACLE_HOME=/u01/app/oracle/product/11.2.0
    #export DISPLAY=localhost:0.0
    export TZ=CST6CDT
    export ORA_OCI_NO_OPTIMIZED_FETCH=1
    ORA_OCI_NO_OPTIMIZED_FETCH=1; export ORA_OCI_NO_OPTIMIZED_FETCH
    export ORACLE_SID=PRIMARY
    export ORACLE_TERM=xterm
    #export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
    export NLS_LANG=AMERICAN;
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_LIBRARY_PATH
    # Set shell search paths
    unset PATH
    PATH=/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin; export PATH
    export PATH=$PATH:$ORACLE_HOME/bin
    #CLASSPATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlibIts probably a great idea to review the document Srini refers to. However this is a short and sweet example. In my case I can issue a
    source o10g.profileAnd be on Oracle 10. So to install the other version I created the profile for it and then then used it to switch to that ENV for the install.
    Best Regards
    mseberg

  • 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

  • CRS install fails Oracle home incompatibility checks  ( 10G )

    Hi,
    I'm trying to install RAC for 10.2.0 . The first step is to install cluster Ready Services ( On red hat linux ) . When it does the product specific prequisite checks, it fails on "Checking for Oracle home incompatibilities".
    I get the error " Oracle clusterware cannot be installed into an existing oracle home".
    I did a previous attempt at an install which failed. I have completely deleted the
    /oracle/product/10.2.0/crs directory which was previously created.
    If I check the environment variables, I get :
    [oracle@rac1 db_1]$ env | grep -i home
    HOME=/oracle
    ORACLE_HOME=/oracle/product/10.2.0/db_1
    So, in my thinking there is no trace now of a previous home for CRS.
    So why am I getting the error ??
    Thanks
    George

    It seems taht you have not cleared the inventory..As menioned earlier use OUI to remove the oracle_home from inventory. In case you do not wish to use the existing ORACLE_HOME=/oracle/product/10.2.0/db_1 or any other Oracle Installation on this server, then you can go ahead and remove the inventory itself.
    You can use Note:239998.1 for the various files to be removed for cleaning up CRS..
    - Amit
    http://askoracledba.blogspot.com/

  • Multiple APEX instances sharing the same Oracle Home?

    Can someone tell me if it is possible to have multiple APEX installations where the database instances are sharing the same Oracle Home? If so, how would this be set up?
    So, if I have development and test running on the same home, I want a separate APEX instance for each. We can do this when different Oracle homes are used (separate httpd running) but not for the same home.
    Thanks

    Thanks - We have tried putting 2 dad entries in file, but not sure how you connect. You only specify a port number, so how does it connect that to a db???

Maybe you are looking for