Question RAC load balance with app

Hi there,
How RAC help load balance the database if most of my applications connection use JDBC with specific IP or hostname. I'm using JDBC:thin client and not OCI.
Is there configuration that allows the application without specify the hostname? If I SQLPLUS, I can logon to the database with username/password and SID. I know the connection is going through Oracle Net with the tnsnames.ora file.
Thanks

Hi,
Thin JDBC supports multiple specifications for connection url. You can refer to this document http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/urls.htm#BEICDECB for more information.
--romas                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Question about Load balancing with IISPROXY

              Hi,
              We are running WLS 5.1.0 SP5 on NT 4.0 SP6. We are not using clustering.
              We are able to round robin between multiple instances of the WLS successfully.
              Question: If one of the instances of WLS goes down, is there any way to configure
              the plugin to take it out of the loop automatically (without using clustering)?
              Thanks,
              Anil.
              

    This is not the syntax. Syntax is just this:
              MaxSkips=something.
              eg: MaxSkips=25
              The doc says:
              5:10:1000 for min:default:max
              By which we mean that default value is 10, max is 1000 and min is 5. I guess the
              docs are confusing about the syntax here. We will correct them.
              --Vinod.
              Anil Kommareddi wrote:
              > Vinod,
              > I could not find any documentation on the MaxSkips parameter except in the Service Pack
              > docs. The syntax is MaxSkips=min:default:max.
              >
              > how do the min and max parameters work?
              >
              > Vinod Mehra wrote:
              >
              > > Even if the servers in the WebLogicCluster list are non clustered you WILL be
              > > able to do load balancing. But the problem is if the servers go down the plugin
              > > will not remove them. But it not that bad. If an connection attempt fails the
              > > server is marked as bad and will be skipped for the next MaxSkips (default=10)
              > > cycles of load balancing. MaxSkips parameter is configurable for IISProxy
              > > (SP4 onwards, I think).
              > >
              > > -Vinod.
              > >
              > > Prasad Peddada wrote:
              > >
              > > > I believe there won't be any load balancing unless you use servers in a cluster. As
              > > > an alternative you can use hardware load balancers directly in a situation like this.
              > > >
              > > > Anil Kommareddi wrote:
              > > >
              > > > > Hi,
              > > > >
              > > > > We are running WLS 5.1.0 SP5 on NT 4.0 SP6. We are not using clustering.
              > > > > We are able to round robin between multiple instances of the WLS successfully.
              > > > >
              > > > > Question: If one of the instances of WLS goes down, is there any way to configure
              > > > > the plugin to take it out of the loop automatically (without using clustering)?
              > > > >
              > > > > Thanks,
              > > > > Anil.
              > > >
              > > > --
              > > > Cheers
              > > >
              > > > - Prasad
              

  • Load Balancing with BigIP / SSL question

    I have an oddball question. We're load balancing ColdFusion
    MX7 across 3 servers using a BigIP load balancing server. We
    decided to go the hardware approach and it has been great except
    for one small configuration issue.
    We use a mix of SSL and non SSL pages, prior to the switch
    from a single server to a load balanced setup I used to script that
    would determine if a page that was supposed to be SSL had the
    variable CGI.HTTPS turned on or off. If it was off, the page would
    redirect back to itself with the SSL turned on.
    The problem we have is that we followed BigIP's instruction
    to secure the load balancing hardware instead of the three servers
    running behind it. So what happens is that the traffic goes to the
    load balancer port 441, but then the calls from the load balancer
    to the individual servers is port 80. So even if a page is called
    as HTTPS://... the coldfusion server says that CGI.HTTPS is "off"
    since the traffic is port 80.
    This isn't much of a problem, our SSL pages are linked as
    HTTPS:// and the only problem would actually arise if someone was
    to type in the URL and call it as HTTP rather than HTTPS.
    My questions is this, does anyone know of a way that I can
    detect if the page should be HTTPS and is not without changing our
    configuration and putting SSL certificates on each individual
    server?

    Hey,
    Well the load balancing with the BigIP device is really very
    amazing. I think
    what i liked most was swapping out servers when their lease
    was up, through the
    BigIP manager I just stopped all traffic to a server, shut it
    down, plugged in
    the new one and turned traffic back on. It was really very
    easy.
    The SSL stuff still gives me a headache to think about. but
    I should mention I
    no longer work where I was, plus now I'm all .net C# but
    that's a different
    story.
    I think if I was going to do this all again I would not have
    secured the bigIP
    unit. It was nice to buy one SSL cert for all the servers I
    attached rather
    than one per server, but getting the SSL sites to work
    properly was a headache.
    We also use windows file replication where now I would go
    with like a pair of
    Dell MD1000's mirrored for storage and just have tons of ram
    and cpu on the
    front end units. Depends what you want to spend I guess. I
    think the bigIP unit
    we bought was like 20 grand, i think they are cheaper now
    though.
    Hope I helped.

  • Enabling server-side load balancing with Oracle 10g RAC

    Hi, all.
    I created a RAC database on vmware by using DBCA.
    By default, remote_listener and tnsname.ora have been configured.
    The followings are part of dba_services from my RAC database.
    NAME, GOAL, ENABLED, CBL_GOAL
    SYS$BACKGROUND NONE NO SHORT
    SYS$USERS NONE NO SHORT
    DEVDB NO LONG
    By default(created by DBCA), server-side load balancing is enabled for
    the RAC database, DEVDB??
    --> GOAL of DEVDB is null, but CBL_GOAL IS LONG.
    After creating a RAC db by using "DBCA", do I need to do something
    for server-side load balancing??
    If so what I need to do?? How can I test it??
    And what is beneficial in enabling server-side loadbalancing ??
    Is it good in the real world??
    Thanks for reading.
    Best Regards.
    Message was edited by:
    user507290

    [urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
    [urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
    Virag

  • 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

  • Rac load balance

    Dear Gurus
    my database 10.2.0.4 and rac is configured.
    database is working fine.actually rac is installed from last 3 years and database is running fine.
    But when we see cpu usage on both nodes by command sar -r ,cpu usage on node 2 is less than node1
    so my boss is saying that load balancing is not happening.
    Could anybody tell me how could i check whether load balancing is fine on both nodes or is it like some master node concept.
    Please give some ideas to test the same as in my opinion load balancin is working fine but i don't know how do i check it

    Hi
    So, you are trying to achieve uniform CPU usage among the RAC nodes using RAC load balancing techniques?
    I am afraid, answer to your problem is not simple. Do you use Services to load balance? If yes, how is the CLB_GOAL and GOAL (run time) is setup for the services? You could potentially use services and load balancing goal to keep the CPU usage uniform.
    But, this becomes more complex in connection pool environments. In connection pool, connections are created at an accelerated pace. PMON updates the listener with Load Balancing Advisory data every 3 seconds or so, and if the connections arriving within that 3 seconds, then the listener does not get correct LBA and So, the listener might redirect the connection to the node already heavily loaded. You could control the this damage by introducing delays between the connection pool logins in such a way that PMON has enough time to update the listener.
    Even then, In theory, you could have imbalanced CPU usage. For example, let's say that application created 50 connections to instance 1 and 50 connections to instance 2. Now, some part of the application is going to have more CPU usage, then the others. If accidentally, all those connections borrowed by those CPU intensive components, are from one instance, then CPU usage will be higher. I guess, what I am saying is that connection pools do not know underlying instance load and might not distribute the workload.
    I will ask the question differently. Were you able to identify exactly what is causing the increased CPU usage in the heavily loaded node? Are you sure that it is the application? If yes, you could potentially configure more services so that you can differentiate the CPU usage at the service level.
    Now, the ultimate question is, do you see this imbalance causing performance issue?
    Hope this helps,
    Cheers
    Cheers
    Riyaj Shamsudeen
    Principal DBA,
    Ora!nternals - http://www.orainternals.com - Specialists in Performance, RAC and EBS
    Blog: http://orainternals.wordpress.com
    Oracle ACE Director and OakTable member http://www.oaktable.com
    Co-author of the books: Expert Oracle Practices, Pro Oracle SQL, Expert PL/SQL Practice
    Join me: Advanced RAC seminar - see blog.

  • CSS Load Balancing with Cookies

    We are trying to load balance 2 backend servers hosted on Websphere with advance balance cookies method.
    Restrictions
    ServerA is unable to accept cookies generated from ServerB.
    ServerA and ServerB are generating random cookies
    Unable to modify cookie string with a constant.
    How can we load balance based on cookies considering the above restrictions?
    We have attempted to do hash based load balancing with cookies but the problem we run into is the servers do not accept cookies generated from another server.
    The configuration we tried is written below:
    service ServerA
    ip address 192.168.10.2
    keepalive type tcp
    keepalive port 80
    active
    service ServerB
    ip address 192.168.20.2
    keepalive type tcp
    keepalive port 80
    active
    content ABC
    url "/*"
    add service ServerA
    string prefix "JSESSIONID="
    advanced-balance cookies
    port 80
    add service ServerB
    string skip-length 5
    string process-length 16
    string operation hash-xor
    protocol tcp
    vip address 172.16.32.1
    active
    Can we change the string prefix to JSESSION instead of JSESSIONID= ?
    The only place the app guys can add a constant string to match on is before the = sign.
    Is it possible for CSS to match on a constant string before = sign e.g below:
    service ServerA
    ip address 192.168.10.2
    keepalive type tcp
    keepalive port 80
    string id567=
    active
    service ServerB
    ip address 192.168.20.2
    keepalive type tcp
    keepalive port 80
    string id123=
    active
    content ABC
    url "/*"
    add service ServerA
    string prefix "JSESSION"
    advanced-balance cookies
    port 80
    add service ServerB
    string skip-length 0
    string process-length 6
    protocol tcp
    vip address 172.16.32.1
    active

    It should work.
    There is no reason for it not to work...
    This is the best method you can have on the CSS for stickyness.
    Get a sniffer trace on the client and server with arrowpoint cookie configured on the CSS and capture a failure so we can see what is going on.
    also send me the config so I can verify everything is ok.
    If you have a service request open with the TAC, you can also give the SR # so I can review what has been done.
    Gilles.

  • Oracle RAC load balancing advisory services query

    Hi,
    I have a query on RAC load balancing advisory.
    Is it possible to create a service for exeuction of a PL/SQL package?
    We have UNIX batches which are set of PL/SQL packages that may or may not be linked are executed daily. These batches consumes lots of resources.
    So i want to configure my services such that say pkg1 will go to node1 and pkg2 will go to node2 and so on and so forth.
    Is it possible to achieve this with Net services and LBA?
    If not, is there any other way i can do this?
    Thanks
    AT
    Message was edited by:
    Amit Trivedi

    Hi, my answers are:
    Is it possible to create a service for exeuction of a PL/SQL package?Yes, that is posible, you can create a service for execute PL/SQL Packages, in fact you can create any service that you need and assign the resources and priorities for this service.
    Is it possible to achieve this with Net services and LBA?Yes, thats posible, you define the priorities at service level and where the service must run at node level.
    If not, is there any other way i can do this?Yes, if you dont wish using the LBA and services you will must create statict definition into tnsnames file for operate connection string and indicate where must connect the session for execute the package.
    Luck.
    Have a good day.
    Regards.

  • Cache and Load Balancing with Oracle APEX Listener

    Hi,
    I intend to use only HTTP access.
    How to implement a Cache and Load Balancing with the Oracle APEX Listener?
    Is it possible to do with the the standalone running APEX Listener?
    Thanks by advance for any tips/documentation/references.
    Kind Regards.

    Hi,
    I think this question is best asked in the APEX Listener forum:
    ORDS, SODA & JSON in the Database
    Kind regards
    Sandro

  • Multihomed eBGP load balancing with 3 ISP's

    We currently peer with 2 ISPs using BGP in an active/failover configuration.  My company wants to move to a 3 ISP model where Internet traffic is split across the 3 providers so that bandwidth is equally distributed on outgoing traffic across our 2 /22 ARIN IP ranges.  This is from our 2 edge switches that have VSS.  
    Within my limited knowledge of BGP, I have determined that we could do load sharing pretty easily by adding multiple default routes and breaking up our /22's into /24 and advertising them that way.  However, I don't think this satisfies the request that downtime must be seamless, should one link drop.  
    Currently, our ISP's advertise default routes.  From the research that I've done, we could get close to load balanced links if we receive full BGP routes and community settings and definitions.  I'm nervous about this because it looks really complicated, and I don't want our AS to turn into a transit AS.  I've been told the same can be accomplished with only partial BGP routes and community settings and definitions.  
    Personally, I think we just need a WAN load balancer.  However, given the request, is there a thread out there that can explain this, or can someone discuss this requested scenario a little bit?  
    Thanks!

    Hi there
    First question would be what is the required reconvergence time for the applications using the Internet? Should an outage occur, when do they lose their state? Once you know that, you then have a target to aim for in terms of recovery
    With regards load-balancing, with BGP we are always talking inbound and outbound.
    The outbound solution is relatively simple - each ISP advertises a default route to your Internet edge router(s). Create an eBGP session from each edge router to the core, advertise the default route and redistribute into the IGP. Ensure the IGP cost to each BGP next hop is equal and you have ECMP for outbound routing.
    Inbound influence is usually via MED (not likely in this case given 3 ISPs), adjusting local-pref in the ISP via BGP EXT communities configured your end, or via AS-PATH prepending for longer prefixes from your /22. Prepending would be simplest, but your unlikely to get an exact inbound traffic split, however a relatively even distribution should be sufficient. 

  • XDOLoader on RAC / Load balancer

    Hi all,
    I'm busy with creating an installation script for installing all kinds of objects.
    There are also some XML Publisher objects that need to be installed trough XDOLoader.
    This installation script has to be dynamic as there are 9 environments that are all 9 in RAC / Load balancing.
    Now the problem is that XDOLoader requires an JDBC connection string and I have to 'build up' is this string in my script.
    Some will propose to use $TWO_TASK for the SID. And yes, that's a good proposal, but as I'm on load balancing the $TWO_TASK environment variable does not contain an SID...
    Also the JDBC_URL from the dbc file does not work.
    Does anybody has some experience with using XDOLoader in an RAC / Load balanced environment?
    Or any proposals how to get your JDBC string dynamically builded without using $TWO_TASK ?
    Thanks in advance
    Regards,
    Stijn

    Hi,
    Can you please give me some more information about your setup ...
    Something like ...
    F5/LB --> Apache or OHS --> WebLogic Cluster..
    If you are using F5/OHS directly to WebLogic cluster you can try enabling the session persistence and this problem should go away..
    If you are using plain Apache or OHS try putting "DynamicServerList" off.
    Let me know something more about setup so that i can contribute to help ..thanks.

  • CF 10 Load-Balancing with Remote Instances

    I was reading an article on Clustering/LB/HA using CF8, but have not found any updates for CF10.
    Using VM VirtualBox to setup a few virtual servers, I am looking to setup a load balancing of ColdFusion 10 on 2 remote instances. The goal would be have ColdFusion Cluster Manager be able to point http request to one of the two servers based on load/availability. Not really having a hardware cluster/failover setup, just managing resources on two CF instances instead of a standalone.
    The servers are Windows Server 2008 R2 with IIS7.5 and ColdFusion 10 Enterprise on installed on 3 of these machines. Let's call them CF-LBManager, CF-Web1, and CF-Web 2. In the CF Docs, they show the Cluster Manager adding the local CF instance and "if you want" a remote instance. However, this scenario would require the main instance to be running and not fail for it to direct to the other instance.
    I am trying to set this up now with CF-LBManager as just a manager of the requests coming in. In the Enterprise Manager >> Instance Manager, the local instance is shown and I add the two remote instances with the correct Remote Port, JVM Route, etc. I also made sure the <Cluster>...</Cluster> block was added to the two remote instances (CF-Web1 and CF-Web2) \runtime\conf\server.xml file too, Jetty Services also is running. Now under the Enterprise Manager >> Cluster Manager I add the two remote instances to the cluster, not the local instance on CF-LBManager with Multicast Port and Sticky Sessions enabled. On Submit, I get a green message "You must restart all the server instances and any configured webservers for these changes to take effect.". I go ahead and reboot the servers and come back.
    I now browse to the ColdFusion page as a test on CF-Web1 and CF-Web2 to make sure CF is running properly, they do. I then browse the IP of the CF-LBManager, however it only returns the local IIS web site and not redirect to one of the two cluster members. I am not seeing any message on the coldfusion-out.log on the remote instances. Am I not setting this up correctly or not enabling the Cluster Manager to take over and pass along the requests to those in the cluster?

    Unfortunatley I don't have a lot of experience with CF10 on Windows, but if you are running CF behind IIS I think  you will need to update the Tomcat connector configuraiton to do load balancing. I'm not sure if re-running the wsconfig tool on all of the servers will do this or not, but that is what I would suggest trying first. If that doesn't work you will need to update the Tomcat connector configuraiton manually. You can find more information on load balancing with the Tomcat connector here: http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html.

  • Load balancing with JSP

    Anyone and everyone,
    When configuring load balancing with Weblogic clusters, does load
    balancing take effect for all services or just EJB and RMI? Or another
    way of saying the same thing, can I setup weighted load balancing for
    the JSP engines across 2 weblogic servers.
    Thanks in advance,
    Mike

    The load-balancing documentation you read describing the different algorithms only applies to RMI stubs (e.g., EJB clients). Please see http://www.weblogic.com/docs51/cluster/concepts.html#1026091 for a description of how load-balancing/clustering works with servlets/JSPs.
    The short answer is that in using servlet clustering, most people want/need/use in-memory replication for HttpSession objects. In WLS 5.1 (and before), in-memory replication requires one or more proxy servers be set-up in front of the cluster. Typically, most people use something like BigIP to load-balance
    across the proxy servers and let the weblogic plug-in for the proxy server handle the routing to the cluster. The plug-in uses round-robin until an HttpSession is established for a user, then it always tries to route to the server where the user's session is located.
    Hope this helps,
    Robert
    Brian Lin wrote:
    All,
    I have a quesiton here regarding load balancing with DNS round robin. As of Chapter Adminstration of Clustering Weblogic server, Weblogic can be configured to balance by weight. How about Weblogic handle weight based balancing after DNS round robin ip response? or just can choose one way instead of both?
    What's the big difference between choosing BigIP and software balancing (WL)?
    Brian
    "Wei Guan" <[email protected]> wrote:
    I don't think you can configure this load balancing in weblogic in current
    release. However, if you have Big-IP or LocalDireoctr, you can set up
    weighted load-balancing there. Otherwise, weblogic proxy will use DNS round
    robin to do the load-balancing between JSP engins.
    My 2 cents.
    Cheers - Wei
    Michael Yakimisky <[email protected]> wrote in message
    news:[email protected]...
    Anyone and everyone,
    When configuring load balancing with Weblogic clusters, does load
    balancing take effect for all services or just EJB and RMI? Or another
    way of saying the same thing, can I setup weighted load balancing for
    the JSP engines across 2 weblogic servers.
    Thanks in advance,
    Mike

  • Load Balancing With Round Robin

    Hi,
    I have two iAS instances, each on their own box, and one iWS instance
    running on a third box. I have setup the web connector to use round
    robin and added the server weights. I believe that is all that is to it
    to do simple load balancing with iAS. The problem is is that the
    requests only go to one iAS instance. The server weights are 1 and 1.
    Am I missing something here?
    Thanks

    Could be lots of things.
    The most common misconfiguration is testing an application that is deployed "local". This application option effectively disables load balancing.
    Another common mistake is to either not update the configuration of the webconnector (if the webconnector
    has a seperate configuration LDAP) or to not restart
    the webconnector after the configuration change.
    Hope this helps. There's more things we could try, but I'll hope its one of these two easy things.

  • Load balancing with use of router 881.

    Hello,
    I have two MPLS line and i want load balancing with the help of CISCO router 881. is it necessary that i require two router on both location.? if one location have firewall and one location have cisco router 881 then can i do a load balancing or i require two router each on both location ? What are the basic requirement that i need.
    Thanks,
    Kuntal

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    An 881 should be able to load share across multiple ports.  Many routing protocol support ECMP, including BGP, but you need "special" hidden/secret commands to enable.  EIGRP also supports unequal cost load sharing.
    If an 881 supports OER or PfR, those too will do unequal load sharing, dynamically.

Maybe you are looking for

  • Outlook is unable to connect to the proxy server.(Error Code 10) when users opened Outlook 2010

    Hi All Exchange Server - 2013 CU2 (Windows 2012 Standard) AD Server - 2003 R2 SP2 exchange-svr01.domain.com - internal name mail.company.net - external name When users opened Outlook 2010, they will encountered "There is a problem with the proxy serv

  • How to implement Exception Handling error in IDoc to File and RFC to File

    Hi, We are implementing the two below scenarios : 1. IDOC to File 2. RFC to File We have to implement the Exception Handling for the above two cases. Kindly could you provide the inputs to implement the Exception Handling for the above two cases. Ple

  • JPEG DEVELOP SETTINGS TRANSFERED TO RAW FILES

    I am trying to find out if you can transfer the develop settings/ranking/Etc. done on JPEG files to the same names RAW files. I shoot JPEG+RAW and I would like to send the JPEGS to someone off site for color corrections, crop, ranking, Etc. (because

  • Home Creative Cloud

    How can I download a second copy of a creative cloud application for my home Mac comuter use?  When I try, it says that I need to sign in.  I am already signed in, but it doesnt recognize it presumably becuase it knows that I have already loaded the

  • ODI-Essbase:I'm getting error while loading data from Oracle to Essbase

    Error occurs at IKM stage. IKM USED:IKM SQL TO Hyperion Essbase(DATA). Error Description. org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last): File "<string>", line 79, in ? java.lang.NullPointerException      at com.hyperi