11gR2 dbcontrol sees RAC SCAN listeners on wrong nodes

Hi,
11.2.0.2.10 RAC with 2 nodes on Linux x64.
After bringing nodes down one at a time yesterday for OS updates, now EM isn't seeing the SCAN listeners on the right nodes anymore. So they all show down, but it's really just thinking they are on the wrong node.
'srvctl status scan' shows:
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node data2
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node data1
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node data1
'emctl config agent listtargets' on data1 shows:
[LISTENER_SCAN1_dlrac, oracle_listener]
'emctl config agent listtargets' on data2 shows:
[LISTENER_SCAN2_dlrac, oracle_listener]
[LISTENER_SCAN3_dlrac, oracle_listener]
I've tried 'emctl clearstate agent' and 'emctl reload agent' on both nodes, which didn't work. Now, if I bring crs on a node down and back up, EM sees the listeners move, but still to the opposite node of where they really are.
Ideas?
Thanks.

Please do not use emctl clearstate agent command.
Refer the following doc, if that doesn't help then log an SR with Oracle support.
Database Control (dbconsole) Assistant: Setup,Administration and Access (Search Helper) (Note 1565044.2)
HTH
Mani

Similar Messages

  • Three SCAN listeners on 2-node 11gR2 RAC

    Hi there
    A colleague of mine has configured a 2-node 11gR2 RAC. I got a chance to explore a bit. I noticed that there are total of three SCAN listeners. Out of the three SCAN2 is on one node and SCAN1 and SCAN3 are on the other node.
    I stoped SCAN listeners (using srvctl) and then started them. I found them running the same nodes as they were before. Looks like clusterware somehow keeps track of which SCAN listener is running on which node.
    I have few of questions regarding SCAN listener:
    Q1: How did Oracle/Clusterware decided to run the SCAN listeners in this configuration (SCAN2 on one node and SCAN1/3 on the other).
    Q2: Where does clusterware stores this infomation?
    Q3: What if this was a four-node cluster? Would we need to have the SCAN mapped to four-IPs (so that each node has its own SCAN listener)?
    Q4: What is the role of the usual standard tns-listener in this 11gR2 RAC environment (because I think it is the SCAN listener that listens for the client's connection requests, right?). Is it redundant ?
    Q5: Is it correct to assume that "clusterware somehow keeps track of which SCAN listener is running on which node."?
    Regards

    user12033597 wrote:
    Hi there
    A colleague of mine has configured a 2-node 11gR2 RAC. I got a chance to explore a bit. I noticed that there are total of three SCAN listeners. Out of the three SCAN2 is on one node and SCAN1 and SCAN3 are on the other node.
    I stoped SCAN listeners (using srvctl) and then started them. I found them running the same nodes as they were before. Looks like clusterware somehow keeps track of which SCAN listener is running on which node.
    I have few of questions regarding SCAN listener:
    Q1: How did Oracle/Clusterware decided to run the SCAN listeners in this configuration (SCAN2 on one node and SCAN1/3 on the other). Oracle clusterware is by default designed to restore the previous state of resource. SCAN vip and its associated scna listener are paired, so when scan VIP failsover to other node so does scna listener to same node.
    You might have got this configuration after rebooting the nodes which is expected.
    Q2: Where does clusterware stores this infomation?OLR(oracle local registry) and OCR
    Q3: What if this was a four-node cluster? Would we need to have the SCAN mapped to four-IPs (so that each node has its own SCAN listener)?Oracle recommends to configure max 3 scan VIPS not matter if you have 2 or 10 node cluster. Always configure 3 scan ip for high availability
    Q4: What is the role of the usual standard tns-listener in this 11gR2 RAC environment (because I think it is the SCAN listener that listens for the client's connection requests, right?). Is it redundant ?SCAN Listener handsover the connection to node listener(local listener) which then connects to database. If local listener is stopped, you cannot connect to database instance running in that node.
    Q5: Is it correct to assume that "clusterware somehow keeps track of which SCAN listener is running on which node."?AFAIK oracle keeps the runtime information in OCR and wheever failover happens OCR is updated with correct information.
    >
    RegardsI would suggest you to have look at MOS-
    11gR2 Grid Infrastructure Single Client Access Name (SCAN) Explained [ID 887522.1]
    That document have all info you need

  • Question about Number of SCAN listeners on each node

    Hi,
    I have installed Oracle 11gR2 grid infrastructure on Windows 2008 R2 on a two node RAC. I have followed all of the instruction given in the manual. The installation went smootly without any errors (Actually this was my third attempt!)
    I have specified three IP addresses for SCAN in DNS. Now after installation I see three SCAN listener service on node1 and only one SCAN listener service on node two. I though it should be three SCAN listener on each node but I am not sure. My question is should I or shouldn't I have equal number of SCAN listener on each node? I have done three installation and in all attempt I had only one SCAN listener on node 2. The following is the SCAN Listener/VIP status on my system.
    C:\Users\Administrator>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
    C:\Users\Administrator>srvctl config scan
    SCAN name: PCOMP-cluster, Network: 1/10.212.2.0/255.255.255.0/Public
    SCAN VIP name: scan1, IP: /10.212.2.235/10.212.2.235
    SCAN VIP name: scan2, IP: /PCOMPDB01.Pcomp.com/10.212.2.237
    SCAN VIP name: scan3, IP: /PCOMPDB01.Pcomp.com/10.212.2.236
    Regards,
    hga

    Can you divide 3 apples between two kids evenly? (actually you can but you cannot slice an IP address in two pieces). This is just the way it is, you will have two scan IPs on one node and only one on the other.
    Don't worry about it, the worst thing that can happen is that one listener gets 50% more requests but:
    - the listeners really don't have an awful lot to do
    - sessions will still get load-balanced between your nodes, it does not matter which listener you connect to
    Bjoern

  • Oracle 11gR2 RAC - SCAN issue

    We have Oracle 11gR2(11.2.0.1) RAC (2-node) on HP-UX. And we have some issue with SCAN Listener configuration.
    Issue-1*
    LISTENER_SCAN1 is running on node-1 and LISTENER_SCAN2 & LISTENER_SCAN3 is running on node-2. This is how it's running always. And we have 3 RAC database (cadprod, omsprod & eaiprod) running on this server. Both the instances of cadprod & eaiprod is registered on all three SCAN listeners.
    But omsprod is having issues, omsprod1 & omsprod2 are registered on LISTENER_SCAN1 on node-1, but omsprod2 is not register on LISTENER_SCAN2 & LISTENER_SCAN3 on node-2. and some times we are not able to connect the second instance (omsprod2).
    Issue-2*
    And if node-1 goes down, all three databases are failover to node-2, after that we are not able to connect omsprod & eaiprid database its giving the following error on client side,
    ORA-12516, TNS:listener could not find available handler with matching protocol stack
    once the node-1 came back its allowing the connection. But cadprod doesn't have this issue, we are able to connect after the failover.
    Listener Status:*
    oracle@hublhp1:/home/oracle$ lsnrctl status LISTENER_SCAN1
    LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 04-MAR-2011 09:53:29
    Copyright (c) 1991, 2009, 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.1.0 - Production
    Start Date 28-FEB-2011 13:40:09
    Uptime 3 days 20 hr. 13 min. 20 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /app/oracle/grid/product/11.2.0/network/admin/listener.ora
    Listener Log File /app/oracle/grid/product/11.2.0/log/diag/tnslsnr/hublhp1/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.35.110)(PORT=1521)))
    Services Summary...
    Service "cadprod" has 2 instance(s).
    Instance "cadprod1", status READY, has 1 handler(s) for this service...
    Instance "cadprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprod" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprodXDB" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "omsprod" has 2 instance(s).
    Instance "omsprod1", status READY, has 1 handler(s) for this service...
    Instance "omsprod2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@hublhp3:/home/oracle$ lsnrctl status LISTENER_SCAN2
    LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 04-MAR-2011 09:52:40
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN2
    Version TNSLSNR for HPUX: Version 11.2.0.1.0 - Production
    Start Date 28-FEB-2011 12:23:33
    Uptime 3 days 21 hr. 29 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /app/oracle/grid/product/11.2.0/network/admin/listener.ora
    Listener Log File /app/oracle/grid/product/11.2.0/log/diag/tnslsnr/hublhp3/listener_scan2/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.35.109)(PORT=1521)))
    Services Summary...
    Service "cadprod" has 2 instance(s).
    Instance "cadprod1", status READY, has 1 handler(s) for this service...
    Instance "cadprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprod" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprodXDB" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "omsprod" has 1 instance(s).
    Instance "omsprod1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@hublhp3:/home/oracle$ lsnrctl status LISTENER_SCAN3
    LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 04-MAR-2011 09:52:27
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN3
    Version TNSLSNR for HPUX: Version 11.2.0.1.0 - Production
    Start Date 28-FEB-2011 12:23:34
    Uptime 3 days 21 hr. 28 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /app/oracle/grid/product/11.2.0/network/admin/listener.ora
    Listener Log File /app/oracle/grid/product/11.2.0/log/diag/tnslsnr/hublhp3/listener_scan3/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN3)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.35.111)(PORT=1521)))
    Services Summary...
    Service "cadprod" has 2 instance(s).
    Instance "cadprod1", status READY, has 1 handler(s) for this service...
    Instance "cadprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprod" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprodXDB" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "omsprod" has 1 instance(s).
    Instance "omsprod1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@hublhp3:/home/oracle$
    oracle@hublhp3:/home/oracle$

    Node-1*
    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
    Node-2*
    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=(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_SCAN2=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent

  • Oracle 11gR2 RAC Scan Virtual IPs

    Hi, I have a doubt, I was installing Oracle RAC 11gR2 but I didn't understand how to do to resolve rac node ip address if the scan host has virtual ip and supposedly that ip address is not associated with specific host, when I attempt to ping to scan host why get response from rac nodes?
    Thanks.

    "..how to do to resolve rac node ip address if the scan host has virtual ip.."
    use DNS to round robin the 3+ IP's.
    "..and supposedly that ip address is not associated with specific host, when I attempt to ping to scan host why get response from rac nodes?"
    it -is- associated with a specific host. but you did not assign that IP from the OS level, Oracle clusterware does that for you, dynamically.
    In a two node RAC you will (assuming the recommended setup) have 3 SCAN listeners, so 2 on one node, and 1 on the other. If you stop the node with the 2 SCAN listeners, clusterware will reassign the corresponing IP's to the remaining node, and start the listeners there.
    which you can obviously verify with ipconfig or netstat, or the /sys pseudo fs on Linux.

  • How many Scan Listeners, we have to configure for 5 Node RAC?

    Dear Professionals,
    How many scan Listeners we need to configure for 5 Node RAC? Oracle will not allow us to create More than 3 scan's? What If i have one scan Listener per each for 1st 3 node's? what about remaining two Node's? How application user will connect to 4 or 5 Node? Can you please explain..? Forgive me, If am totally wrong?
    Thanks
    Sagar

    Each of the 5 instances will register itself with the scan listener (using the instance parameter remote_listener).  Thus, the scan listener is "aware" of the database instances on the other two nodes where it is not running.  It can still redirect incoming connections to the local listeners on these nodes (registered as local_listener).
    Hemant K Chitale

  • RAC SCAN confusion.

    Oracle RAC needs two ip address one for the private interconnect and one for the VIP (for the uses and applications to connect to). oracle also says that a network interface should not be bound to any of the scan ip address. my doubt is.
    1. if we have about 9 nodes in the cluster. oracle says that the scan name can resolve to a maximum of 3 ip address. does this mean that we need 3 oracle scans.
    2. REALLY CONFUSED HERE scan ip address is not bound to any network interface. so the clients will be connecting using the scan vip. now..
    oracle needs two ip address one for private (one network interface) and
    public (vip another network interface) (here do we need an additional network interface card for the SCAN with out any ip assigned to it). so if scan needs an additional interface card then it makes that we need 3 interface card right.
    3. oracle RAC instance registers only with SCAN listeners (is it correct). if correct then can we have a single SCAN listener listening to 3 network ipaddress that the scan resolves to. or do we need 3 scan listeners for this purpose each listener listening to one ip address scan resolves to. and more over will these 3 listeners to be configured on all of the nodes.
    please help guys,

    I think your confusing stems from the number of NICs (Network Interface Controllers) you expect there to be.
    For each RAC node server, 2 NICs are required.
    A public NIC. This means it is wired into a public switch and connected to your company LAN/WAN. There are potentially 3 IP addresses than can run on the public NIC:
    - static IP (fixed IP for that server)
    - virtual IP (virtual failover IP for that server)
    - SCAN IP (single access IP for the cluster)
    Should other nodes in the cluster fail, more IPs will exist on the public NIC. Let's say 8 of your 9 nodes fail. The remaining node will failover the 8 downed nodes's virtual IPs. So it will have 9 virtual IPs in total on the public NIC. Plus its static IP. Plus any SCAN IPs.
    A private NIC. This should be wired into a private switch. This private switch should serve as the dedicated Interconnect switch. The only external access (into your company LAN/WAN) from this switch should be its management port - allowing your NA's (Network Admins) to administer and manage the private switch.
    A single IP, the Interconnect IP, should exist on the private NIC.
    A server can also use bonded NICs. For example, the server has 3 NICs. Two of these are bonded, creating a single logical public NIC. The remaining NIC serves as the private NIC. Or vice versa. Or both public and private interfaces can be bonded separately.
    The SCAN name is simply a single hostname that the client needs to know. In a 100 node 10g cluster, each client needs to know all 100 virtual IPs/hostnames in order for high availability to work seamlessly. It is much easier for the client to remember a single hostname instead - and via this hostname being able to connect to any one of the 100 available RAC nodes.
    The SCAN name must resolve to at least a single IP. That SCAN IP must exist (be bound) on one of the public NICs of the cluster. A SCAN name can also resolve to more than one IP (max 3 on 11gr2 I think). In that case, all 3 of those SCAN IPs need to be bound to a public NIC of a cluster node. Should a node that manages a SCAN IP fail, that will failover to another node just like its virtual IP.

  • How many SCAN listners for 2 node rac ?

    Hi,
    Oracle recommends min 3 SCAN listeners , but what if I've got 2 node RAC ? :)
    Regards
    GregG

    Hi Friend
    About SCAN :
    1. The single client access name (SCAN) is the address used by all clients connecting to the cluster.
    2. The SCAN name is a domain name registered to three IP addresses, either in the domain name service (DNS) or the Grid Naming Service (GNS).
    3. The SCAN name eliminates the need to change clients when nodes are added to or removed from the cluster.
    4. Clients using SCAN names can also access the cluster using EZCONNECT.
    5. The Single Client Access Name (SCAN) is a domain name that resolves to all the addresses allocated for the SCAN name.
    6. Three IP addresses should be provided (in DNS) to use for SCAN name mapping as this ensures high availability.
    7. During Oracle Grid Infrastructure installation, listeners are created for each of the SCAN addresses, and Oracle Grid Infrastructure controls which server responds to a
    SCAN address request.
    8. The SCAN addresses need to be on the same subnet as the VIP addresses for nodes in the cluster.
    Note 1 : SCAN IPs must NOT be in the /etc/hosts file, the SCAN name must be resolved by DNS.
    Note 2 : When you are installing Grid Infrastructure it will ask for the following things :
    *1. Cluster Name :*
    *2. Scan Name :*
    *3. Scan Port :*
    Thanks
    LaserSoft

  • SCAN listeners after reboot

    Hi all
    If I reboot one of my database instances in a RAC, what happens to SCAN listeners?
    Thanks

    This link will be helpful
    http://forums.oracle.com/forums/thread.jspa?threadID=2207849&tstart=75

  • Scan listeners number and balancing result

    Hello,
    inside the docs 3 scan listeners are usually referred.
    But is it correct to say that with this setup and only 2 RAC nodes, you will normally have an unbalanced cluster, and one node with two times the connections of the other one?
    Because if you use round robin DNS you will get 2/3 of resolutions to one node (the one that has got two of the 3 associated IPs bound) and 1/3 to the other one.
    So in case of 2 nodes, would it be better to have only 2 scan listeners, or set a 4th one eventually?
    Thanks,
    Gianluca

    It is not an unbalanced cluster , scan listeners will only direct the incoming request to the node listener of the instance with lesser  load.
    All scan listeners will have all instances in cluster registered with it and so each listener know to which node the connection request should be sent to balance the load.
    Even in case of a 10 node cluster, 3 scan listeners would be sufficient,  it is not necessary to have scan listener running on each node to send the connections to that node.
    http://www.oracle.com/technetwork/products/clustering/overview/scan-129069.pdf

  • RAC -SCAN

    Hi,
    Why 3 SCAN IP is required during OracleRAC 11GR2 installation?
    How I can install single node RAC in 11gR2? any document or suggestion would be great!

    Hi,
    Refer:
    Re: 11gR2 One Node OR Single Node RAC
    http://prsync.com/oracle/installation-and-testing-rac-one-node-21465/
    thanks,
    X A H E E R

  • Converting single instance database(11gr2) supporting EBS 12.1.3 to 2 node RAC on RHEL.

    Hi We are in the process of converting single instance database(11gr2) supporting EBS 12.1.3 to 2 node RAC on RHEL. Which version of RHEL is better? if its 6.x then x?? The oracle document only says RHEL update 6.
    thanks in advance.

    Hi,
    Yes you can use any version but i recommend  you to use 6.2
    Also refer my post for RAC migration in EBS
    Apps DBA Workshop: Using 11gR2 RAC with Oracle Applications R12.1.1
    Hope this helps
    thanks,
    X A H E E R

  • 11gR2- webutil upload file to AS on two nodes RAC?

    Hellow experts plz help with the following issue,
    we are using 11gR2 forms on two node rac,webutil configured on both nodes. upload/download files to AS folder(UP_FILES) using our forms. node 2 is actually replica of node 1(forms,reports,UP_FILES). we are now facing a problem that the form which upload file to AS, only upload that to the node from where it is running say if it is running from node1 then it upload files to folder UP_FILES on that node( as the entry in webutil.cfg file) but we want that UP_FILES folder should be synced with each other on both nodes and a form running whether from node1 or node2 upload the file to both nodes at time.
    How this will be accomplished?
    --------webutil.cfg entry
    transfer.appsrv.read.3=D:\UP_FILES
    transfer.appsrv.write.3=D:\UP_FILES
    -----FORM UPLOAD CODE
          IF :CONTROL.FILE_LOC IS NOT NULL THEN
            acyr3 := :CONTROL.TXTVOUCHERNO||'-'||acyr2 ;
           FILE_RESULT := WEBUTIL_FILE_TRANSFER.CLIENT_TO_AS_WITH_PROGRESS(CLIENTFILE=>:CONTROL.FILE_LOC,
           SERVERFILE =>'D:\UP_FILES\'||acyr3||'.PDF',
          PROGRESSTITLE=>'UPLOAD TO DATABASE IN PROGRESS',
          PROGRESSSUBTITLE=>'PLEASE WAIT' );
          END IF;
    --FORM DOWNLOAD CODE
            FILE_RESULT := WEBUTIL_FILE_TRANSFER.AS_TO_CLIENT_WITH_PROGRESS
                 CLIENTFILE=>'D:\UP_FILES\'||acyr3||'.PDF',
            SERVERFILE =>'D:\UP_FILES\'||acyr3||'.PDF',
          PROGRESSTITLE=>'DOWNLOAD FROM DATABASE IN PROGRESS',
          PROGRESSSUBTITLE=>'PLEASE WAIT'
                 CLIENT_HOST('rundll32.exe url.dll,FileProtocolHandler D:\UP_FILES\'||acyr3||'.PDF');
                 IF FILE_RESULT THEN
      message('File downloaded successfully from the Application Server');
      END IF;

    Well, you're uploading the file to one node, so this is no surprise. What you can do is to store your file on a shared folder (which might be a bit tricky on windows) or synchronize a folder between your nodes. Unfortunately Forms can't access ASM directly (assuming you are using ASM), so you can't store your files directly in ASM where it would be accessible from both nodes.
    cheers

  • Agent reports SCAN listeners incorrectly

    I an running Enterprise Manager 12.1.0.3 and the agents in question have been upgraded to 12.1.0.3 agents.
    On a two node cluster, node names are Aporia & Lepisma the OEM console is not reporting the scan listeners correctly. There are three scan listeners -
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node lepisma
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node aporia
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node aporia
    however emctl config agent listtargets on host Aporia shows all three scan listeners whereas on Lepisma only scan1 is reported currently. Relocating the listeners using the srvctl command will cause a listener to run on the other node but the agent does not see the change, listtargets still reports them the same way (I hope I am explaining this clearly).
    On node Aporia I ran the command -
    emctl control agent runCollection agent12c2_5_aporia:oracle_home oracle_home_config
    hoping that would cause the agent to report correctly but to no avail. I may not be using the correct syntax for the runCollection command.
    As a result when looking at the scan listeners in the OEM console all three are reported on Aporia with scan2 always reported as down and Lepisma only reports scan1, regardless of where it is running. For some reason the agent is not reporting the status of the listeners correctly and I need help resolving that problem. The results of the srvctl and emctl config agent on each node show the following -
    Information from Aporia -
    maxprod:product/agent12g->srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node lepisma
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node aporia
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node aporia
    maxprod:product/agent12g->./agent_inst/bin/emctl config agent listtargets
    Oracle Enterprise Manager Cloud Control 12c Release 3
    Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
    [aporia.ucdavis.edu, host]
    [aporia.ucdavis.edu:3872, oracle_emd]
    [Ora11g_gridinfrahome1_1_aporia, oracle_home]
    [OraDb11g_home4_2_aporia, oracle_home]
    [sbin12c1_6_aporia, oracle_home]
    [+ASM_PPSSCAN, osm_cluster]
    [OraDB11g_Gateway_Home_11203_4_aporia, oracle_home]
    [LISTENER_SCAN2_PPSSCAN, oracle_listener]
    [LISTENER_SCAN3_PPSSCAN, oracle_listener]
    [has_aporia.ucdavis.edu, has]
    [maxdss.ucdavis.edu, oracle_database]
    [maxprod.ucdavis.edu, oracle_database]
    [fleetpro.ucdavis.edu, oracle_database]
    [gsprod.ucdavis.edu, oracle_database]
    [pbop.ucdavis.edu, oracle_database]
    [maxarch.ucdavis.edu, oracle_database]
    [olap.ucdavis.edu, oracle_database]
    [ppsprod.ucdavis.edu, oracle_database]
    [isodprod.ucdavis.edu, oracle_database]
    [LISTENER_aporia.ucdavis.edu, oracle_listener]
    [+ASM1_aporia.ucdavis.edu, osm_instance]
    [agent12c2_5_aporia, oracle_home]
    [ucopp_aporia.ucdavis.edu, oracle_database]
    [LISTENER_SCAN1_PPSSCAN, oracle_listener]
    Information from Lepisma -
    isoddev:product/agent12g->srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node lepisma
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node aporia
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node aporia
    isoddev:product/agent12g->./agent_inst/bin/emctl config agent listtargets
    Oracle Enterprise Manager Cloud Control 12c Release 3
    Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
    [lepisma.ucdavis.edu, host]
    [lepisma.ucdavis.edu:3872, oracle_emd]
    [Ora11g_gridinfrahome1_8_lepisma, oracle_home]
    [OraDb11g_home4_10_lepisma, oracle_home]
    [sbin12c1_12_lepisma, oracle_home]
    [has_lepisma.ucdavis.edu, has]
    [LISTENER_SCAN1_PPSSCAN_1, oracle_listener]
    [+ASM_PPSSCAN, osm_cluster]
    [FLEETDEV.ucdavis.edu, oracle_database]
    [ppsdev.ucdavis.edu, oracle_database]
    [isoddev.ucdavis.edu, oracle_database]
    [gsdev8.ucdavis.edu, oracle_database]
    [isodtest.ucdavis.edu, oracle_database]
    [gstest.ucdavis.edu, oracle_database]
    [maxdev.ucdavis.edu, oracle_database]
    [pbod.ucdavis.edu, oracle_database]
    [olad.ucdavis.edu, oracle_database]
    [ppstest.ucdavis.edu, oracle_database]
    [MAXTEST.ucdavis.edu, oracle_database]
    [stemdev.ucdavis.edu, oracle_database]
    [stemtest.ucdavis.edu, oracle_database]
    [LISTENER_lepisma.ucdavis.edu, oracle_listener]
    [+ASM2_lepisma.ucdavis.edu, osm_instance]
    [agent12c2_11_lepisma, oracle_home]
    Any suggestions are appreciated. Thank you.
    Bill Wagman

    Hi Bill,
    1. Go to Targets > All Targets > Cluster > select the cluster name, then select Target setup from the cluster menu > Monitoring Configuration.
    2. Fill in all the properties (for instance, the SCAN Name, SCAN Port, etc.) and select Update to save the configuration.
    3. Go back to the cluster target home page, select View All Properties, verify that the SCAN name, SCAN port are shown.
    4. Execute the command:   emctl control agent runCollection <cluster target name>:cluster crs_event
    For example: emctl control agent runCollection dreamq1-cluster:cluster crs_event12g
    5. Give the process a little time for the data to be uploaded to the repository before checking the status of the listeners.
    Regards,
    Rahul

  • How to setup rac scan on OEL6 on virtualbox

    I am trying to setup RAC on a 2 node cluster. i am trying to setup rac scan.
    i have 2 ip address
    192.168.8.1 - public  node 1
    192.168.8.2 - public  node 2
    192.168.1.1 - private node 1
    192.168.1.2 - private node 2
    VIP Ipaddress
    192.168.8.6
    192.168.8.7
    192.168.8.8
    the scan ip's are
    192.168.8.3
    192.168.8.4
    192.168.8.5
    NOTE: i have an active directory network in house that uses the public ip's subnet above. which also act as my DNS servers. The public ip's are connected to the internet. so all my linux boxes are browsing
    i have added all the ip's to my host file. and installed dnsmasq. and followed the steps on oracle-base. i have two nic on virtualbox. one bridged to the host system and acting as my public ip (192.168.8.0) while the other is an internal network for the private network(192.168.1.0)
    ORACLE-BASE - Dnsmasq : For Simple DNS Configurations

    Your /etc/hosts file should be like:
    # public
    192.168.8.1     node1
    192.168.8.2     node2
    # private
    192.168.1.1     node1-priv
    192.168.1.2     node2-priv
    # VIP Ipaddress
    192.168.8.11     node1-vip
    192.168.8.12     node2-vip
    # scan ip's are
    192.168.8.3     cluster-scan
    It is better to define 2 NICs for each VM: 1 for public networking and 1 for private.

Maybe you are looking for

  • How can I send a message to multiple contacts using "groups".

    How can I send a message to multiple contacts using "groups". It was easy on my sony ericssonn....do i need to download an app?

  • DataSource or Crosstab -- List of all Members in the current selection

    Hey Design Studio Experts, i need a collection of the  >>current<< member list of a datasource, Example: i have the Datasource DS_1, which is filtered by 2-3 filters, so the number of lines, that is delivered by the DS_1 is less than the number of li

  • ChipObject and VC++

    i have a problem in compiling an RLP example program /* ChipObject and DIO 96 example program */ and i think its a linker error... do i need dll or something to work this out or files in my project are incorrect? Files included in my VC++ project: di

  • Pictures in Jar file

    Hi ! How can I do ? I have a jar file in wich there are pictures. This jar file is located at c:/files/myjar.jar I have a JeditorPane wich manage very well HTML. I would like it to show one of my pictures placed in my jar file. I did this but it does

  • How to  configure destionation to connect jboss messaging

    first,I install jboss 4.2.2GA ,and Jboss messaging 1.4.2sp3 ,and test they are ok.<br />seconde, I deploy blazeds to jboss and run traderdektop samples,it also ok.<br />third(the problem), I want use jms for flex client consume  jMS ,the  I try write