Multiple Oracle Homes and Multiple Listeners

I have two existing oracle homes on the same server and would like to change the configuration so that they have their own listener listening on different ports. How do I do this? What are the critical files that need to be changed?

user445507 wrote:
Thanks Hans but we may have a need to take down a listener and oracle_home for one and leave the other running. Are you suggesting adding a listener declaration in the listener.ora on both oracle_homes for both listeners and change the ports while leaving the port in the tnsnames.ora for both homes at 1521?
We are on Solaris 10 and using 10.2.0.4Databases these days register themselves to the listener. You do absolutely nothing in the listener.ora file.
Simply
- shut down the listener in ORACLE_HOME #1;
- start up the listener in ORACLE_HOME #2 with the defaults;
- access each database as a DBA and run 'Alter System Register;' on each database;
- verify the listner knows about the all using 'lsnrctl status'
One common misconception is that the listener must be up. Only true to accept NEW connections - existing connections will not be affected if the listener is taken down.
Precondition is that all databases are installed under the same UID/GID

Similar Messages

  • How to know the list of patches applied to iAS Oracle home and 8.0.6 Home

    Hi,
    Please help me for the steps to know the list of patches applied to iAS Oracle home
    and 8.0.6 Home;
    as we can use ad_bugs, ad_applied_patches, OAM Applied Patches for Oracle Applications Patches list
    and we can use opatch lsinventory for Oracle Database patches applied list

    Thanks for sharing the answer. BTW, there are some exceptions like, determining Developer 6i patchset applied, and Oracle 9iAS version:
    How to find the developer version
    Re: how to find the developer version
    Note: 186981.1 - Oracle Application Server with Oracle E-Business Suite Release 11i FAQ
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186981.1

  • Restoring an oracle home and oracle inventory

    Hi,
    We are on oracle 10.2.0.3 and oracle 9.2.07 on solaris 8. (there are both versoin db on same server)
    I am taking a backup of oracle home and inventory before a critical os patch. suppose something goes wrong and the whole server has to be rebuilt, what is the process of restoring the oracle home and the oracle inventory? should I just unzip the zipped backup in the same directory?
    Thanks,
    Edited by: orausern on Mar 30, 2010 12:38 AM

    Also, probably would be a good idea to take a quick glance at the Oracle Homes section of the Universal Installer guide.
    http://download.oracle.com/docs/cd/B19306_01/em.102/b16227/oui3_manage_oracle_homes.htm#i1006015

  • 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 Homes and SAN

    hi gurus,
    i need to install two instances of oracle 10g on solaris 10 and have 6 tb of SAN available to use.
    i understand that i can place all the data/redo/arch files on the san.
    my question is,
    can i place the oracle binary, oracle home etc on the SAN instead of the local disk? advanatages/disadvantatges etc
    thanks is advance,
    newbie

    can i place the oracle binary, oracle home etc on the SAN instead of the local disk? advanatages/disadvantatges etcYes you can. This is often used for some cases (shared Oracle Home for RAC).
    My opinion is SAN space is too expensive to waste a space this way (if there is another option).
    Note In case you will be creating the RAC installation then you can do shared Oracle Home but do not try to create shared Inventory.

  • 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

  • Installed 2 10g oracle homes and get ora-12557

    hi,
    I have installed 2 oracle 10g homes and now cannot connect to sqlplus as sysdba
    the error is 0ra-12557, TNS protocol adapter not loasdable.
    the installation is on windows 2003 server
    everything was fine until the second oracle home was added.
    help is appreciated
    rgds
    alan

    Typically this a PATH variable problem
    The golden rule is to install the oldest product first.
    Then make sure you path has the right ORACLE_HOME/bin 's
    In the right order.
    Remeber if you run say sqlplus from ORACLE-HOME1 it will look in
    ORACLE_HOME1/network/admin for its tnsnames files etc
    If you run sqlplus fom ORACLE_HOME2 then it will look in
    ORACLE_HOME2/network/badmin
    I always clone the network config files so they are the same in all homes.
    You have to be a little bit careful about this. FOr instance I have forms 6i wihich uses Net 8 so I can't exacly clode the tnsnames etries.
    But you get the picture.
    And generally make sure ORACLE_HOME is not set in your windows environment.
    Ths will cause problems.

  • Mulitple Oracle Homes and RAC

    I want to install multiple SAP systems (SolMan, ECC, PI, etc) to a DB instance with Oracle RAC so that they can share resources and for High Availability.  The central instances will be running of virtually separate systems using VMWare.
    As per the white paper for doing a SAP installation with RAC, I need to install one SAP system before I install RAC.  But when I do the second SAP system that creates a second Oracle_home, do I need to install RAC again?  Or do I need to complete all the database installations before I install RAC?
    I want to be able to share the hardware but using MCOD is out because of the many problems associated with that.

    Hi Steve,
    ok - I understand.
    According to Oracle Metalink 220970.1 it´s possible to run more than one instance on a RAC but the resource manager will not be able to share load across the instances so one may impact the other.
    That document is quite good and answers a lot of questions, also some of those, you posted in your initial question (such as if the DB software must be installed on all notes or how to convert a single instance into a RAC instance etc.)
    "Note 527843 - Oracle RAC support in the SAP environment" also states, that ASM and Raw devices cannot be used in SAP/RAC-environments
    This is a really nice an interesting project, technically it should be possible to implement but I can´t say, which implications will arise.
    Markus

  • Relinking Oracle binaries and multiple Oracle Homes

    Hello,
    My question is related to relinking Oracle binaries in the following scenario:
    As part of larger migration project we are moving all the databases from one server to another. Both on old and on new server the OS is the same: HP-UX 11.23i. There are 5 databases on the source server, each with it's own Oracle Home (and Oracle binaries). All Oracle binaries for all the databases are version 10.2.0.3.
    On the new server we have some of the migrated databases already in production. Now our DBA wants to move another database and, because for each database binaries are moved also from source to destination server, he has to relink the binaries on target server. Is it required to stop all the databases on the target server to perform the relink for this one DB, even if they all have separate Oracle Homes (binaries)?
    Thanks for your answers
    Maciej

    883072 wrote:
    Hello,
    My question is related to relinking Oracle binaries in the following scenario:
    As part of larger migration project we are moving all the databases from one server to another. Both on old and on new server the OS is the same: HP-UX 11.23i. There are 5 databases on the source server, each with it's own Oracle Home (and Oracle binaries). All Oracle binaries for all the databases are version 10.2.0.3.
    On the new server we have some of the migrated databases already in production. Now our DBA wants to move another database and, because for each database binaries are moved also from source to destination server, he has to relink the binaries on target server. Is it required to stop all the databases on the target server to perform the relink for this one DB, even if they all have separate Oracle Homes (binaries)?
    NO!

  • How to install oracle discoverer 4.1.37 when multiple oracle homes exist

    Dear gurus,
    Can anybody put some light on this issue. I have 2 oracle homes in my machine. When i select any one of them to install oracle discoverer, it says oracle 6i for nt, oraHome92 is already used for ora 82 Beta. I tried to create a Newfolder for Discoverer installation, it also does not work. Please anybody can solve this.
    Plus i need to have know the steps involved in installing Oracle Discoverer 4.1.68.06?
    Help me please
    arizudding

    This is a known 'challenge' on the ol' 4.x and before version of Disco where Disco needs the default Oracle home and doesn't expect anybody else to be camping on it.
    Since Michael's already got the instructions on his site, I won't go over them again - and I'm sure he's given good instructions.
    As for the steps involved in installing Disco 4.1.68.06:
    1. find the software (metalink, otn, etc).
    2. realize it doesn't exist
    3. get mad as you'll think Oracle screwed up
    4. realize that there is NO version 4.1.68.06
    5. be embarrassed!
    OK, kidding, but the version you most likely are talking about is: 4.1.48.06. Also, there is one final, final, no more, we ain't coming out with another version, version. That's 4.1.48.08.
    Assuming you already have a version such as: 4.1.36 or 4.1.47, etc. you can get old patches, upgrades, etc. by checking metalink. Note that in some cases (ie: maybe 4.1.48.08) you have to put in a TAR with Oracle (and go through the usual "we don't support that version anymore" discussion with them).
    Russ
    PS. By the way, I worked in SA for about 3 1/2 years many, many moons ago (multiple places like Jeddah, Riyadh, Taif, etc.). Where's Jabail?

  • Multiple homes and swap allocation

    I have 10gb of hp-Unix and i have 2 oracle homes what swap parameter should be.
    2 oracle software installations 10gR2

    user586263 wrote:
    I have 10gb of hp-Unix and i have 2 oracle homes what swap parameter should be.Couldn't you clarify ? Is it 10Gb RAM ? What's the link between the number of Oracle home and swap size ?
    What Oracle version ? There are some advices in Oracle documentation, have you read the hardware requirement for you version ?
    Nicolas.

  • Multiple listeners/ports

    Hi All,
    I'm fairly new to Apache, but have managed to install and configure our test listener with no problem. I do have a few questions regarding future configuration though. Any info would be greatly appreciated:
    1.) I currently have one listener up and running on port 7777 for our test database which will use only mod_plsql. Eventually I will need 5 listeners. Each listener will have its own port number, document root, etc. Question is what changes do I make to httpd.conf to enable a second listener on port 8888 for our stage database? Whenever a request comes in on this port number it needs to serve out the document root and homepage for the stage database, not the test database.
    2.) Is their any way to control each of the listeners independently. I would be nice to be able to take only the test listener down while leaving the others up.
    TIA,
    Charlene Yanke, DBA
    Southern Alberta Institute or Technology

    There are several different configs that I can think of but the one for you really depends on all of your requirements.
    You can use one Oracle home. Then you would put a <virtualhost> section in your httpd.conf file for each of your environments listening on a different port. You can specify the different documentroot within the virtualhost container.
    You are using mod pl/sql though. Because these are virtual hosts, you can access any DAD configured in this Oracle Home from any of the virtual hosts. In other words:
    http://test:7777/pls/app/
    http://prod:8888/pls/app/
    This would load the same DAD regardless of the virtual host.
    If you want to use the same DAD name like in the above example but actually use different connection information, you can do this one of two ways. One way, which I explored a few months ago and found a bug, is to use mod_rewrite. Because you are on Unix, I wouldn't do this. I would install another Oracle home. When you start the other apache process, make sure the environment variable for the WV_GATEWAY_CFG is pointing to a different file than your test one. This way, you can have:
    http://test:7777/pls/app/
    http://prod:8888/pls/app/
    For test, it would use the test wdbsvr.app file (which is the config file for the DAD) and for your production environment, it would a different wdbsvr.app file. This way, you have the same DAD name used in each Oracle home but behind the scenes, the test DAD would connect to your test instance or schema and your production DAD would connect to your production instance or schema.
    In Windows, I had a very hard time configuring multiple Oracle Homes and specifying different wdbsvr.app files because it is set as an environment variable. I even tried to launch each service as a different user and specify the WV_GATEWAY_CFG setting at the user level but that didn't work either. In Unix, it shouldn't be such a big deal.

  • Which Oracle home it's connecting to

    Post Author: Huamin
    CA Forum: General
    Hi,
      For that I have more than one Oracle Home, how do I know which home it should be using, when calling from Crystal report, using ADO?

    Post Author: V361
    CA Forum: General
    HuaMin, not a direct answer, but create Two ODBC, one with each of your ORACLE homes, and see if your report runs differently when using one connection as opposed to the other.   (database, Set Database location, create new, point to the new ODBC connection, and your table, or view, or whatever, and map)  Then run your report and see what you get.  I have multiple Oracle homes as well, and I just always point my CR to the one that is from the server, not the one on my box.  (Just habit)

  • Forms installation problem - how do I create a new default Oracle home?

    I am new to Oracle so please forgive my utter ignorance. My impression of Oracle because of how an installation
    has to be done is taking a nosedive. I thought Microsoft was bad with all the re-booting but the explanation that I
    read in Anubhav Seth's post about installing Dev 6i before 8i and the suggestion (not a requirement) to format the
    harddisk and reinstall Windows just leaves me with my jaw hanging open. I'm having a little trouble swallowing that
    one.
    Here's my situation... I'm running 8i at home and I am using it for the Oracle courses that I am taking at a local
    university. So 8i with its SQL*Plus has been all I have needed to date. Now we have a project to do that involves forms.
    So I go to the OTN page for downloads and downloaded file 6irel2nt.exe which is 264 MB in size. This file, I assume,
    has forms in it -- what else I don't know because things are not explained all that well on the web site or I don't know
    where to look (which implies poor organization of the web pages).
    I run the 6irel2nt.exe file and end up with 11,128 new files on my computer. That's nice. I run the setup file and a step or
    two into it it complains that my 'Ora81' home is already being used and that I need to install it into another Oracle Home.
    Now I'm trying to find out how I create another Oracle Home. I perform a search in GOOGLE on "creat default Oracle
    home" and basically get nowhere. My $50+ "Oracle 8i A Beginner's Guide" from Oracle Press mentions Oracle Home
    on one page (pg. 170) but is completely useless in this case. My $184 worth of Oracle University manuals (which
    are really PowerPoint slides) is useless too. My next step will be to comb through the FAQs. All this because I cannot
    believe that I have to totally uninstall one product to get another to install and then reinstall the first one. That is INSANE!
    If I have gone way off track please feel free to blast me but if this is true then all I can say is that the folks at Oracle need
    a lesson in KISS (Keep It Simple Stupid)! Computers and computer software are supposed to make our lives simpler
    not complicate the holy hell out of them. I'll get off my soapbox now. Sorry about the whining.

    I ended up uninstalling 8i and then I installed Dev 6i (Forms) and then I reinstalled 8i. I had some problems
    installing Dev 6i because of this error "path.vrf(86): Unbound variable 'path_too_long_prompt'". Right after this error
    appears I get a dialog that states, "The Oracle Installer cannot update the system path variable to %new_path%
    because it is too long. Please restrict your system path to 127 characters and make sure D:\Oracle\OraWin95\bin
    is included in your path."
    The path D:\Oracle\OraWin95 was what I set up for this installation.
    What I did to work around this problem was this...
    (1) Go to Start - Accessories - System Tools - System Information.
    (2) Click on the Tools menu
    (3) Select System Configuration Utility
    (4) Select the Autoexec.bat tab
    (5) I added D:\Oracle\OraWin95\bin to my PATH variable and unchecked the checkbox next to one of the several
    lines that I have that build my PATH variable. (I have several PATH lines that simply add a path to the system
    variable %path%). After the installation is complete you can go back and turn back on the paths that you had disabled.
    After installing 8i I did have a problem connecting to the database. I got this error:
    Error: ORA-01034 Oracle not available
    I believe this happened because I had forgotten to turn back on some of my PATH information that I mentioned
    earlier. After checking one of my PATH variables and rebooting, this problem disappeared.
    When reinstalling 8i and when the installation asks for an SID and you enter the SID you had used in the original
    installation you may get a notice that says the SID already exists. I think this happens because the uninstall does not
    clean up the registry totally, so I entered a different one. Later on, after the installation has been completed and you
    are connecting to your database, you will be prompted to select an SID -- just make sure that you select the SID from
    the latest installation.
    I should've mentioned first that in preparing for this whole ridiculous exercise I created a directory under my Oracle
    directory that I was going to use as the new 'Oracle home.' So I guess that's all one has to do to create a new Oracle
    home -- just have another directory ready to install 'stuff' into.
    All in all, this a pretty asinine exercise. Oracle really needs to fix this mess. I honestly thought Microsoft was bad but
    this takes the cake. I wonder if SQL Server is this screwed up.

  • Installing Oracle 8i and Developer 6.0 technet packages on NT

    I recently purchased the Oracle 8i (8.1.6) and Developer 6.0 "packages" from technet ($200/each). The Oracle 8i Enterprise Server software installed without any problems [ Oracle home = ora81 ]. However, when I tried to install the Developer package [ to oradev ], I got a message indicating that the install would replace my "ora81" registry settings with the "oradev" settings... which it did, thereby rendering my database "in-operable".
    After repeatedly removing and reinstalling the two packages, I was finally able to get both installed with an "operable" database. However, I keep getting a TNSNAMES error message when I try to connect to the database from Oracle Forms. Has anyone else encountered this scenario??? I am quite experienced in "using" Oracle tools and the database, but NOT when it comes to installing and configuring them...
    At this point, I believe that my problem lies with SQL*Net... any ideas???
    null

    U-da-Man!
    Thanks, Martin... your step-by-step process worked like a charm! Although, having used Oracle products for 7+ years, I am amazed that the Developer package had to be installed before the database. I wonder what will happen when I eventually install Developer 6i ??
    Anyway, thanks again for the info!
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Martin Vonk ([email protected]):
    Hi Dave,
    Did not install Oracle 816 up to now. But still..
    Developer 6 has to be installed in DEFAULT_HOME...
    See the procedure below (source Oracle (modified)).
    Installation Procedure
    Follow this procedure to install Developer 6.0 and Oracle 8i on the same physical machine in separate ORACLE_HOMEs on NT:
    1) Install Developer 6.0 using the instructions on the Developer CD.
    Specify an appropriate drive and the ORANT directory as the destination. For example:
    D:\ORANT
    Note: You must install Developer in the Oracle home named DEFAULT_HOME.
    2) Install RDBMS 8.1.5 from the Oracle 8i CD. Specify the following information when prompted for the Oracle Home and Full path:
    Oracle Home ora8i
    Full Path d:\orant\ora8i
    Choose Typical Install
    Global Database Name ora8i.us.oracle.com (This is an example)
    SID ORA8I (This is an example)
    As the product installs, a summary is displayed that shows the products that are installed and the space requirements.
    When the installation is complete, the following information is displayed and the installer exits:
    Oracle Database Configuration Assistant Alert Database Creation Completed.
    Database Information
    Global Database Name ora8i.us.oracle.com
    SID ORA8I
    Sys password change_on_install
    System passwd manager
    3) A TNSNAMES entry needs to be created in the tnsnames.ora file for the new Oracle 8i installation. You can find the file in:
    d:\orant\net80\admin\tnsnames.ora
    A default entry will look like this:
    alias.world
    (DESCRIPTION
    (ADDRESS_LIST
    (ADDRESS
    (PROTOCOL = TCP)
    (Host = )
    (Port = )
    (CONNECT_DATA = (SID = )
    For example, if you installed on a machine with a HOSTNAME of TEST, a SID named ORA8I, on TCP/IP with port 1521, and an alias of NEW, you would create the following entry:
    NEW.world
    (DESCRIPTION
    (ADDRESS_LIST
    (ADDRESS
    (PROTOCOL = TCP)
    (Host = TEST)
    (Port = 1521)
    (CONNECT_DATA = (SID = ORA8I)
    4) If you manually created the entry, save and close the tnsnames.ora file.
    You can now connect to the local database instance of 8i using the DBSTRING as NEW. For example, you can connect as scott/tiger@NEW.
    <HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Trying to view the recorded or live stream while recording the live stream doesnt work

    The workflow: I push a live feed to the rtmp url rtmp://localhost/my-app/tester where my-app is a copy of the live app in AMS but with the following addition of code in main.asc: application.onPublish = function( p_client, p_stream) {    s = Stream.g

  • Flash only installs to 50%.  do i engage in tantrum or is there a fix?

    tried about 7 times, each time it tells me to turn off internet explorer (which i do), but upon trying to restart download, same error message.  tried saving the download, closing everything, then installing & (surprise) same message.  any thoughts? 

  • Indesign 3.0 can't print to adobepdf

    I am having an issue where I can't print ANYTHING in InDesign 3.0 to a PDF file. Not sure what is wrong but it will not work, period. Any advice?  Thanks.

  • Call procedure from batch-file

    Hello, I want to write a batch-file which call a stored procedure and deletes a file in a directory. I wrote in my batch-file this. But it doesn't work. SQLPLUS scott/tiger@ proc del c:\test.txt

  • Setting security for deployment and connections to SSAS

    I've read that SSAS does not offer mixed mode security option as SQL Server does. Does this mean that every user/client desiring to connect via OLE DB must have a domain account? How does one get around this? Also what is the tool used to administer