Oracle SCAN Listener Status change

Hi,
During a high CPU Usage on one of the Node in Oracle RAC (11g R2) Environment resulted in automatic change of SCAN Listener Status to INTERMEDIATE.
When the CPU Usage on the node came down, the SCAN Listener status automatically became ONLINE.
From which log in Grid Infrastructure Home which shows the status change of Resources in Cluster.
Thanks,
Yusuf

Thanks for the information.
The log file mentioned in the previous post shows the output of lsnrctl status SCAN_LISTENER_<N>
Is there any logs which shows the status mentioned in the output of command crsctl status resource -t\
Thanks,
Yusuf

Similar Messages

  • Oracle 10g Listener Port Changes after every Restart

    Hi All,
    I have installed Oracle10g in my Laptop and was working fine till last week, but now when I start the Listener, it is starting with different port number other than the default port 1521. ( For example first time Listener started with port number 3110, then after restarting the Listener it becomes 3313, and so on) That means server is assigning different port numbers on every time when the listener starts.
    Because of this I am not able to connect to the database.
    How to make the Listener port as default 1521 permenantly.
    Please help.
    Regards

    Hi,
    Can you please check the listener.ora file? Do you have the port number
    mentioned as 1521 as below:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = my_server_name_fully_qualified)(PORT = 1521))
    Regards,
    Chandan

  • ASM, Listener, Instance status changes to OFFLINE.

    Hi All,
    I have completed the installation part...whereby installed Clusterware (no OCFS2), ASM and the RAC database S/w along with the database. The RAC version is Oracle 10.2.0.1. The installation is done on the CentOS operating system.
    The crs_stat -t shows all the resources. I am facing the following issue.
    1) After rebooting the server, most of the resources status changes to UNKNOWN. I need to stop all the resources and then need to restart it again (crs_start -all).
    2) The ASM, Listener and Instances resources status changes to OFFLINE after restarting all the resources. This happen regularly. Below is the output.
    [root@rac1 bin]# ./crs_stat -t
    Name Type Target State Host
    ora....B1.inst application ONLINE ONLINE rac1
    ora....B2.inst application ONLINE OFFLINE
    ora.RACDB.db application ONLINE ONLINE rac1
    ora....SM1.asm application ONLINE ONLINE rac1
    ora....C1.lsnr application ONLINE ONLINE rac1
    ora.rac1.gsd application ONLINE ONLINE rac1
    ora.rac1.ons application ONLINE ONLINE rac1
    ora.rac1.vip application ONLINE ONLINE rac1
    ora....SM2.asm application ONLINE OFFLINE
    ora....C2.lsnr application ONLINE OFFLINE
    ora.rac2.gsd application ONLINE ONLINE rac2
    ora.rac2.ons application ONLINE ONLINE rac2
    ora.rac2.vip application ONLINE ONLINE rac1
    If someone can help me with some solution for Point 2, it will be great.
    Regards
    Amit.

    Your Database started completely, right?
    You found ASM processes, right?
    You can check by:
    srvctl status asm -n <node_name>
    How?
    try to stop/start cluster again...
    Or try to start step by step -> nodeapps -> ASM -> database by use srvctl command-line
    anyway if you serious about resulting from crs_stat command-line:
    You need to unregister from Cluster and add it again.

  • How to failover SCAN VIP and SCAN Listener from one node to another?

    Environment:
    O.S :          HP-UX  B.11.31 U ia64
    RDBMS:   Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    It is a 2 Node RAC.
    Question:
    How to failover the SCAN VIP and SCAN LISTENER running on node 1 to node 2?
    What is the relation between standard LISTENER and SCAN LISTENER ?
    Why do we need LISTENER, when we have SCAN LISTENER ?
    When I tried with SRCVTL STOP LISTENER , I thought the SCAN LISTENER adn SCAN IP will failover, but it did not?
    Also please clarify if I use SRVCTL RELOCATE SCAN -i 1 -n Node1
    Actalluy I am trying that by moving the SCAN listeners so that when I do PSU 7 patching on 1 node, no incoming attempt to connect will spawn
    a process and thereby opening files in $ORACLE_HOME (which would prevent the patch from occurring)
    Please clarify my queries.
    Thanks,  Sivaprasad.S

    Hi Sivaprasad,
    1. The following link will help you for SCAN VIP and SCAN LISTENER failover from 1 node to another.
    http://heliosguneserol.wordpress.com/2012/10/19/how-to-relocate-scan_listener-from-one-node-to-another-node-on-rac-system/
    http://oracledbabay.blogspot.co.uk/2013/05/steps-to-change-scan-ip-address-in.html
    2. The Standard LISTENER is specific for particular node for which it is running. It cannot be relocated as its specific for the node its running. SCAN listeners are not replacements for the node listeners.A new set of cluster processes called scan listeners will run on three nodes in a cluster (or all nodes if there are less than 3).  If you have more than three nodes, regardless of the number of nodes you have, there will be at most three scan listeners. So no relation for standard LISTENER and SCAN LISTENER.
    3. Hmmm. let me put it in easy way for this question. All the RAC services like, asm, db , services, nodeapps registers with this SCAN_LISTENER. So if any of these services (asm, db , services, nodeapps) got down/not running, the SCAN_LISTENER will know the down status, and if any client requests to access the node/service which is down, the SCAN_LISTENER will redirect the client request to the least loaded node. So here all these process will happen without the knowledge of client. And As usual the standard LISTENER looks only for incoming request to connect with the database. So we need both LISTENER and SCAN LISTENER.
    4. If you provide SRCVTL STOP LISTENER,  it stops the default listener on the specified node_name, or the listeners represented in a given list of listener names, that are registered with Oracle Clusterware on the given node. No failover will happen under this case.
    5. Yes you can relocate if you want to relocate the scan.
    Hope this helps!!
    Regards,
    Pradeep. V

  • WHY: Scan VIP does failover, but Scan Listener does not!

    Hi,
    I have a two node cluster based on 11.2.0.4 (no patches yet). When one node is down, the scan vip does failover to the other node, but however the scan listener does not:
    All up and running:
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
                   ONLINE  ONLINE       rzsolv237                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
                   OFFLINE OFFLINE      rzsolv237
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.ons
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  ONLINE       rzsolv237
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  ONLINE       rzsolv237
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  ONLINE       rzsolv237
    One node is down:
    [oracle@rzsolv236 bin]# ./crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
    ora.ons
                   ONLINE  ONLINE       rzsolv236
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  OFFLINE
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    It is the same with manual relocate, for the scan vip only it works:
    [oracle@rzsolv236 ~]$ srvctl relocate scan -i 2 -n rzsolv236
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
                   ONLINE  ONLINE       rzsolv237                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
                   OFFLINE OFFLINE      rzsolv237
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.ons
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  OFFLINE
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  ONLINE       rzsolv237
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    [oracle@rzsolv236 ~]$ srvctl relocate scan -i 2 -n rzsolv237
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
                   ONLINE  ONLINE       rzsolv237                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
                   OFFLINE OFFLINE      rzsolv237
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.ons
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  ONLINE       rzsolv237
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  ONLINE       rzsolv237
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  ONLINE       rzsolv237
    [oracle@rzsolv236 ~]$
    But it does not for the scan listener:
    [oracle@rzsolv236 ~]$ srvctl relocate scan_listener -i 2 -n rzsolv236
    PRCR-1105 : Failed to relocate resource ora.LISTENER_SCAN2.lsnr to node rzsolv236
    PRCR-1089 : Failed to relocate resource ora.LISTENER_SCAN2.lsnr.
    CRS-2674: Starten von "ora.scan2.vip" auf "rzsolv236" nicht erfolgreich
    [oracle@rzsolv236 ~]$ srvctl relocate scan -i 2 -n rzsolv236
    [oracle@rzsolv236 ~]$ srvctl relocate scan_listener -i 2 -n rzsolv236
    PRCR-1090 : Failed to relocate resource ora.LISTENER_SCAN2.lsnr. It is not running.
    [oracle@rzsolv236 ~]$
    Any ideas?
    Robert

    Hi,
    thank you, but this does not match to my problem:
    - those socket files are owned by oracle:oinstall on both nodes, I deleted them to give it a try but no change
    - I can start the LISTENER_SCAN2 on node 1 using lsnrctl when node 2 is down, but I cannot using crsctl and GI does not check it when I start the listener manually
    - GI seems to be kind of confused about the state of the LISTENER_SCAN2 while node 2 is down (is already in the INTERMEDIATE state on server 'rzsolv236' vs. OFFLINE state in crsctl stat res -t)
    see output below ...
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
    ora.ons
                   ONLINE  ONLINE       rzsolv236
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  OFFLINE
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ crsctl start res ora.LISTENER_SCAN2.lsnr -n rzsolv23
    CRS-2800: Cannot start resource 'ora.scan2.vip' as it is already in the INTERMEDIATE state on server 'rzsolv236'
    CRS-4000: Command Start failed, or completed with errors.
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ lsnrctl status LISTENER_SCAN2
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 28-NOV-2013 16:12:15
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 2: No such file or directory
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ lsnrctl start LISTENER_SCAN2
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 28-NOV-2013 16:12:32
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Starting /ora01/app/grid/product/GRID_11.2.0.4/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    System parameter file is /ora01/app/oracle/network/admin/listener.ora
    Log messages written to /ora01/app/oracle/diag/tnslsnr/rzsolv236/listener_scan2/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN2
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                28-NOV-2013 16:12:32
    Uptime                    0 days 0 hr. 0 min. 1 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /ora01/app/oracle/network/admin/listener.ora
    Listener Log File         /ora01/app/oracle/diag/tnslsnr/rzsolv236/listener_scan2/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    The listener supports no services
    The command completed successfully
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ lsnrctl status LISTENER_SCAN2
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 28-NOV-2013 16:12:37
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN2
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                28-NOV-2013 16:12:32
    Uptime                    0 days 0 hr. 0 min. 4 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /ora01/app/oracle/network/admin/listener.ora
    Listener Log File         /ora01/app/oracle/diag/tnslsnr/rzsolv236/listener_scan2/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    The listener supports no services
    The command completed successfully
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
    ora.ons
                   ONLINE  ONLINE       rzsolv236
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  OFFLINE
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    [oracle@rzsolv236 ~]$
    Regards,
    Robert

  • Local listener status showing local virtual ip, but not local ip

    Hi,
    SNRCTL> stat LISTENER
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
    Start Date 19-JAN-2013 00:50:10
    Uptime 0 days 0 hr. 29 min. 51 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /grid/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.9.50.231)(PORT=1521)))
    Services Summary...
    In every oracle documentation for e.g:11.2 Scan and Node TNS Listener Setup Examples [ID 1070607.1] we found the local listener status showing both local-ip and vip. Why is not showing in our case? What to do?
    Please suggest.
    Regards,
    Saikat

    Hi,
    Thanks a lot for your valubale answers.
    *1)In 11gR2 RAC I found that listener.ora is used from grid_home and there is no i/p, port no etc. Just key is present . But the status o/p shows ips,hots,ports. Does the oraagent process picks up those information from crs?*
    [grid@VM-PAGRAC3 admin]$ more listener.ora
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))
    # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_S
    CAN1)))) # 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
    [grid@VM-PAGRAC3 admin]$
    LSNRCTL> stat
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date 25-JAN-2013 10:53:17
    Uptime 4 days 9 hr. 13 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/11.2.0/grid/network/admin/listener.ora
    Listener Log File /oracle/app/oracle/diag/tnslsnr/VM-PAGRAC3/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.17.0.129)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.17.0.133)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "PAGRAC" has 1 instance(s).
    Instance "PAGRAC1", status READY, has 1 handler(s) for this service...
    Service "PAGRACXDB" has 1 instance(s).
    Instance "PAGRAC1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    2.What is the purpose of endpoint_listener.ora?
    [grid@VM-PAGRAC3 admin]$ cat endpoints_listener.ora
    LISTENER_VM-PAGRAC3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=VM-PAGRAC3-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.17.0.129)(PORT=1521)(IP=FIRST)))) # line added by Agent
    [grid@VM-PAGRAC3 admin]$
    It seems lots of changes have beeen done in 11gR2 related to listener. If you kindly help me regarding this I willl be grateful.
    Thanks a lot!
    Saikat

  • SCAN LISTENER runs from only one node at a time from /etc/hosts !

    Dear all ,
    Recently I have to configure RAC in oracle 11g(r2) in AIX 6.1 . Since in this moment it is not possible to configure DNS, so I dont use SCAN ip into the DNS/GNS, I just add the SCAN ip into the host file like :
    cat /etc/hosts
    SCAN 172.17.0.22
    Got the info from : http://www.freeoraclehelp.com/2011/12/scan-setup-for-oracle-11g-release211gr2.html#ORACLE11GR2RACINS
    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1-n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?
    Here is my listener file (which is in the GRID home location) configuration :
    Listener File OF NODE1 AND NODE 2:
    ==================================
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON
    LISTENER_SCAN1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER_SCAN1)
    ADR_BASE_LISTENER_SCAN1 = /U01/APP/ORACLE
    2)
    Another issue , when I give the command : " ifconfig -a " , then it shows the SCAN ip either node1 or node2 . suppose if the SCAN ip is in the node1 , and then if I run the "relocate" command from node2 , the ip goes to the Node 2 . is it a correct situation ? advice plz ... ...
    thx in advance .. ...
    Edited by: shipon_97 on Jan 10, 2012 7:22 AM
    Edited by: shipon_97 on Jan 10, 2012 7:31 AM

    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :If I am not wrong and after looking at the document you sent, you will be able to use only once scan in case you use /etc/host file and this will be up on only one node where you added this scan entry in /etc/hosts file.
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?Probably you can't in your case, you might run only one i think and on one node only
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1 -n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2You moved scan listener from node 1 to node 2, OK
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    --------------------------------------------------------------------------------Since you have only one scan, you can't relocate "2". So ise "1" instead here also
    FYI
    http://www.oracle.com/technetwork/database/clustering/overview/scan-129069.pdf
    Salman

  • 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

  • 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 :)

  • How to start the SCAN listener on new 11Gr2 install?

    Ok...starting dbca on first RAC install on the new 11Gr2 cluster.
    I was about to proceed from screen 3 to 4...and it comes up with an error saying the SCAN listener hasn't been started.
    I started what I thought was the listener with lsrnctl start...but apparently that isn't enough.
    What do I do to start the SCAN listener? I'm still a bit hazy on what this is for.....
    Thanks in advance,
    cayenne

    Man..there just is NOT a lot of good, easy to find direct documentation on this.
    I found this document that had some srvctl instructions:
    How to update the IP address of the SCAN VIP resources (ora.scan.vip) [ID 952903.1]
    And from there...I tried experimentingL
    # $GRID_HOME/bin/srvctl stop scan_listener
    # $GRID_HOME/bin/srvctl stop scan
    # $GRID_HOME/bin/srvctl status scan
    I did:
    [oracle@node1 bin]$ ./srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is not running
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is not running
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is not running
    [oracle@node1 bin]$ ./srvctl start scan
    [oracle@node1 bin]$ ./srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node node5
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node node3
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node node4
    Trying to start the scan listener:
    [oracle@node1 bin]$ ./srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is not running
    SCAN Listener LISTENER_SCAN2 is enabled
    SCAN listener LISTENER_SCAN2 is not running
    SCAN Listener LISTENER_SCAN3 is enabled
    SCAN listener LISTENER_SCAN3 is not running
    [oracle@node1 bin]$ ./srvctl start scan_listener
    [oracle@node1 bin]$ ./srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node node1
    SCAN Listener LISTENER_SCAN2 is enabled
    SCAN listener LISTENER_SCAN2 is running on node node3
    SCAN Listener LISTENER_SCAN3 is enabled
    SCAN listener LISTENER_SCAN3 is running on node node4
    So...it appears I figured how to get scan and the scan listener running.
    I'm guessing I need to do some form of the srvctl add....I found this:
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e10718/srvctladmin.htm#CDDEEBCH
    On it, I found the generic instructions for add:
    srvctl add scan
    Adds Oracle Clusterware resources for the given SCAN. This command creates the same number of SCAN VIP resources as the number of IP addresses that SCAN resolves to, or 3 when network_number identifies a DHCP network and Oracle GNS configuration.
    Note:
    This command is only available with Oracle Clusterware.
    Syntax and Options
    Use the srvctl add scan command with the following syntax:
    srvctl add scan -n scan_name [-k network_number]
    [-S subnet/netmask[/if1[|if2|...]]]
    Table A-14 srvctl add scan Options
    Option      Description
    -n scan_name
    A fully qualified host name, which includes the domain name.
    -k network_number
    The optional network number from which SCAN VIPs are obtained. If not specified, the SCAN VIPs are obtained from the same default network from which the nodeapps VIP is obtained.
    -S subnet/netmask
    [if1 [|if2|...]]
    Creates the network_number. This option must be specified when network_number does not exist.
    Example
    An example of this command is:
    # srvctl add scan -n scan.mycluster.example.com
    srvctl add scan_listener
    Adds Oracle Clusterware resources to the SCAN listeners. The number of SCAN listener resources created is the number of SCAN VIP resources.
    Note:
    This command is only available with Oracle Clusterware.
    Syntax and Options
    Use the srvctl add scan_listener command with the following syntax:
    srvctl add scan_listener [-l lsnr_name_prefix] [-s]
    [-p "[TCP:]port_list[IPC:key][NMP:pipe_name][TCPS:s_port] [SDP:port]"]
    Table A-15 srvctl add scan_listener Options
    Option      Description
    -l lsnr_name_prefix
    The SCAN listener name prefix.
    -s
    Use the -s option to skip checking of the ports.
    -p "[TCP:]port_list
    [IPC:key][NMP:pipe_name]
    [TCPS:s_port]
    [SDP:port]"
    Protocol specifications for the listener. port_list is a comma-delimited list of TCP ports or listener endpoints.
    If this option is not specified, then the default TCP port of 1521 is used.
    Example
    An example of this command is:
    # srvctl add scan_listener -l myscanlistener
    So, if I understand this correctly, to get scan and scan listener to autostart on boot I do something like this?
    If my SCAN name is database-scan
    I'd need to do srvctl add scan -n database-scan ?
    For the scan listener, from the instructions it sounds like I can name it anything I want...is that correct...?
    So I could do something like
    srvctl add scan_listener -l fred ?
    Thanks in advance for any suggestions. (Ok, not going to really name it fred)
    cayenne

  • Manual request for listener status/Tnsping/Agent Ping is possible in 10g

    I want to see listener status like this from 10g GC.
    Is it possible ?
    LSNRCTL for 32-bit Windows: Version 9.2.0.3.0 - Production on 01-NOV-2006 10:06:40
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=server1)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production
    Start Date 20-OCT-2006 19:18:07
    Uptime 11 days 15 hr. 45 min. 58 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File c:\oracle\ora920\network\admin\listener.ora
    Listener Log File c:\oracle\ora920\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "db1" has 1 instance(s).
    Instance "db1", status READY, has 1 handler(s) for this service...
    Service "db1_prod-server1" has 1 instance(s).
    Instance "db1", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully

    I have noticed in your other posting as well that you want to make a lot of customisations. I would suggest you read more on EM from this link and see what you can achieve.
    http://www.oracle.com/pls/db102/portal.portal_db?selected=21

  • 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

  • 4.0.8.2.4  Cannot start listener after changing user/group to nobody/nobody

    Installed OAS 4.0.8.2.4 and configured it. Everything is working fine with listener, plsql cartridge, Java cartridge and OSSWA. But if change listener's user/group from Oracle/Dba to nobody/nobody. Listener will not start. It hangs in as follows:
    ========================================================================
    Information: Listening on NORM port 80 address 0.0.0.0
    Information: wriorProcessInit: RMProxy IOR Bootstrap Service initialized
    Information: Adapter services initialized successfully
    Information: The server started successfully
    Server now running as process 15654
    OWS-08850: Oracle Web Listener 'www' started.
    Oracle Web Listener 4.0.8.2.4 Enterprise Edition - Release (Domestic)
    Copyright (c) Oracle Corporation 2000. All rights reserved.
    Information: Listening on NORM port 5502 address 0.0.0.0
    Information: wriorProcessInit: RMProxy IOR Bootstrap Service initialized
    ===========================================================================
    from the message above, we can see if it failed to start the "Adapter services"
    If we change the user/group back to Oracle/Dba, it starts fine.
    And also, we have under $ORACLE_BASE/admin, the listener ( name devl ) permission has been changed accordingly to the user/group change. We follow the instruction from OAS configuration to change user/group.
    ( Read access to the configuration file
    Read access to all files that provide content for servicing requests
    Read access to all imagemap files
    Execute access to all Oracle Application Server binaries and program files that the Web Listener must execute
    Write access to the log and error files
    Read access to user directories )
    Thanks.

    Thanks. After a few more days testing. We finally figure out where it went wrong. We changed user/group from node manager. ( from Oracle/dba, installer, to nobody/nobody). After that, we only changed $ORACLE_BASE/admin/ows/SITE_name/httpd-host_name/listener_name to be read and write accessed by nobody. We forgot to change owl.cfg to be read access to nobody/nobody. After we changed that. It starts fine.
    Thanks again.

Maybe you are looking for