Jdbc urls and when does load balancing and failover work?

I you use a jdbc url with OracleDriver not OracleDataSource because we use dbcp for our connection pooling. What can we expect by putting in two connection descriptors one for each host when an 11g RAC node goes away?
I know all about ONS and FCF etc but when you are not using OracleDataSource and friends what benefit is there is having mulitple hosts in the jdbc url?
What is that recognises the other host in the jdbc url when a RAC node goes away? Is that integral to OracleDataSource or anything outside of OracleDriver?
right now we only have one HOST = in your jdbc url but I'm not sure how we would benefit by adding the second if we are not using OracleDataSource.

Best I can suggest - step up and become the expert.
You are dealing with RAC which most people do not have and do not use (based on postings I have seen) so you already have that advantage.
The dbcp pool doesn't mean anything since it just acts as a wrapper around the Oracle driver.

Similar Messages

  • How does load-balancing with WebCache work - is there still a bottleneck?

    Hello,
    We're migrating an old Forms 6i app to 10.1.2.0.2 (apps servers = Redhat Linux), and are starting to consider using WebCache to loadbalance between two application servers.
    My question is this - say we have apps servers A and B, both running Forms and Reports Services. We use Webcache on server A (don't have the luxury of a third apps server...) to load balance between A and B. So all initial requests come into A, which in some cases may then be diverted to start a new Forms session on B.
    For those users whose middle-tier sessions are now running on B - will all network traffic for their Forms session continue to be routed through Webcache on A, then to B, over the course of the session? Or does Webcache somehow shunt the whole connection to be straight between the client PC and server B, for the duration of that Forms session?
    If the former, does that mean that the server hosting Webcache can still be a significant bottleneck for network traffic? Have people found load-balancing with Webcache to be useful..?
    Thanks in advance,
    James

    Hi gudnyc,
    Thanks for posting on Adobe forums.
    For HDPI you do not have to do any It will adjust automatically.
    http://helpx.adobe.com/photoshop-elements/using/whats-new.html
    Regards,
    Sandeep

  • RFC Sender (XI 3.0, SP14) Load Balancing doesn't work

    Hi all,
    We're "desperately" trying to use the Load Balancing option of RFC Sender Adapter (XI 3.0, SP14). It doesn't work.
    The Adapter can not register to the sender SAP server. But when we do not use the "Load Balancing" option, everything works well.
    We did follow the XI guidelines step-by-step. All necessary configurations in XI and in SAP sender system (TA: SM59) are "properly" done and reviewed by different experts several times.
    Do you have, by chance any running scenario using "Load Balancing" within a RFC Adapter? If yes, I would appreciate if you can share it with me. 
    Thanks a lot!
    Regards,
    Khaled

    Hello Khaled,
    the RFC sender adapter registers a program at the SAP Gateway. Load Balancing for the Sender Adapter means, that you have at least two J2EE server nodes within your XI installation. On all these server nodes the same RFC sender adapter is started and register the same program at the same gateway. The load balancing is then handled by the gateway. That means, that for the sender adapter the settings are the same, even if you use load balancing or not.
    The settings are, e.g.
    - SID=ABC
    - hostname=abchost (central instance, message server)
    - hostname=xyzhost (additional dialog instance of ABC)
    - instance nr=00
    application server (gateway): xi1host
    application server service (gw-service): sapgw00
    programm id: could be freely choosen
    The Metadata Repository could be connected using load balancing. Here a user need to log on to the system.
    The settings here must be:
    Message-Server: abchost
    Message-Server-Service: sapmsABC
    System-ID: ABC
    Logon-Group: e.g. PUBLIC; this logon group need to be created in system ABC using transaction SMLG
    For the RFC-Receiver Adapter the same settings as for the Metadata could be used.
    Keep in mind, that for the RFC Sender Adapter a RFC connection of type T must be created in transaction SM59 in system ABC.
    Rgds.,
    Andreas

  • IChat Load Balancing or failover solution?

    Hello, I am working a plan to develop a iChat server. I think a Mac Mini would be a good start for a group of 50 users. The users are all over the country and my role is to unite them all in a iChat domain. I thought about building two Mac Mini servers and have them run a same domain where all users are registered in. So, we would not be impacted when one of them goes down.
    Anyway, the question is how can I have a load balancing or failover solution for the iChat domain?

    On the issue of load balancing, whilst I don't have any experience with macMini's, you will not need to worry about load balancing with 50 users. I'm sure you can probably put a few naughts on the end of that before you need to worry.
    The design you are proposing will not work for iChat services / and for that matter most of Apple server services. For high availability services (e.g. transparent failover) I think you are going to struggle to get this working and it 'seems' Apple no longer offers guidance on this subject on 10.6.x.
    You will increase availability by using an Xserve with dual PSUs and raid disks. If you are only running high availability ichat services, I would buy a pair of second hand xserves with 10.5 OS and set the ipfailover services running. Personally I would buy one and a service kit and not bother with HA - as you will find the servers are very reliable.
    If you have to use mini's then just have one live and keep a near constant clone of it on another ready to manually swap out if you have a hardware failure.
    Your proposed design will not work without a lot of effort non of which is supported by Apple - although it would be rewarding if you did get it working. You cannot have server to server traffic for the same domain as all your application data needs to be stored centrally. OD only provides services for authentication. The ichat server also has its own data store and this is not distributed nor can it be. It is possible to move the data store over to say an enterprise version of mysql and have that distributed.

  • Windows 7: Service unknown when using load balancing group

    I try to run SAP GUI 7.10 on Windows 7. I use a load balancing group to connect to the server. The direct access to one of our cluster nodes works ok, but when clicking the link to the load balancing group says "load balancing error on logon 88: connection to messaging server not possible (rc=9)" (translated from german).
    What is happening here? It works good on Windows XP. Do I have to use another saplogon.ini or something?
    Thanks for any help!

    Is it ok to deactivate UAC in a company?
    That's something your M$ group must decide.
    It sounds like a good security feature but as we see here it´s a pain in the @$$ for administrators...
    Well - the purpose of it is to disable the ability of malware and virusses spreading around. I consider it as a security breach if a local user is able to simply copy files to the operating systems main directory. A user working with a frontend PC should not have local administrator rights at all; all software requiring this badly designed.
    If you use the SAPGUI installation server you can distribute services, saplogon.ini etc. using the installation server provided service without the need of users having to have local administration rights:
    Note 512040 - Distributing "services", "saplogon.ini", and similar files.
    I just think that "administrators" must learn to do work properly as designed with operating systems without just "copying files around" in system directories (and I don't exclude me in that context).
    Markus

  • Ias support for EJB, JSP/servlets,JDBC, connection pooling, XML, SOAP, load balancing etc

    Please let me know where I can find more information regarding iPlanet usage/deployment/configuring/tuning etc for support of technologies - like EJB, JSP/servlets, JDBC, connection pooling, XML, load balancing, JDBC & Transactions
    (I have already read the 'Getting Started with the iPlanet Application Server' part five and six - http://developer.iplanet.com/appserver/testdrive/partfive.jsp and partsix.jsp)(I am using the ias testdrive version).

    Hi,
    It's difficult to explain unless the J2EE architecture is understood. Also, explaining things like load balancing, Transactions, tuning, are bit vague and could blow the disk space of this site.
    To get started, the best way is to test the sample applications and the best part is you don't require internet connection to follow each steps. Install iWS and iAS, open browser, type in http://hostname:port/ias-samples/index.html. You can find links to the sample applications bundled. Please follow the steps given on deploying the application. This will enable you to a higher level.
    Regards
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support

  • Question on how does load balancing work on Firewall Services Module (FWSM)

    Hi everyone,
    I have a question about the algorithm of load balancing on Firewall Services Module (FWSM).
    I understand that the FWSM supports up to three equal cost routes on the same interface for load balancing.
    Please see a lower simple figure.
    outside inside
    --- L3 SW --+
    |
    MHSRP +--- FWSM ----
    |
    --- L3 SW --+
    I am going to configure the following default routes on FWSM point to each MHSRP VIP (192.168.13.29 and 192.168.13.30) for load balancing.
    route outside_1 0.0.0.0 0.0.0.0 192.168.13.29 1
    route outside_1 0.0.0.0 0.0.0.0 192.168.13.30 1      
    However I don't know how load balancing work on FWSM.
    On FWSM, load balancing work based on
    Per-Destination ?
    Per-Source ?
    Per-Packet ?
    or
    Other criteria ?
    Your information would be greatly appreciated.
    Best Regards,

    Configuring "tunnel default gateway' on the concentrator allowed traffic to flow as desired through the FWSM.
    FWSM is not capable of performing policy based routing, the additional static routes for the VPN load balancing caused half of the packets to be lost. As a result, it appears that the VPN concentrators will not be able to load balance.

  • Accessing individual server in load-balanced cluster not working as expected

    We have a cluster set up with multiple managed servers and hardware load
              balancers sitting in front to direct traffic. We have the frontend host
              configured to be the dns name of the single URL for the cluster, which maps
              to the IP address that the load balancers balance. When accessing part of
              our site (a WebLogic portal) at
              http://server1/portalApp/appmanager/portal/desktop
              (where server1 is the name of one of the managed servers)
              the portal performs a redirect to the login page at
              /portalApp/appmanager/portal/desktop?_nfbp=true&_pageLabel=login_page.
              The URL that results in the browser is not what I would expect, which would be
              http://server1/portalApp/...
              Instead, it is
              http://cluster/portalApp/...
              where cluster is the frontend host setting. Is there any way to avoid
              this, so we can perform directed testing on specific managed servers?
              Thanks,
              Andy
              

    Hi Maria, thanks for your help! I wrote a simple test jsp that does a
              redirect if a parameter is set, otherwise it doesn't do anything. When I
              accessed the jsp at server1/app/test.jsp?a=true, something (I assume
              either WebLogic or the load balancer) rewrote the URL after the redirect
              (the redirect was to /app/test.jsp). The URL that appears in the browser
              after the redirect is cluster/app/test.jsp. Do you know if this happens
              because of WebLogic or the load balancer? Our load balancers are Cisco
              11503's I believe.
              Do you think it would make any difference if I leave the frontend host
              for the cluster to be the dns name of the cluster, and then if I set the
              frontend host for each server to be the dns name of that specific server?
              Currently each server does not have any value entered for frontend host.
              Thanks!
              Andy
              Maria Carcedo <[email protected]> wrote in
              news:31424665.1108079763742.JavaMail.root@jserv5:
              > Hi Andy!
              >
              > We had basically the same problem and we fixed it by configuring the
              > F5 load balancer to maintain the session with whichever server it
              > started the connection with. We had to enable cookie persistence, more
              > specifically the Active HTTP Cookie, with Method insert (do not enter
              > any expiration or anything else in any other field other than what is
              > already there when the page loads -> F5 bug).
              >
              > So if the original request from the portal goes to server1, every
              > subsequent request will go to server1 as well. The next session
              > request will go to server2 and every subsequent request within that
              > session will go to server 2, and so on (assuming you have round
              > robin).
              >
              > I hope this helps!
              >
              > Maria
              

  • MPLS TE equal or unequal load balancing doesn't work? - step2

    Previous question in thread:
    Dear Sir!
    I've two MPLS TE tunnels from one PE to another PE.
    And there are traffic share count between them
    (as tunnel mpls traffic-eng load-share command define).
    But in real life all traffic from the same source to the same destination go through only one tunnel
    (as CEF define - i.e. how sh ip cef exact-route says).
    PEs are 3660 platforms with c3660-jk9o3s-mz.123-8.T
    installed.
    How can I correct this problem?
    But this answer does not solved my issue:
    hritter - Network Consulting Engineer, CISCO SYSTEMS, CCIE
    Aug 4, 2004, 7:20am PST
    This is expected behavior since CEF is used at the head end to perform label imposition. I wouldn't recommend changing the default bahavior to per=packet loadsharing since this could lead to of of sequence packets, which could lower the overall performance.
    Hope this helps,
    so my secound question:
    Dear Sir!
    I'm agree with you as MPLS TE tunnels are opened from PE to PE, so CEF does it work.
    But if I open this tunnels from P to PE, ONLY ONE of this tunnels are used instead of load-sharing, if traffic go from one source (of site1 of VPN1) to the same destination (located at site2 of VPN1).
    Why? Packet through P-devices swithes by labels, so I mean that CEF cannot does src-dst load sharing?
    My problem are that I must to do load sharing between this two tunnels in the case above.
    Q: How can I solve this problem?
    Best regards,
    Maxim Denisov

    The per session load-balancing is also used by MPLS when multiple paths are available. Changing this behavior to per-packet is still not recommended.
    Hope this helps,

  • Load balancing is not working correctly during server fail-over

    Hi,
              We have 4 weblogic instances in a cluster with proxy-plugin load balancing the requests. When instance 1 is shutdown, all the subsequent requests from users whose sessions were at instance1 are sent over to instance2 only. They are not divided between instance2, instance3 and instance4.
              Can somebody, please, tell if there is any solution to this so that sessions for users who were being redirected to instance1 will be divided between instances 2,3 and 4.
              Thanks,
              Prasad

    It is not possible because in a cluster server1 always chooses the same secondary server (with some algorithm)
              So all sessions with primaries on server1 will have secondaries on same secondary server.
              So if primary is down, all the requests(that has primaries on server1) will be routed to the same secondary server.
              -Vijay

  • Round-robin Load balancing doesn't work after one instance reboot

    Hi,
              We have two weblogic instances in a cluster. All Http requests are routed through the plug-in for load-balancing(round-robin). One instance in a cluster is shutdown for production maintenance. Now all requests are being forwarded to the second instance. When the first instance is started, only the new users are forwarded to the first instance. The requests from users already logged in are not forwarded to the first instance. Due to this the second instance is over-loaded.
              How to prevent this and make weblogic to distribute the load even after the server restart? This is a production problem and I highly appreciate your responses.
              Thanks,
              Prasad Dantuluri

    it worked when I removed the value entered in the "Unicast Broadcast Channel" and restarted the cluster. Don't know what is supposed to go in that field but hey.

  • Sharepoint 2013 SP1 incoming email in load balanced farm not working on both servers

    I have 2 SharePoint 2013 WFE servers with a VIP load balancer.
    I have configured the basic scenario incoming email on both servers as per this article
    http://technet.microsoft.com/en-ca/library/cc262947(v=office.15).aspx.
    The email makes it to both WFEs in the SMTP drop folder but SharePoint picks it up always from one smtp server.
    What could go wrong?  is there any additional configuration needed so that sharepoint check both servers?

    MX records can be pointing to the IPs of your Incoming Email SharePoint servers. They should have the same weight if you want them to load balance, or different weights if you want them to be failover.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Load balancing with failover questions

    If we install 2 multi-role Exchange servers in our building and a 3rd multi-role server in our remote data center, what is the best way to load balance them?  Do we need two load balancers or is there some way to span a single load balancer across the
    WAN ?
    What about using Windows NLB as an alternative to using round robin internally?
    Can a load balancer keep our interoffice Exchange CAS traffic from leaving our LAN and only failover to using the 3rd CAS/mailbox sever for internal users if both internal Exchange servers are offline?
    We would also like remote users to "prefer" to use the data center CAS unless it is down. Right now we point our smart host directly to a CAS, but if we had a load balancer there, we could point the smart host to the IP of the load balancer and
    the load balancer could normally send it to data center CAS if it's up and forward it to one of the servers in the office otherwise.
    Is it possible to do all this without a very complicated and expensive solution?

    Depends... what is the connectivity speed between two sites, is it good enough?
    You can use load balance in front of all the 3 CAS if your inter-site connectivity is very good.
    What about using Windows NLB as an alternative to using round robin internally? WNLB and round robin is different,. You can use DNS Roud Robin if you want to or WNLB for all three CAS Server. Or Hardware loadbalancer for all three CAS servers
    Can a load balancer keep our interoffice Exchange CAS traffic from leaving our LAN and only failover to using the 3rd CAS/mailbox sever for internal users if both internal Exchange servers are offline? If you want to use the load balancer then you don't
    need to fail them over one by one -- again you can use DNS Round Robing so the request will go to eah CAS servers one by one or use Hardware Load balance.
    We would also like remote users to "prefer" to use the data center CAS unless it is down. Right now we point our smart host directly to a CAS, but if we had a load balancer there, we could point the smart host to the IP of the load balancer and
    the load balancer could normally send it to data center CAS if it's up and forward it to one of the servers in the office otherwise.
    Use DNS Server and point the A record to the Primary Data center load balanced CAS server instead using IP or host file.
    Hope that helps
    Where Technology Meets Talent

  • IOS NAT Load Balancing w/ Failover Problem

    Greetings, i am currently using the configuration below to provide failover between two DSL connections, all is working fine but i had expected outbound connections to be load balanced between the two DSL links on a round robin basis, however looking at the nat translations shows that only one of the links is being used, failover on the other hand works without issue.
    track 1 ip sla 1 reachability
    interface FastEthernet0/0
    ip address 10.50.1.254 255.255.255.0
    ip nat inside
    ip tcp adjust-mss 1452
    interface FastEthernet0/1
    ip address 192.168.1.6 255.255.255.0
    ip nat inside
    ip tcp adjust-mss 1452
    interface Dialer0
    description WAN Interface
    mtu 1492
    ip address **********
    no ip redirects
    no ip unreachables
    no ip proxy-arp
    ip nat outside
    encapsulation ppp
    dialer pool 1
    interface Dialer1
    description WAN Interface
    mtu 1492
    ip address **********
    no ip redirects
    no ip unreachables
    no ip proxy-arp
    ip nat outside
    encapsulation ppp
    dialer pool 2
    ip forward-protocol nd
    ip route 0.0.0.0 0.0.0.0 212.74.102.15 track 1
    ip route 0.0.0.0 0.0.0.0 213.246.177.200 10
    ip nat translation timeout 2
    ip nat translation tcp-timeout 2
    ip nat translation udp-timeout 2
    ip nat translation icmp-timeout 2
    ip nat inside source route-map opal interface Dialer1 overload oer
    ip nat inside source route-map pipex interface Dialer0 overload oer
    ip access-list extended dynamicNat
    permit ip 10.50.1.0 0.0.0.255 any
    permit ip 192.168.1.0 0.0.0.255 any
    deny ip any any
    ip sla 1
    icmp-echo 212.74.102.15
    frequency 5
    ip sla schedule 1 life forever start-time now
    route-map opal permit 10
    match ip address dynamicNat
    set ip next-hop 213.246.177.200
    route-map pipex permit 10
    match ip address dynamicNat
    set ip next-hop verify-availability 212.74.102.15 1 track 1
    Any assistance would be much appreciated.
    Regards

    Hi 
    Thank you for this post man ! this have been so useful. I experienced almost the same problem the router was load balancing well, but the failover was not occuring well between both equal default route.
    After using those command: ip nat translation timeout for tcp icmp and udp all the system has worked propertly.  yeah you need a Big bottle of Jack Daniel  :)    the funniest thing behind is that help me 5 years After......................!!!!

  • Load balancing doesn't work

    I'm using iAS 9.0.2.2.1
    I need to establish 2 form servers for Load Balancing.
    I have done all the things written in the document,
    but it seem doesn't work !
    I need extra information for establishing Load balancing
    in form server , is there anyone could help me !
    Thanx in advance
    Kamran Bakhshandeh

    Hi,
    the server version you give is Oracle9iAS Release 2, but the Forms release is Forms 6i as is in Oracle9iAS Release 1 (9.0.1.x). Actually these wont work together. Also, the Forms 6i metrics server used for loadbalancing does not work with Servlets but the Forms listener. Loadbalancing with Forms6i is documented in the Whitepaper for patch 10 (http://otn.oracle.com/products/forms/pdf/p10listenerservlet.pdf).
    The load balancing in Oracle9iAS Release 2 Forms Services is done with mod_oc4j.
    Frank

Maybe you are looking for

  • Photos in the wrong place how to move to the right place

    I came back from vacation and attached my camera to get my photos to iphoto 6.02 I gave it a roll name and a description and downloaded the photos. I disconnected the camera. For some reason all my photos were placed in 2004 and there was no album cr

  • TOC in Acrobat

    Versions: Frame 7.2, Acrobat 8 Professional I made a TOC for a bookk that is about 1,000 pages. I made the TOC include hyperlinks upon generating the book. The hyperlinks work just fine in the Frame source. However, when the book is printed to pdf (I

  • I can't find a link for resetting security questions

    I Can't find a link for resetting the security questions      

  • Getting the week number for a given date

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production PL/SQL Release 11.1.0.7.0 - Production CORE     11.1.0.7.0     Production TNS for 64-bit Windows: Version 11.1.0.7.0 - Production NLSRTL Version 11.1.0.7.0 - Production Hell

  • AOL loads but wont open inbox or any

    AOL loads and I can get the news, but when I try to open my inbox nothing happens! I am getting ready to dump Mozilla and reload AOL without Firefox!