Multiple listeners

hi,
i am in the process of configuring seperate listener for each of my 5 instances. my present listener is running on default port of 1521. so i made 5 other entries for each listener in the listener.ora file. eventhough there is no enrty for a listener on port 1521 now, still a listener starts up on 1521 when i type( at OS prompt):
oracle@hostname>lsnrctl start listener.
-----> there is no listener by name "listener" in my listener.ora file now.
----->port 1521 is not at all mentioned in listener.ora file
----> i stop and started the listeners again but its the same case.
my question is why the listener is still running on 1521 port when there is no entry in listener.ora file.
regards,
vidyanath

HI,
Please see into your tnsnames.ora, if databases are in port 1521, the local access (without TCP, with IPC) continue access on port 1521 with IPC.
See too ps -ef|grep lsnr, it can run old listener on port 1521, in this case, you can make kill -9 <processus>, you can see the file $ORACLE_HOME/network/log/listener.log.
Nicolas.

Similar Messages

  • How to configure multiple listeners to listen for the same instance.

    Hello everyone,
    I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
    According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
    Please only give detailed answers with example as I am tired of simple answers with details that I already know.

    Hello,
    Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
    By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
    i.e
    local_listener=MY_SET_OFF_LISTENERS
    in your tnsname.ora add an entry called:
    MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
    In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
    If you want your clients can be balanced over the 3 listeners

  • How to specify multiple listeners in the init/spfile

    hi experts,
    can u explain me How to specify multiple listeners in the init/spfile ?

    you do not specify linsteners in spfile.
    The easiest way to configure more listeners is to use Net Configuration Assistant tool.

  • Question about multiple listeners and vip addresses in rac.

    We have a 2 node rac cluster running 10.2.0.3 on rhel4 on the itanium platform. We have a need where we want to connect the 2 hosts up to another network temporarily by configuring an additional network interface on each server so that we can test some connections from a different network.
    My question is can you configure multiple listeners on the same server in which the newly added listener can be configured to service requets on the new network interface?
    Because it's rac would you need to configure an additional vip address? I am not sure that you can have multiple vip's on a server?
    Has anyone configured rac in such a way, any help is appreciated.

    can you configure multiple listeners on the same server in which the newly added listener can be configured to service requets on the new network interface?Yes, you can but you should not be doing this. Listener is a node specific resource and one listener can server multiple services. You actually can create multiple services within the database for different set of users and all can be registered to the same listener.
    Because it's rac would you need to configure an additional vip address? What do you mean by additional IP?
    You have installed 10g RAC where you have already configured virtual IPs. Why do you want to have additional one? node1 - static ip1, vip1, pvtip1
    node2 - static ip2 vip2, pvtip2
    total 6
    I am not sure that you can have multiple vip's on a server?Nothing to do with the server, they are based on public IP. Yes you can create multiples vip's based on same public IP. This is possible, But you do not need to do this in RAC environment.

  • Multiple listeners on Oracle 9i instance

    Hi,
    i am having problems starting multiple listeners in an Oracle 9i instance. The contents of the listener file is
    # LISTENER.ORA Network Configuration File: /lsq2/app/oracle/product/9.2.0/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LSNR_LSQ=
    (DESCRIPTION_LIST=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)(HOST=traindb3-lsq)(PORT=1541))
    (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    (ADDRESS=(PROTOCOL=IPC)(KEY=CMDP))
    (ADDRESS=(PROTOCOL=IPC)(KEY=RT1))
    (ADDRESS=(PROTOCOL=IPC)(KEY=DM1))
    (ADDRESS=(PROTOCOL=IPC)(KEY=BOB))
    (DESCRIPTION=
    (PROTOCOL_STACK=
    (PRESENTATION=GIOP)
    (SESSION=RAW)
    (ADDRESS=(PROTOCOL=TCP)(HOST=traindb3-lsq)(PORT=2481))
    STOP_LISTENER = YES
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 20
    SID_LIST_LSNR_LSQ=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtProc)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (PROGRAM=extproc32)
    (ENV='GBPATH=/lsq2/home/cmdp/GB/nr')
    (SID_DESC=
    (GLOBAL_DBNAME=CMDP)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (SID_NAME=CMDP)
    (SID_DESC=
    (GLOBAL_DBNAME=DM1)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (SID_NAME=DM1)
    (SID_DESC=
    (GLOBAL_DBNAME=RT1)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (SID_NAME=RT1)
    (SID_DESC=
    (GLOBAL_DBNAME=BOB)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (SID_NAME=BOB)
    (SID_DESC=
    (GLOBAL_DBNAME=truat1)
    (ORACLE_HOME=/u01/app/oracle/product/9.2.0)
    (SID_NAME=truat1)
    (SID_DESC=
    (GLOBAL_DBNAME=tradev1)
    (ORACLE_HOME=/u01/app/oracle/product/9.2.0)
    (SID_NAME=tradev1)
    (SID_DESC=
    (GLOBAL_DBNAME=tratest1)
    (ORACLE_HOME=/u01/app/oracle/product/9.2.0)
    (SID_NAME=tratest1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.244.127.12) (PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC) (KEY=EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=HDSSQLServer)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (PROGRAM=hsodbc)
    (ENVS=LD_LIBRARY_PATH=/lsq2/app/oracle/product/9.2.0/lib:/usr/local/easysoft/unixODBC/lib:/usr/local/easysoft/lib:/usr/l
    ocal/easysoft/oob/client)
    (SID_DESC =
    (SID_NAME=HDSSQLServerRotherham)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (PROGRAM=hsodbc)
    (ENVS=LD_LIBRARY_PATH=/lsq2/app/oracle/product/9.2.0/lib:/usr/local/easysoft/unixODBC/lib:/usr/local/easysoft/lib:/usr/l
    ocal/easysoft/oob/client)
    (SID_DESC =
    (SID_NAME=SDCIMart)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (PROGRAM=hsodbc)
    (ENVS=LD_LIBRARY_PATH=/lsq2/app/oracle/product/9.2.0/lib:/usr/local/easysoft/unixODBC/lib:/usr/local/easysoft/lib:/usr/l
    ocal/easysoft/oob/client)
    I could start the listener lsnr_lsq but not the default listener. The error I get is
    TNS-01155: Incorrectly specified SID_LIST_str parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    The default listener deals with connections to a sql server while lsnr_lsq deals with connections to oracle databases.
    Thanx in advance

    Could you make sure that you've services for all the SID's below in the tnsnames.ora file..
    1)HDSSQLServer,
    2)HDSSQLServerRotherham,
    3)SDCIMart
    Regards,
    Bhagat

  • Multiple Listeners - Multiple Event Handlers

    According to the tutorial, event handling code executes in a single event dispatching thread to ensure that each event handler finishes execution before the next executes. I'm also aware that I can add multiple action listeners to a single component, like JButton. But if I add mutliple listeners to a component, is there any way to determine in what order the event handling code will execute? Is there an order to which the listeners listen..
    Thanks in advance.

    Thanks to both of you for your responses and suggestions.
    camickr...
    I don't think its good style to add multiple listeners
    and write code dependent on the order of execution.I appreciate your candor here and I'm inclined to agree. So I've reorganized things a bit and I don't need to have the listeners in any particular order. But thank you for taking a look at the source code. It didn't occur to me to do that. That is interesting.
    Deudeu..
    If you require a specific sequential order you should create cascading eventsThis would be a way to resolve the issue of sequential response. When I changed my design a bit however, I didn't need to perform anything sequentially.

  • How to configure multiple listeners

    Hi All,
    I have installed 2 different Oracle instances on a single machine. I found that each oracle installation created its own Listener. I cant start both of the listeners at the same time. As a result, the respective applications cant talk to their corresponding database instances.
    I could start only one listener for one database instance at any given point of time. Therefore, I am unable to use the other application.
    Can any one please help me in configuring this appropriately so that both the applications can talk to their respective databases?
    Waiting for your kind replies.
    Regards,
    Syed

    Syed Abdul Rahman wrote:
    Hi All,
    I have installed 2 different Oracle instances on a single machine. I found that each oracle installation created its own Listener. I cant start both of the listeners at the same time. As a result, the respective applications cant talk to their corresponding database instances.
    I could start only one listener for one database instance at any given point of time. Therefore, I am unable to use the other application.
    Can any one please help me in configuring this appropriately so that both the applications can talk to their respective databases?
    Waiting for your kind replies.
    Regards,
    Syedit's better to configure a single listener . Configuring multiple listener will increased system resource usage. Multiple listener may be helpful in case of RAC .
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Multiple listeners on server

    hi,
    I have a server which has a number of database instances running. Each instance has been installed with a separate user (not oracle or oinstall) and this is true for the listeners and tnsnames. The correct oraenv therefore has to be run to get access. this is causing an issue in Grid Control whereby the agent reports a listener but because it is owned by a user different to that of the agent install it will not report correctly. What is the best policy for the listener. Is it a listener per instance or one listener for all instances.
    rgds
    alan

    I would think the most common setup is one listener per network protocol in use: TCP, DECNET, SNA, etc.... for all databases on the server. For most sites this means one unnamed listener of the highest Oracle version installed on the server since few sites use multiple network protocols.
    HTH -- Mark D Powell --

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

  • Multiple listeners in Weblogic

    Hi:
    Can I deploy multiple Apex listeners pointing to different Databases in the same Weblogic server? Is there any documentation or OTN Notes on this?
    Regards
    David

    You don't need multiple domains to run multiiple listeners. This is exactly what we are doing in or development environment.
    As mentioned by Udo, you need to have a different config dir configuration for each apex.war deployment in WebLogic.
    For example, you may have two development databases. DEV1 and DEV2
    copy the apex.war file twice and rename to apex_dev1.war for the DEV1 instance and apex_dev2.war for the DEV2 instance.
    Unzip/unjar the file and modify the web.xml file as follows in apex_dev1.war:
    <context-param>
    <param-name>config.dir</param-name>
    <param-value>${apex_dev1.dir}</param-value>
    </context-param>
    Unzip/unjar the file and modify the web.xml file as follows in apex_dev2.war:
    <context-param>
    <param-name>config.dir</param-name>
    <param-value>${apex_dev2.dir}</param-value>
    </context-param>
    In the WebLogic console go to the Server configuration->Server Start tab and under the Arguments section enter the following (or wherever depending on your environment):
    -Dapex_dev1.dir=/ora/Middleware/user_projects/applications/apex_dev1_config;-Dapex_dev2.dir=/ora/Middleware/user_projects/applications/apex_dev2_config
    You must create bothdirectories first before starting the server.
    Deploy the new war files via the console in Weblogic and then goto /apex_dev1/listenerConfigure and configure it for the appropriate database. Do the same for apex_dev2.
    This way you will know which DB you hitting via the URL.
    good luck.

  • Multiple listeners don't work for publish subscribe?

    We wrote a publish/subscribe system based on JMS. It works fine so long as there is only one subscriber/listener. Normally this listener resides in the ejb space. Once we introduce another listener (e.g. by running another java program on the same host), the
              original listener STOPPED receiving messages -- is this a WLS bug ?
              

    Well pub/sub wouldn't be pub/sub unless it allowed for multiple
              subscribers.
              I think that 6.1SP2 had problems with certain combinations of listeners,
              in particular MDB and non-MDB. (Not sure.)
              What is your version and service-pack level?
              kin wrote:
              > We wrote a publish/subscribe system based on JMS. It works fine so long as there is only one subscriber/listener. Normally this listener resides in the ejb space. Once we introduce another listener (e.g. by running another java program on the same host), the
              > original listener STOPPED receiving messages -- is this a WLS bug ?
              

  • Configuring multiple listeners in a non-RAC env.

    Hi,
    Our database is being made as many as 35 requests per second by the application during peak hours. This is causing the listener to die. Metalink suggested to configure more listeners so that they can balance the load. When I tried to configure 2 listeners on the local server, one of the listeners are not working propoerly.
    I am posting the listenerr.ora and their statuses along with the error messages here. Can someone help me understand the problem?
    Listener.ora
    LISTENER2 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = dbdev.website.com)(PORT = 1522))
    SID_LIST_LISTENER2 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = TESTDB)
          (ORACLE_HOME = /u02/app/oracle)
          (PROGRAM = extproc)
    LISTENER1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = dbdev.website.com)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER1 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /u02/app/oracle)
          (PROGRAM = extproc)
    lsnrctl status <listener_name>
    oracle@ DBDEV $ lsnrctl status LISTENER1
    LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 02-AUG-2009 20:08:03
    Copyright (c) 1991, 2006, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbdev.website.com)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER1
    Version                   TNSLSNR for Linux: Version 10.2.0.3.0 - Production
    Start Date                29-JUL-2009 22:28:31
    Uptime                    3 days 21 hr. 39 min. 32 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u02/app/oracle/network/admin/listener.ora
    Listener Log File         /u02/app/oracle/network/log/arogya1.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbdev.website.com)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TESTDB" has 1 instance(s).
      Instance "TESTDB", status READY, has 1 handler(s) for this service...
    Service "TESTDB_XPT" has 1 instance(s).
      Instance "TESTDB", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@ DBDEV$ lsnrctl status LISTENER2
    LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 02-AUG-2009 20:08:07
    Copyright (c) 1991, 2006, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbdev.website.com)(PORT=1522)))
    STATUS of the LISTENER
    Alias                     LISTENER2
    Version                   TNSLSNR for Linux: Version 10.2.0.3.0 - Production
    Start Date                31-JUL-2009 02:37:10
    Uptime                    2 days 17 hr. 30 min. 56 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u02/app/oracle/network/admin/listener.ora
    Listener Log File         /u02/app/oracle/network/log/arogya2.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbdev.website.com)(PORT=1522)))
    Services Summary...
    Service "TESTDB" has 1 instance(s).
      Instance "TESTDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    ps -ef | grep tnslsnr
    oracle@ DBDEV $ ps -ef | grep tnslsnr
    oracle    7951     1  0 Jul29 ?        00:00:00 /u02/app/oracle/bin/tnslsnr LISTENER1 -inherit
    oracle   18080     1  0 Jul31 ?        00:00:00 /u02/app/oracle/bin/tnslsnr LISTENER2 -inherit
    Client message
    C:\Oracle\product\10.1.0\Client_1\BIN>sqlplus system/manager@asridb1
    SQL*Plus: Release 10.1.0.2.0 - Production on Mon Aug 3 09:32:18 2009
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    C:\Oracle\product\10.1.0\Client_1\BIN>sqlplus system/manager@asridb2
    SQL*Plus: Release 10.1.0.2.0 - Production on Mon Aug 3 09:32:25 2009
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    ERROR:
    ORA-28547: connection to server failed, probable Net8 admin error
    Enter user-name:Thanks,
    Aswin.

    ice_cold_aswin wrote:
    But shared server is not always better than a dedicated server.I did not say it was - only that if you're expecting loads of brand new connection requests to be services fast by the Listener, then shared server will be significantly faster than dedicated server.
    Frequency of connections may be handled better by the use of shared server, but how about holding thousands and thousands of connections and serving all their requests by using some preemptive mechanism? Many years ago, I configured an Oracle 8i instance on my desktop PC with shared server and told the Java guys to try their worst. See how many threads they can open against my desktop PC instance versus the big HP server instance. The latter was using dedicated server and they were kind of thinking that this was somehow better than shared server. They could open less than a few hundred connections to the big server. They opened over a 1000 connections to my desktop instance.
    Shared  Server is and never was a poor and second choice to Dedicated Server as some seems to suggest. It is extremely capable and ideally suited when dealing with a huge number of connections.
    In our application, number of connections would reach thousands during peak hours and large number of REALLY BIG queries would be fired by each of them in a small time period. I would say these BIG QUERIES can be termed as OLAP queries, while our main stream application is a OLTP system. It must be apparent to you by now, our database (non-RAC) is supporting an application that gives OLAP and OLTP queries at a very high frequency. A big query ito what? Resource footprint? Source code size of the query? Execution time of the query?
    If you have 100's of OLAP type queries (complex and long running queries) hitting the server every few seconds, then your server will die. Unless you are running some seriously expensive hardware.
    That aside - it is only a sensible approach to use shared server in an environment that deals with 1000's of OLTP type connections. And if there is an OLAP mix too, then configure those connections to request dedicated server connections.
    Why? The shared server scales a lot better than dedicated server. And scalability is what you want in this type of environment.

  • Multiple listeners on the same IP and Port - is this possible?

    Hi all,
    I think I know the answer but thought I'd ask anyway, as someone might have some suggestions.
    So in IIS we can have multiple websites bound to the same IP - this is called "Hostname binding", and means that IIS will check the Host header of incoming traffic before deciding on what to serve.
    Can we do anything similar in TMG?
    Or, if I want to handle requests for the same port (443) for multiple applications, do I simply need to get another IP address an interface onto the TMG box?
    Thanks in advance.

    Hi,
    When you publish multiple Web sites with different host names on the same Web server, you can install a wildcard certificate on the Web server that can be used to prove the identity of the Web server to the Forefront TMG computer. A SAN certificate can also
    be used.
    There is a article describing how  to configure Web publishing rules in Microsoft Internet Security and Acceleration  2004 (ISA 2004) Server or Microsoft Forefront Threat Management Gateway, Medium Business Edition to redirect HTTP requests from
    the Internet to a specific internal Web server by using the original host header.
    http://support2.microsoft.com/kb/838252/en-us
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Multiple listeners on a RAC cluster?

    Hello -
    I have a RAC cluster that will contain between 5 and 10 databases. Would it be a best practice to have a separate listener for each database, or one listener for the entire cluster?
    Thanks,
    mike

    I do not think one listener would work in my situation, please comment.
    I have two and three node RACs running multiple installations of E-Business Suite, each installation is owned by a different userid with primary group dba.
    Autoconfig does not seem aware of the concept of a single listener; an execution of autoconfig is only aware of it's current context and so will generate a single listener.ora and tnsnames.ora.
    Thanks for your insights.
    Jerry

  • Multiple listeners using both protocols

    All.
    I have two listeners configured on a database server (10.2.0 on Linux). I need to be able to call external procedures (via extproc) from instances configured under each of these listeners.. Here are the listener entries..
    DEFAULT:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dbi3.phl.usna.sca.corp)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SECOND:
    LOUDOGG =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dbi3.phl.usna.sca.corp)(PORT = 1522))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    When I modify the second listener entry to also specify the IPC protocol for extproc it won't let me start up the second listener.. Is this possible at all. Can someone assist with what I could be missing here..
    thanks,
    badri

    Thanks, I did not know that already. I am able to start the second listener with unique key for the IPC protocol, I called it extproc1.
    The issue i am facing now is the tnsnames entry for EXTPROC_CONNECTION_DATA how do I specify that a call to a external procedure needs to get routed to the first or the second listener.. I tried this, but it is still sending this to the first listener based on the key..
    thanks for taking the time to look into this..
    badri
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

  • Multiple DB's and multiple listeners - sanity check

    In setting up a 3 node cluster to provide HA Oracle failover to a minimum of 4 databases for starters, just need a bit of confirmation on listeners...
    4 seperate RG's for each DB.
    Each instance has it's own LHN + IPdefined in /etc/hosts.
    Each node has Oracle home on local disk. DB files on shared disk, each on their own HASP.
    HASP has weak dependencie on local disk/Ora-homes and that all works fine.
    I setup the listeners for each logical server to be dependent on the HASP as well.
    So, 4 RGs, 4 listeners, 4 LHN's, etc. Seems pretty straightforward, and the oracle server resources all start up fine, however when failing a RG over to another node, it takes a real long time and eventually gets it done but the listeners on all the DB's restart before the failover completes. DBA left the listener.ora file as default so it does not have all the SID's of the DB's we have in the cluster. Does listener.ora need to be edited to reflect 4 seperate listeners or just SIDs? Wondering if there is an example of this somewhere, I've found references to RAC listener.ora files but that's a tad bit different.
    thanks again,
    Dave
    Aug 19 11:03:02 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: Starting listener LISTENER3.
    Aug 19 11:03:02 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: Using method 'run_setuid_prog' to execute start commands
    LSNRCTL for Solaris: Version 10.2.0.2.0 - Production on 19-AUG-2008 11:03:02
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    TNS-01106: Listener using listener name LISTENER1 has already been started
    Executing command: /opt/SUNWscor/oracle_listener/bin/oracle_listener_manage start
    Aug 19 11:03:06 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: Failed to start listener LISTENER3.
    Aug 19 11:04:12 SC[SUNWscor.oracle_listener.stop]:db480t1-rg:db480t1_listener-rs: listener LISTENER3 is not running.
    Aug 19 11:06:08 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: Starting listener LISTENER3.
    Aug 19 11:06:08 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: Using method 'run_setuid_prog' to execute start commands
    LSNRCTL for Solaris: Version 10.2.0.2.0 - Production on 19-AUG-2008 11:06:08
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    TNS-01106: Listener using listener name LISTENER1 has already been started
    Executing command: /opt/SUNWscor/oracle_listener/bin/oracle_listener_manage start
    Aug 19 11:06:12 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: Failed to start listener LISTENER3.Edited by: 2wheel on Aug 19, 2008 9:13 AM
    Edited the listener.ora to reflect the 4 seperate listeners, LISTENER1, 2, 3, 4. I edited the properties of LISTENER_NAME for each listener resource. Now if I enable one listener on one node, works fine. Enable 2nd listener (RG happens to be on different node) works fine. Try to enable 3rd or 4rth listeners on the same nodes and it pukes....

    messages snippet from attempt to create a 3rd listener on a node where all the RG's are online, two listeners already running. Will not allow it:
    Aug 20 07:07:41 devdsm01nd03 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <bin/oracle_listener_validate> for resource <db480t1_listener-rs>, resource group <db480t1-rg>, node <devdsm01nd03>, timeout <120> seconds
    Aug 20 07:07:41 devdsm01nd03 Cluster.RGM.rgmd: [ID 285716 daemon.notice] 20 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscor/oracle_listener/bin/oracle_listener_validate>:tag=<db480t1-rg.db480t1_listener-rs.2>: Calling security_clnt_connect(..., host=<devdsm01nd03>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Aug 20 07:07:42 devdsm01nd03 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <bin/oracle_listener_validate> completed successfully for resource <db480t1_listener-rs>, resource group <db480t1-rg>, node <devdsm01nd03>, time used: 0% of timeout <120 seconds>
    Aug 20 07:07:42 devdsm01nd03 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <bin/oracle_listener_init> for resource <db480t1_listener-rs>, resource group <db480t1-rg>, node <devdsm01nd03>, timeout <30> seconds
    Aug 20 07:07:42 devdsm01nd03 Cluster.RGM.rgmd: [ID 252072 daemon.notice] 50 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscor/oracle_listener/bin/oracle_listener_init>:tag=<db480t1-rg.db480t1_listener-rs.4>: Calling security_clnt_connect(..., host=<devdsm01nd03>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Aug 20 07:07:42 devdsm01nd03 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <bin/oracle_listener_init> completed successfully for resource <db480t1_listener-rs>, resource group <db480t1-rg>, node <devdsm01nd03>, time used: 0% of timeout <30 seconds>
    Aug 20 07:07:42 devdsm01nd03 Cluster.CCR: [ID 973933 daemon.notice] resource db480t1_listener-rs added.
    Aug 20 07:07:43 devdsm01nd03 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <bin/oracle_listener_start> for resource <db480t1_listener-rs>, resource group <db480t1-rg>, node <devdsm01nd03>, timeout <300> seconds
    Aug 20 07:07:43 devdsm01nd03 Cluster.RGM.rgmd: [ID 252072 daemon.notice] 50 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscor/oracle_listener/bin/oracle_listener_start>:tag=<db480t1-rg.db480t1_listener-rs.0>: Calling security_clnt_connect(..., host=<devdsm01nd03>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Aug 20 07:07:48 devdsm01nd03 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: [ID 847065 daemon.error] Failed to start listener LISTENER3.
    Aug 20 07:07:48 devdsm01nd03 Cluster.RGM.rgmd: [ID 938318 daemon.error] Method <bin/oracle_listener_start> failed on resource <db480t1_listener-rs> in resource group <db480t1-rg> [exit code <1>, time used: 1% of timeout <300 seconds>]Listeners already running:
    [devdsm01nd03:spgdas]: ps -ef |grep listener
        root    13   999   0 15:48:48 ?           0:17 /usr/bin/ksh /opt/SUNWscor/oracle_listener/bin/oracle_listener_monitor -R db480
        root   139   999   0 15:49:08 ?           0:17 /usr/bin/ksh /opt/SUNWscor/oracle_listener/bin/oracle_listener_monitor -R db480
    [devdsm01nd03:spgdas]: ps -ef |grep LISTENER
      oracle 29953     1   0 15:48:44 ?           0:14 /oracle/app/product/10.2.0/bin/tnslsnr LISTENER -inheritMore from the listener logs:
    Aug 20 07:07:44 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: Starting listener LISTENER3.
    Aug 20 07:07:44 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: Using method 'run_setuid_prog' to execute start commands
    LSNRCTL for Solaris: Version 10.2.0.2.0 - Production on 20-AUG-2008 07:07:44
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    Executing command: /opt/SUNWscor/oracle_listener/bin/oracle_listener_manage start
    Aug 20 07:07:48 SC[SUNWscor.oracle_listener.start]:db480t1-rg:db480t1_listener-rs: Failed to start listener LISTENER3.Trying to deduce this down to the lowest denominator. I agree, it's probably a configuration issue, so I removed all the server resources again to make the RGs a little leaner. When I do this (with each RG only having the HASP and LHN resources) I can move all 4 RG's to one node. That works fine. I add listeners one by one and that's when it derails.

Maybe you are looking for

  • What can I do about an upsetting scratch in my screen?

    If I run my nail up and down on the scratch you can feel it is cracked. There are three. One half inch one, a two and a half, and a small one that is pretty deep. It really *****. Any way to fix if?

  • Automatically downloading on iTunes store!?

    Today my dad activated his £25 app card on his iPad. Upon going into the iTunes store front his account said 'You have £17.01 in your account'. We quickly went into the purchases and found 'Common's' new album downloading automicatically. In no way d

  • Format search error

    Dear All 1.I create a User-define field on OITM, Call U_D. 2.Create a format search Query on itemcode of Item interface. FS: Select $[oitm.U_D] When the Item interface is "add" status, The FS can select data, but when the status is "Find" ststus, the

  • Base64 decoding - perl & openssl vs. html embedded image

    I am having a strange problem. I have a TIFF image stored in a SQLite database encoded as Base64. When I retrieve the Base64 characters, save them to a file using an applescript writing a utf-8 text file to disk (or just saving it in TextWrangler), a

  • What are most important preferences to set in LR 5

    Now that I have finally got LR5 loaded and my previous catalog imported with the great help of Briian and Victoria the question remains.....what preferences do I surely need to set? I could just look at my LR 4.4, but are there others that might appl