Multiple ports in scan listener

We have a rac two node on exa database machine with scan listener running from port 1525.
version 11.2.0.4
we want to add another port to scan-listener. will it have any adverse affect on existing infrastructure.

Hi user13427480 -
The support for the Grid Infrastructure and SCAN, including setting up multiple ports for the SCAN listener, is the same on Exadata as any other Linux x86-64 environment. I have not actually configured this and tested it personally on Exadata, but there shouldn't be anything about the Exadata infrastructure that would affect it. As with any change you should test and validate it in your non-prod environment before deploying anything into production.
Thanks,
Kasey

Similar Messages

  • Scan multiple ports on multiple computers

    Hey guys,
    I wrote the following batch script to use along with portqry tool which is availabe from microsoft download center.
    The tool can scan multiple ports on a single computer, but it is not capable of scanning multiple ports on multiple computers in one attempt. Also it gives a big output which is a bit tough if you are trying to prepare a report.
    Here is the batch file which takes input from server.txt where all the computer names present and scans for the below ports on each computer and gives you output in a beautiful way.
    TCP: 135, 445, 1433, 1434, 1024, 1040
    UDP: 1433, 1434
    Copy and paste the below code in a batch file and use it along with portqry.exe.
    echo off
    for /f "tokens=* delims= " %%a in (server.txt) do call :vk %%a
    :vk
    portqry -n %1 -e 1434 -q -p udp
    if errorlevel = 2 goto filtered_1434
    if errorlevel = 1 goto failed_1434
    if errorlevel = 0 goto success_1434
    goto 135
    :filtered_1434
    Echo %1 udp Port 1434 is listening or filtered
    goto 135
    :failed_1434
    Echo %1 udp Port 1434 is not listening
    Goto 135
    :success_1434
    Echo %1 udp Port 1434 is listening
    goto 135
    :135
    portqry -n %1 -e 135 -q -p tcp
    if errorlevel = 2 goto filtered_135
    if errorlevel = 1 goto failed_135
    if errorlevel = 0 goto success_135
    goto 445
    :filtered_135
    Echo %1 tcp Port 135 is listening or filtered
    goto 445
    :failed_135
    Echo %1 tcp Port 135 is not listening
    Goto 445
    :success_135
    Echo %1 tcp Port 135 is listening
    goto 445
    :445
    portqry -n %1 -e 445 -q -p tcp
    if errorlevel = 2 goto filtered_445
    if errorlevel = 1 goto failed_445
    if errorlevel = 0 goto success_445
    goto 1433_tcp
    :filtered_445
    Echo %1 tcp Port 445 is listening or filtered
    goto 1433_tcp
    :failed_445
    Echo %1 tcp Port 445 is not listening
    Goto 1433_tcp
    :success_445
    Echo %1 tcp Port 445 is listening
    goto 1433_tcp
    :1433_tcp
    portqry -n %1 -e 1433 -q -p tcp
    if errorlevel = 2 goto filtered_1433_tcp
    if errorlevel = 1 goto failed_1433_tcp
    if errorlevel = 0 goto success_1433_tcp
    goto 1434_tcp
    :filtered_1433_tcp
    Echo %1 tcp Port 1433 is listening or filtered
    goto 1434_tcp
    :failed_1433_tcp
    Echo %1 tcp Port 1433 is not listening
    Goto 1434_tcp
    :success_1433_tcp
    Echo %1 tcp Port 1433 is listening
    goto 1434_tcp
    :1434_tcp
    portqry -n %1 -e 1434 -q -p tcp
    if errorlevel = 2 goto filtered_1434_tcp
    if errorlevel = 1 goto failed_1434_tcp
    if errorlevel = 0 goto success_1434_tcp
    goto 1024
    :filtered_1434_tcp
    Echo %1 tcp Port 1434 is listening or filtered
    goto 1024
    :failed_1434_tcp
    Echo %1 tcp Port 1434 is not listening
    Goto 1024
    :success_1434_tcp
    Echo %1 tcp Port 1434 is listening
    goto 1024
    :1024
    portqry -n %1 -e 1024 -q -p tcp
    if errorlevel = 2 goto filtered_1024
    if errorlevel = 1 goto failed_1024
    if errorlevel = 0 goto success_1024
    goto 1040
    :filtered_1024
    Echo %1 tcp Port 1024 is listening or filtered
    goto 1040
    :failed_1024
    Echo %1 tcp Port 1024 is not listening
    Goto 1040
    :success_1024
    Echo %1 tcp Port 1024 is listening
    goto 1040
    :1040
    portqry -n %1 -e 1040 -q -p tcp
    if errorlevel = 2 goto filtered_1040
    if errorlevel = 1 goto failed_1040
    if errorlevel = 0 goto success_1040
    goto 1433
    :filtered_1040
    Echo %1 tcp Port 1040 is listening or filtered
    goto 1433
    :failed_1040
    Echo %1 tcp Port 1040 is not listening
    Goto 1433
    :success_1040
    Echo %1 tcp Port 1040 is listening
    goto 1433
    :1433
    portqry -n %1 -e 1433 -q -p udp
    if errorlevel = 2 goto filtered_1433
    if errorlevel = 1 goto failed_1433
    if errorlevel = 0 goto success_1433
    goto end
    :filtered_1433
    Echo %1 udp Port 1433 is listening or filtered
    goto end
    :failed_1433
    Echo %1 udp Port 1433 is not listening
    Goto end
    :success_1433
    Echo %1 udp Port 1433 is listening
    goto end
    :End

    For what it's worth, I wrote a PowerShell script that does something like this a while back.
    http://gallery.technet.microsoft.com/scriptcenter/97119ed6-6fb2-446d-98d8-32d823867131

  • Netbeans 6.1 SMS NON-Brute force ability listen to multiple ports

    First of all, my appologies for being a nubie coming from Mobile6. The company I slave at is migrating from MS Mobile to j2me!!! I am porting a code segment that listens to all incoming/outgoing SMS text messages and logs the messages into another java contact applet for our sales department. Our company policy(I cannot change) allows the sales department to use any/multiple SMS packages and install onto the device.
    Based on my understanding of the (MessageConnection)Connector.open("sms://" foo); I must include a port address to listen in on. Is there a NON-brute forced methodogy to poll "active" ports the device is using to send/recieve SMS text message?
    /dz
    Little Rock, AR.

    db,
    I was reading a blog by Bill Day [http://weblogs.java.net/blog/billday/archive/2004/02/midp_push_using.html]
    regarding MIDP Push; A paragraph jumped at me, it was "...
    Whichever network(s) you're application will be using, you need to find out what protocols they allow inbound to handsets. At the least, most GSM carriers will allow SMS (since they use SMS for short text messaging). Assuming your network does support SMS, from the server part of your application you would need to generate an SMS message directed to the port you bound your MIDlet to in its static or dynamic push registry settings. Assuming the network passes the SMS as expected, your MIDlet should be awakened when the SMS arrives in the handset..."
    Either I'm not understanding your reponse, the info in this blog is incorrect or I must include a port address as part of the open method of the Connector. Still confused.
    /dz

  • Listen on multiple ports for smtp?

    Traditionally, we've provided setup smtp to listen on an additional port to 25 for travellers who find themselves on an ISP which blocks that port. We used a line in master.cf like:
    <newportnumber> inet n - y - - smtpdproxywrite unix - - n - 1 proxymap
    This seems to make snow leopard's postfix unhappy. It also doesn't work. I'd be grateful if anybody could tell me:
    * what is or where to look for info on setting up postfix to do multiple ports? I've tried Apple docs and found nothing and only old-style in postfix docs -- though I could be missing something obvious as always.
    * is this the modern and preferred way to get around the blocked port 25 problem or is it better to do some fancy-schmancy port redirection eg at the firewall to map multiple ports on to port 25 for postfix?
    thanks and allbests,

    In the past I've used the following with great success. Add the following line to /etc/postfix/master.cf file:
    2525 inet n - n - - smtpd
    Stop and start the mail service. Then test with telnet to ensure that the port is responding. Sadly, this still appears to be the best way, sans the use of a VPN, to get around ISP blocking.
    Obviously port 25 needs to be open to receive mail. But instead of opening additional port in the firewall, you could drive all users to VPN.
    I just tested the above line in 10.6.1 and it is responding.
    Hope this helps

  • Can imapd listen on multiple ports?

    For historical reasons, we've got some multiplexors that expect to make the back-end imap connecto to port 993, and some others that want to talk to 994. Is it possible to configure imapd to listen on multiple ports?
    Thanks!

    I just realized this would be doable if the MMP would do STARTTLS to the back-end (since then I could enable STARTTLS on the default port and keep SSL on connect on the other port).
    If only.....

  • Listening multiple ports

    is there anyway a serversocket can listen to multiple ports?like the the serversocket can listen ports between 1 to 1024?thanks!

    no methods that i know of. except to create an array of serversockets but pass the handling of sockets to a centralized location.

  • How to configure multiple databases in single listener

    Hi,
    I want to configure upto 8 standby databases in a server. But I do not know how to configure multiple databases within the listener.
    Also can I use the same port number for all the databases.
    please give your suggestions.
    thankyou
    satyanag

    Please check (http://download.oracle.com/docs/cd/B10501_01/network.920/a96580/toc.htm)
    Jonathan Ferreira
    http://oracle4dbas.blogspot.com

  • Ora-12514 connect to SCAN listener in dataguard RAC environment

    I have two rac nodes datase on linux and two rac standby database also.
    Here are what I got when I try to connect to scan listener from client. It connects to vip/or scan ip addresses without any problem.
    sqlplus system/password@wxcy
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 14 18:42:42 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    But when I log in to the ip address of the scan listener, it worked:
    sqlplus system/[email protected]:1521/wxcy
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 14 18:43:12 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL>
    Here is the tnsnames.ora on the client:
    wxcy =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = scan.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wxcy)
    Here are listener.ora and tnsnames.ora on the server:
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy_DGMGRL)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy1)
    SID_LIST_LISTENER_SCAN1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy1)
    SID_LIST_LISTENER_SCAN3 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy1)
    INBOUND_CONNECT_TIMEOUT_LISTENER = 120
    ~
    tnsnames.ora:
    wxcy =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = scan.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wxcy)
    wxcy_DGMGRL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = scan.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wxcy_DGMGRL)
    wxcy1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = scan.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)(SERVICE_NAME = wxcy)
    (INSTANCE_NAME = wxcy1)
    wxcy2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = scan.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)(SERVICE_NAME = wxcy)
    (INSTANCE_NAME = wxcy2)
    From node 2:
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy_DGMGRL)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy1)
    SID_LIST_LISTENER_SCAN2 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy2)
    SID_LIST_LISTENER_SCAN3 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy2)
    I wonder why I can connect to the ip addresses of those scan listener but not the scan name.
    Thanks.

    Hello;
    This note may help :
    How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name [ID 975457.1]
    Also I would check my DNS ( OK double check ) and each listener service as follows :
    lsnrctl service LISTENER_SCAN1
    ( and so on )
    Also
    Make sure a password file exists on on that node. ( A copy - Create new with Oracle 11 DG does not work )
    Best Regards
    mseberg
    Edited by: mseberg on Mar 14, 2012 5:10 PM

  • Re: Multiple address in local listener

    Can some one explains how scan listener works ?
    Edited by: rcc50886 on Sep 16, 2012 6:55 PM

    rcc50886 wrote:
    1. Clients try to connect to a database using connect string. This connect string has SCAN NAME .
    2. Since connect string has SCAN NAME, SCAN chooses the one of the server in the cluster in a round robin way. lets say connection went to second node.
    3.On the second node, scan listener supposed to redirect the connection to local listener. But local listener is not supporting that service (database is running on only first node)
    4. At this point of time, the connection fails over to another listener on another node. lets say it fails over to node 1 and where it founds the required service.The local listeners registers their services with the remote (SCAN) listener. Why would the remote listener hand off a client connection (that specifies a service name, not server name), to a server's local listener that does not support the requested service?
    Notice that the remote listener, know exactly which services are available via which server's local listener:
    // service names slightly obfuscated for NDA reasons
    LSNRCTL> set current_listener LISTENER_SCAN1
    Current Listener is LISTENER_SCAN1
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN1
    Version                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date                19-APR-2012 15:22:32
    Uptime                    150 days 15 hr. 28 min. 42 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /software/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File         /software/app/11.2.0/grid/log/diag/tnslsnr/dev5/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=11.22.33.44)(PORT=1521)))
    Services Summary...
    Service "dev.domain.com" has 4 instance(s).
      Instance "dev_1", status READY, has 2 handler(s) for this service...
      Instance "dev_2", status READY, has 2 handler(s) for this service...
      Instance "dev_3", status READY, has 2 handler(s) for this service...
      Instance "dev_4", status READY, has 2 handler(s) for this service...
    Service "poc.domain.com" has 2 instance(s).
      Instance "poc_1", status READY, has 2 handler(s) for this service...
      Instance "poc_2", status READY, has 2 handler(s) for this service...
    Service "live.domain.com" has 3 instance(s).
      Instance "live_1", status READY, has 2 handler(s) for this service...
      Instance "live_2", status READY, has 2 handler(s) for this service...
      Instance "live_3", status READY, has 2 handler(s) for this service...
    The command completed successfully
    LSNRCTL>

  • TNS-12520 when connecting via TCPS on 11gR2 RAC with SCAN Listener

    I am struck trying to implement TCPS on our Oracle RAC SCAN Listener.  I have added to our Oracle 12c systems, but not on a RAC with SCAN.
    I created a wallet and certificate on one of the nodes, and copied it to the node and created auto login on each node.  I exported the trust.jks and identity.jks, and loaded them in my test java program as the trust store and key stores.  I have added the wallet location to the listener tns and sql  ora files.
    When attempting a TCPS connection, the ssl handshake succeed, but the client reports error:
    ORA-12520, TNS:listener could not find available handler for requested type of server
    The nodes scan listener log reports the TNS error, listener_scan1/alert/log.xml, when the connection is using TCPS on port 2484:
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'  type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:06:20 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcps)(HOST=9.55.61.122)(PORT=46635)) *
    establish * DUB11RAC * 12520
    </txt>
    </msg>
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'
    host_addr='9.55.59.45'>
    <txt>TNS-12520: TNS:listener could not find available handler for requested type of server
    </txt>
    </msg>
    A connection using TCP completes without error:
    <msg time='2015-04-29T14:42:02.588-04:00' org_id='oracle' comp_id='tnslsnr' type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:42:02 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcp)(HOST=9.55.61.122)(PORT=41950)) *
    establish * DUB11RAC * 0
    </txt>
    </msg>
    The scan listener is configured for TCP on 1521 and TCPS on 2484
    [oracle@dublr059vm ~]$ srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dublr060vm
    [oracle@dublr059vm ~]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521/TCPS:2484
    The service, dub11rac is ready on both instances.
    [oracle@dublr060vm ~]$ lsnrctl stat LISTENER_SCAN1
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 30-APR-2015 11:45:18
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN1
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                30-APR-2015 11:43:24
    Uptime                    0 days 0 hr. 1 min. 53 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File         /u01/app/11.2.0/grid/log/diag/tnslsnr/dublr060vm/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=9.55.59.47)(PORT=2484)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=9.55.59.47)(PORT=1521)))
    Services Summary...
    Service "dub11rac" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    Service "dub11racXDB" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Hi hitgon,
    Thanks first.
    The commands output are as the following:
    Command: srvctl status listener
    Output:
    # Listener LISTENER is enabled
    # Listener LISTENER is running on node(s): rac1,rac2
    Command: srvctl status scan_listener
    Output:
    # SCAN Listener LISTENER_SCAN1 is enabled
    # SCAN listener LISTENER_SCAN1 is running on node rac2
    # TNSNAMES.ORA
    RAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rac.localdomain)
    Command: sqlplus username/passwd@rac-scan:1521/rac.localdomain
    Output:
    # ERROR:
    # ORA-12520: TNS:listener could not find available handler for requested type of server
    # Enter user-name:
    By the way, rac-scan is the host where the SCAN listener is running and rac.localdomain is the service name. I've also tried the following commands
    with the same error output:
    sqlplus username/passwd@RAC
    At last, i think the output of "lsnrctl status LISTENER_SCAN1" might help:
    Service "rac.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...
    Service "racXDB.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...

  • SCAN listener supports no services

    Hi all,
    Our's DB: 11.2.0.1.0. Its 2 node cluster.
    $srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node1
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node1
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node2
    @node1$ps -ef | grep tnslsnr
    oracle xxxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
    oracle xxx ..... /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr LISTENER -inherit
    oracle xxx ..... /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr listener_scan2 -inherit
    @node2$ps -ef | grep tnslsnr
    oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit
    oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit
    oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    oracle xxxxxxx ..... /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr listener -inherit
    @node1$lsnrctl status listener_scan2
    Listener Parameter File //u01/app/11.2.0/grid/network/admin/listener.ora
    Listening Endpoints Summary..
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    The listener supports no services
    The command completed successfully
    ??? Though Listener_scan2 is running on node1,why it shows on ps -ef on node 2 ?
    Why listener_scan2 processes from ORACLE_HOME instead of CRS_HOME?
    Thanks

    I assume SCAN name:1521 is in fact a proper IP address or hostname with the port number?
    The Oracle instance will attempt to connect to that IP and port to register its services.
    If it is a hostname and not IP, then make sure it resolves correctly to an IP address on that server. If name resolution fails, then without an IP for that name, the Oracle instance cannot register its services.
    Once you have made sure that hostname resolution works, the next step is to check whether there is in fact a network service on that IP address, listening on that port.
    Two methods can be used. The netstat command (run on that server that owns that IP) will show all tcp listener end points. Use the -n switch to display numerics (and not hostnames). The netstat output should contain and entry "+ip_address:1521+ or +*:1521+ - this will confirm that there is a network service on that port for that IP address.
    The more detailed method is using the +lsof+ (list of files) command on the SCAN listener process (find the +pid+ and specify it via the +-p+ command line switch). This command will show all open file handles for the specified process - including socket handles. One of these should be on that IP address for port 1521.
    If you have confirmed that both the Oracle instance has the correct SCAN details and that the SCAN listener is actually listening on that tcp port and IP, and registration still does not work - then it could be a connectivity problem.
    From the +oracle+ o/s account on the db server, test connectivity to that port and IP using +telnet+.

  • Any additional configuration require to achieve TAF in 11.2.0.4 RAC along with scan listener

    Hi
    We have 2 node RAC database of version 11.2.0.4 running on Linux platform.
    There are 2 SCAN listener running on DB instead of 3 which usually recommenced by oracle.
    When one of instance brought down as scheduled activity, sessions which connected to same instance, received ORA-03113: end-of-file on communication channel.
    They were doing some select activity in db.
    When user reconnected, it got connected to available instance.
    tns entry which users are using (description=(address=(protocol=tcp)(host=p1bds1d4-scan.sldc.sbc.com)(port=1521))(connect_data=(server=dedicated)(service_name=p1bds1d4)))
    Do we need to do any additional configuration to achieve TAF in 11.2.0.4 along with SCAN listener.
    Do we need to change tns to include clause like "FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=180)(DELAY=5)" ?
    Please help.
    Thanks
    Ashish

    You could enable TAF from the cient side by adding a clause such as that you suggest to your connect strings, but in a GI envirinment you would normally do it by adjusting the way the sevice is registered in the OCR. Run
    srvctl modify service -h
    and look up the -e and -m switches.
    John Watson
    Oracle Certified Master DBA

  • Unable to start scan listener

    Hi,
    Some application users reported that they are unable to connect to the database.
    Getting this err r : ORA-12505: TNS:listener does not currently know of SID given in connect
    checked and found that the database listener was running from old home.(recently clusterware was upgraded from 11g to 12c)
    Started the DB listener from grid home.
    Then found that scan listener is not running.
    While starting scan listener, getting below error.
    crsctl start resource ora.LISTENER_SCAN1.lsnr
    CRS-2644: No hosting members of 'ora.LISTENER_SCAN1.lsnr' are either online or are allowed to be used by the resource
    CRS-4000: Command Start failed, or completed with errors.

    is database not registered with SCAN? why are you having two different listeners db listener and scan? Do you mean to say local listener on server?
    Trying running below commands as grid user ,
    this is how it worked with me
    (commented out the names and ipaddresses)
    ~>+ASM1@xxxxx:/home/grid~> srvctl config scan
    SCAN name: test-scan, Network: 1/192.xxx.xxx.x/255.xxx.xxx.x/bond0
    SCAN VIP name: scan1, IP: /test-scan.xxxx.nc/192.xxx.xxx.101
    SCAN VIP name: scan2, IP: /test-scan.xxxx.nc/192.xxx.xxx.102
    SCAN VIP name: scan3, IP: /test-scan.xxxxx..nc/192.xxx.xxx.100
    ~>+ASM1@xxxxx:/home/grid~> srvctl config listener
    Name: LISTENER
    Network: 1, Owner: grid
    Home: <CRS home>
    End points: TCP:1521
    ~>+ASM1@xxxxx:/home/grid~>  srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
    SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
    SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1521
    to start and stop listeners
    ~>+ASM1@xxxxx:/home/grid~>  srvctl stop listener
    ~>+ASM1@xxxxx:/home/grid~>  srvctl start listener
    ~>+ASM1@xxxxx:/home/grid~> srvctl stop scan_listener
    ~>+ASM1@xxxxx:/home/grid~> srvctl start scan_listener
    Thanks

  • Scan listener for single instance

    Hi,
    in my 6 node 11.2 cluster, i've 1 single instance 11.2
    This instance uses GI listener and i can be accessed using host vip.
    Using the scan i get ora-12514.
    Why?
    Thanks.

    Hi,
    "SCAN listeners can run on any node in the cluster. SCANs provide location independence for
    databases so that the client configuration does not have to depend on which nodes run a
    particular database.
    Oracle Database 11g Release 2 and later instances register with SCAN listeners only as
    remote listeners. Upgraded databases register with SCAN listeners as remote listeners, and
    also continue to register with all other listeners."
    "When a client submits a connection request, the SCAN listener listening on a SCAN IP
    address and the SCAN port are contacted on the client’s behalf. Because all services on the
    cluster are registered with the SCAN listener, the SCAN listener replies with the address of
    the local listener on the least-loaded node where the service is currently being offered.
    Finally, the client establishes a connection to the service through the listener on the node
    where service is offered. All these actions take place transparently to the client without any
    explicit configuration required in the client."
    So scan redirect to the vip in which the instance is running.
    Edited by: Mr.D. on 22-mag-2013 1.39

  • Why scan listener has only 1 instance registered ?

    hi all ,
    i met this problem these days
    my environment RAC03 has 2 nodes : RAC03A and RAC03B
    using "lsnrctl services" checked the local listener, i found there are too many request established on RAC03A, but RAC03B has quite few request……
    then i checked the scan listener
    RAC03A —————————————————————————————————————
    [grid@F5PRAC03A:/u01/app/11.2.0/grid/network/admin]$ lsnrctl status listener_scan1
    LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 11-MAR-2013 13:01:35
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN1
    Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
    Start Date 07-MAR-2013 16:14:16
    Uptime 3 days 20 hr. 47 min. 20 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/11.2.0/grid/log/diag/tnslsnr/F5PRAC03A/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.27.125.81)(PORT=1521)))
    Services Summary...
    Service "F5PPERF" has 1 instance(s).
    Instance "F5PPERF1", status READY, has 1 handler(s) for this service...
    Service "F5PPERFXDB" has 1 instance(s).
    Instance "F5PPERF1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    RAC03B ———————————————————————————————————————
    [grid@F5PRAC03B:/home/grid]$ lsnrctl status listener_scan1
    LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 11-MAR-2013 13:25:13
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN1
    Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
    Start Date 05-FEB-2013 10:11:51
    Uptime 34 days 3 hr. 13 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/11.2.0/grid/log/diag/tnslsnr/F5PRAC03B/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.27.125.81)(PORT=1521)))
    Services Summary...
    Service "F5PPERF" has 1 instance(s).
    Instance "F5PPERF2", status READY, has 1 handler(s) for this service...
    Service "F5PPERFXDB" has 1 instance(s).
    Instance "F5PPERF2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    i thought there's something wrong with the scan listener , because when i checked RAC01, the scan listener is
    RAC01 ——————————————————————————————————————
    [grid@F5PRAC01A:/u01/app/11.2.0/grid/network/admin]$ lsnrctl status listener_scan1
    LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 11-MAR-2013 13:28:31
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN1
    Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
    Start Date 28-JAN-2013 15:25:19
    Uptime 41 days 22 hr. 3 min. 12 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/11.2.0/grid/log/diag/tnslsnr/F5PRAC01A/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.27.125.69)(PORT=1521)))
    Services Summary...
    Service "F5POMU" has 2 instance(s).
    Instance "F5POMU1", status READY, has 1 handler(s) for this service...
    Instance "F5POMU2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    the service has two instance registerd on RAC01, but RAC03 is not.
    i tried " alter system register " in two nodes, but it's no use at all :(
    how could i add the other instance on RAC03 registered in the scan_listener?
    thanks a lot!

    i did what you said
    1) stop scan_listener and scan
    2) kill the listener_scan1 process on RAC03A
    3) start scan and scan_listener
    then i checked the status of scan_listener
    at first , the scan_listener on RAC03B still had 1 instance registered (the local instance),
    so i rebooted the OS(RAC03A)
    after that , it finally works!
    now the scan_listener on RAC03B has 2 instances registered(the local one and the remote one)
    [grid@F5PRAC03B:/home/grid]$ lsnrctl status listener_scan1
    LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 12-MAR-2013 09:08:28
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN1
    Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
    Start Date 12-MAR-2013 08:49:02
    Uptime 0 days 0 hr. 19 min. 26 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/11.2.0/grid/log/diag/tnslsnr/F5PRAC03B/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.27.125.81)(PORT=1521)))
    Services Summary...
    Service "F5PPERF" has 2 instance(s).
    Instance "F5PPERF1", status READY, has 1 handler(s) for this service...
    Instance "F5PPERF2", status READY, has 1 handler(s) for this service...
    Service "F5PPERFXDB" has 2 instance(s).
    Instance "F5PPERF1", status READY, has 1 handler(s) for this service...
    Instance "F5PPERF2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    thanks very much, john :)

Maybe you are looking for