MDB clustering and loadbalancing

          Hello Everything,
          I need your advise for clustering my MDB's. Below is the scenario.
          I deployed 4 MDB's on four weblogic servers and listening to the same JMS queue
          and created a cluster for those 4 weblogic servers for loadbalancing and failover.
          I set round-robin as the loadbalancing algorithm, but weblogic is not distributing
          the load based on that algorithm. First bean is receiving 4 messages before 2nd
          bean receives a message.
          I need to send 1st message to 1st server , 2nd message to 2nd server in that way.
          Can any advise better way of creating a cluster and loadbalancing the messages
          across the servers.
          Any help will be appreciated.
          Lucky
          

          "Lucky" <[email protected]> wrote:
          >
          >Hello Everything,
          >
          >I need your advise for clustering my MDB's. Below is the scenario.
          >
          >I deployed 4 MDB's on four weblogic servers and listening to the same
          >JMS queue
          >and created a cluster for those 4 weblogic servers for loadbalancing
          >and failover.
          >
          >I set round-robin as the loadbalancing algorithm, but weblogic is not
          >distributing
          >the load based on that algorithm. First bean is receiving 4 messages
          >before 2nd
          >bean receives a message.
          >
          >I need to send 1st message to 1st server , 2nd message to 2nd server
          >in that way.
          >Can any advise better way of creating a cluster and loadbalancing the
          >messages
          >across the servers.
          >
          >Any help will be appreciated.
          >
          >Lucky
          >
          >
          I think your jms queue should be jms distrubited queue and the connection factory
          which you use to create connection to the distributed queue should disable server
          affinity and enable load balance. also your MDB should be deployed to the cluster.
          

Similar Messages

  • Plz help me about clustering and loadbalancing

    hi all
    plz help me about clustering and loadbalancing
    how to do clustering and loadbalancing in tomcat ?

    I used Grid Bag Layout for allignment of all buttons and textfields.Use multiple different nested layout managers to get the desired layout.
    Give it another try.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • Is Distributed Transaction Coordinator services of the application role are required by SQL Server 2012 for clustering and support of SharePoint 2013.

    All I want to know is if Distributed Transaction Coordinator services of the application role are required by SQL Server 2012 for clustering and support of SharePoint 2013.
    I have been planning and deploying my companies first Windows Server 2012/SQL Server 2012 Always On cluster and Always On Availability Groups Multi-Subnet cluster and instances for SharePoint 2013, and I will be brutally honest, the documentation on either
    the MSDN and TechNet leave alot to be desired. Continually finding links in the documentation will take me from a Windows 2012 reference to a page talking about Windows Server 2008 or R2, The differences of which there are so many when it comes to configurations,
    settings, roles, services when working with SQL Server 2012. I have been confused, frustrated, screaming mad, with all the misdirection in this documentation.  The documentation takes me windows 2008 R2 which is different than 2012!
    Tired and trying to pick myself up off the floor!
    Greg
    Gman

    In general, DTC is not required for SQL 2012.  But, since you are asking specifically about SharePoint, it would be better to ask in a SharePoint forum.  They would be more likely to know those situations where FTC might be needed by SharePoint. 
    .:|:.:|:. tim

  • Array of clusters and in the cluster is a bar meter, how can I change the color individually?

    Array of clusters and in the cluster is a bar meter, how can I change the color of the bar meter individually for each element of the array?  I have just figured out that you can't change properties of one element of the array without all elements changing.  For the scaling I had to make numeric indicators for each tick of the scale so that each bar meter in the clustered array would have individual scales.  I also had to do some math to scale each barmeter to display correct proportions from 0 to 100%.  Now I'm stumped on the color of the bar meter.  Basically, if the value goes over a setpoint, the bar meter needs to turn red.  It has to be in an array to be infinitely scalable.
    Thanks
    Matt
    Solved!
    Go to Solution.

    You can't do that-
    without a little trick.
    You could consider laying a custom color box over the bar graph in the cluster you can set the color based on the value of the bar graph or even make a "Pseudo"- bar graph using a series of color boxes stacked to look lie a bar and changing values of the Color boxs from empty to full to red.
    Here is an example to demonstrate
    Jeff
    Attachments:
    Pseudo bar.vi ‏12 KB

  • Message-driven bean "loses" MDB icon and status

    Using JDev v11.1.1.5.0, when I create a MDB in my project using the wizard, it initially is displayed with the MDB icon next to it (a little envelope with a paperclip). However, about a second later, the icon changes to a normal 'Java' icon (coffee cup). I've also noticed that the MDB class does NOT appear in the Project Properties | EJB Module | Annotated EJB 3.0 Classes list box. The net result is that when the application is deployed, the MDB doesn't get registered to listen, so it never receives JMS messages.
    I tried creating a new application from scratch, and created the exact same MDB. In this application, the icon 'sticks', and the class DOES show up in the "Annotated EJB 3.0 Classes" list box in the Project Properties dialog. (And, it will correctly register to receive JMS message on deployment.)
    So, obviously something is different/wrong with my actual application that is preventing it from recognizing that the MDB class is an MDB. But, I don't know what. I've looked at all the settings in the Project Properties, looked at the actual project's .jpr file, etc., and can't see anything that would cause one application to not recognize MDBs.
    Does anyone have any suggestions on how to figure out why my MDB classes aren't recognized as such in the one Application?
    Here's the class I'm trying to use:
    package com.acme;
    import javax.ejb.MessageDriven;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    @MessageDriven(mappedName = "acme.DefaultQueue")
    public class MessageEJB implements MessageListener {
        public void onMessage(Message message) {
             // ... code here ...
    Thanks,
    Karl

    For those that might have this problem down the road, here's what I found... It seems that there was a corrupt "cache" file or something in the project. Specifically, I had to delete the files in the <app_name>\<project_name>\classes\.data\00000000 folder. Once I deleted those files (mostly .jdb files), and restarted JDeveloper, the correct icon displayed next to my MDB classes, AND they also showed up correctly in the Project Properties | EJB Console pane.
    I'm not sure what these files are, but I assume they are cache files and get re-created automatically by JDeveloper when needed. I hope this helps someone else that has the same problem!

  • Maxdb new features - Page Clustering and Prefetch

    Hi to all,
    2 new features of maxdb are available with new patches: Page Clustering and Prefetch in OLTP-Systems.
    Are there any experiences to this features?
    READAHEAD_TABLE_THRESHOLD
    "This parameter is used to specify, if read operations of tables
    should be optimized, i.e. if during a table access more than the
    specified value in pages is affected, servertasks will be used to
    read ahead pages of this table."
    I activated this parameter in November. The system now starts more quickly and some expensive sql-statements may be faster. But the average db-time didn't change.
    Page Clustering can be activated with parameter: DATA_IO_BLOCK_COUNT
    Then tables can be migrated with SQL-Statement: ALTER TABLE <table name> CLUSTER
    I activated this only for one table. This table now is read much faster.
    My questions.
    Is there a documentation available for this features?
    How can I "uncluster" clustered tables?
    When this features are activated, expensive sql-statements are processed much faster. Because of the high workload on storagesystem, all other transaction may get slower?
    regards
    Franz

    > 2 new features of maxdb are available with new patches: Page Clustering and Prefetch in OLTP-Systems.
    First of all: both features, although technically available, are not yet generally released for OLTP usage.
    The current implementation of page prefetching is explicitely a proof-of-concept implementation which should be used by recommendation from MaxDB support only.
    There are several limitations to the functionality at the moment, e.g. it does only work for table scans.
    It does not work for joins, for index builds neither does it work on clustered tables.
    Prefetching is available to 7.6 release only at the moment, so after an upgrade to 7.7 this feature would be gone...
    > I activated this parameter in November. The system now starts more quickly and some expensive sql-statements may be faster. But the average db-time didn't change.
    Well, nothing surprising here.
    On SAP start there happen a lot of tablescans, mostly attributable to the fully buffered tables for the ABAP internals (security, ddic, etc.)
    These statements will of course benefit if the pages are now read into the buffer in parallel.
    For the avg. db-time: be happy!
    This basically means, that most of the statements running in your system aren't processed by table scans, which is for MaxDB nearly always a very good thing.
    > Page Clustering can be activated with parameter: DATA_IO_BLOCK_COUNT
    > Then tables can be migrated with SQL-Statement: ALTER TABLE <table name> CLUSTER
    Ok, page clustering is not documented yet (just as prefetching is not officially documented) and not released for OLTP.
    > I activated this only for one table. This table now is read much faster.
    >
    > My questions.
    > Is there a documentation available for this features?
    Hmm.. you're using undocumented features - what do you expect?`
    No, currently there is no official documentation.
    There is work going on to provide official documentation but none of it is released yet (and it will take some more time!)
    > How can I "uncluster" clustered tables?
    ALTER TABLE <tablename> NOT CLUSTER
    > When this features are activated, expensive sql-statements are processed much faster. Because of the high workload on storagesystem, all other transaction may get slower?
    It's not that simple.
    Both features address specific issues and are used only in very specific circumstances.
    The clustering feature will not improve performance if the table is not accessed via the cluster key.
    In fact, it may even decrease performance if this is done.
    Also, at the moment clustered tables don't stay clustered on updates/inserts/deletes.
    Therefore it is not necessarily a good idea to cluster tables like REPOLOAD pr REPOSRC on a development system.
    regards,
    Lars

  • Clustering and CF9 Standard?

    Hi,
    I have a couple of questions that I was hoping to get answered around ColdFusion 9 and clustering.  Currently, we run CF8 and IIS on the same box with a dedicated db server and serve up about 10 applications.  We are starting to look at clustering and I wanted to know:
    1. With CF 9 Standard, can we setup clustering?  Our apps have session vars and we want to use sticky sessions but I'm unsure if we can do that just with CF9 Standard.
    2. Does CF play well with VMware? If so, does anyone have any success stories around Virtualizing CF?
    Thanks,

    1. No, you can not set up clustering in CF Standard. You could set up multiple servers and let a load balancer handle the distributio of requests over the servers, but then you do not have session failover. This may meet your requirements. Or not.
    2. It works just fine. I can't remember when I set up CF for the last time on a non VMware system.

  • Clustering and partioning

    Hi,
    Can anyone please say What is the difference between clustering and partioning?.
    What is mean by Hash Partioning ? I know it is done by hash value.How we will get the hash value?
    Bit confusing to do self- study. It would be great if someone explains to me.
    Thanks

    Hi,
    Clusters are two or more tables that are physically stored together to take advantage of similar columns between the tables. If two tables have an identical column and you frequently need to join the two tables, for example, it is advantageous to store the common column values in the same data
    block. The goal is to reduce disk I/O and thereby increase access speed when you join related tables.
    However, clusters will reduce the performance of your INSERT statements, because more blocks are needed to store the data of multiple tables.
    Oracle partitions addresses the key problem of supporting very large tables and indexes by allowing you to decompose them into smaller and more manageable pieces called partitions.
    Once partitions are defined, SQL statements can access and manipulate the partitions rather than entire tables or indexes.
    Partitions are especially useful in data warehouse applications, which commonly store and analyze large amounts of historical data
    Hash partitioning is a partitioning technique where a hash key is used to distribute rows evenly across the different partitions (sub-tables). This is typically used where ranges aren't appropriate, i.e. employee number, productID, etc.
    see this link
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/general.htm#i1006095
    :)

  • Clustering and multi dimensional clustering?

    hi friends,
    why do we need Clustering and multi dimensional Clustering in bi 7.0?
    can i get any scenerio?
    Regards,
    suneel.

    Hi Suneel,
    You can get some good info here: http://help.sap.com/saphelp_nw70/helpdata/en/79/401442499cca7ee10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/02/5cf74153b6ca17e10000000a155106/content.htm
    Hope this helps...

  • Clustering and Partitioning

    Hello SDN Friends,
    Can both clustering and partioning possible together.

    Hi,
    Clustering is only supported by the database platform DB2 for Linux, UNIX, and Windows.
    You can use partitioning to improve the performance of other databases.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/33/dc2038aa3bcd23e10000009b38f8cf/frameset.htm
    Thanks & Best Regards,
    Rajani

  • Linux clusters and oracle

    Hello gentlemen!
    Does anybody have experience with linux clusters and oracle?
    Does this combination exist? Is linux great in this role?
    Any links on this topic?
    Any help would be greatly appreciated.
    Best regards,
    San.
    null

    This contradicts the information in the Oracle® Database Release Notes 10g Release 2 (10.2) for Linux x86-64:
    In Oracle Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide, Chapter 2, "Preinstallation," in the section "Oracle Clusterware Home Directory," it incorrectly lists the path /u01/app/oracle/product/crs as a possible Oracle Clusterware home (or CRS home) path. This is incorrect. A default Oracle base path is /u01/app/oracle, and the Oracle Clusterware home must never be a subdirectory of the Oracle base directory.
    A possible CRS home directory is in a path outside of the Oracle base directory. for example, if the Oracle base directory is u01/app/oracle, then the CRS home can be an option similar to one of the following:
    u01/crs/
    /u01/crs/oracle/product/10/crs
    /crs/home
    This issue is tracked with Oracle bug 5843155.

  • HR Clusters and Time Schemas

    Can anybody throw some light on HR clusters and Time Schemas.
    any documenattion may help.
    amit
    [email protected]

    refer doc.
    http://www.hrexpertonline.com/downloads/Rehans%20July%202005%20download.doc
    http://www.hrexpertonline.com/downloads/08-03.doc
    kishan negi

  • Difference between Clustering and Load balancing

              What is the difference between Clustering and Load balancing?
              For example, We use Cisco Arrowpoint to do load balancing and it works fine for 3
              Sun solaris boxes/WebLogic 6.1 SP1.
              So what is the value addition to buy clustering license?
              Thanks
              Selvaraj
              

    Hi.
              Among other things, clustering allows you to share app data (such as http session
              data) across cluster members, allowing you to failover should one cluster member
              crash.
              If your app is stateless then this doesn't mean much - load balancing alone would
              probably be ok for you.
              Regards,
              Michael
              Selvaraji wrote:
              > What is the difference between Clustering and Load balancing?
              >
              > For example, We use Cisco Arrowpoint to do load balancing and it works fine for 3
              > Sun solaris boxes/WebLogic 6.1 SP1.
              >
              > So what is the value addition to buy clustering license?
              >
              > Thanks
              >
              > Selvaraj
              Michael Young
              Developer Relations Engineer
              BEA Support
              

  • What are differences between clustering and partitioning?

    Thank you for reading my post
    Can some one let me know what is different between clustering and partitioning?
    What i think is as follow:
    In clustering we have one storage (one hard disk for example) and several instances which use that storage to server the applications
    in partitioning, we have multiple instances and each of them has its own storage (hard disk) but all of these instances and hard disks serve one application.

    The word "cluster" has different meanings in Oracle.
    Another kind of cluster is a database object where
    master and detail rows are stored together in the
    same block. Table joins are very efficient, but
    reading data from one table and not another tends to
    take longer. These kinds of clusters are vary rarely
    used.Do not forget single table sorted hash cluster!

  • WLS: Several ManagedServer without clustering and same activities

    Hi all,
    I have a request for special solution for several ManagedServer without clustering and same activities (e.g. SOA or OSB).
    In classic case, we have for example 1 AdminServer + 1 ManagedServer (SOA, or OSB). If we want to increase number of SOA-Managedserver, then we add other managed server in WLS-cluster.
    In this case, we want to have several "Independent" ManagedServer with different port number and without cluaster but in same domain.
    In addition, because we don't want to impact any project in one managed server to other managed server, we need to define different URL:ports for administration: For example: OSB has following URL:
    http://localhost:7001/sbconsole
    Is it possible to define other ports for other OSB-managed server? e.g. http://localhost:7003/sbconsole, http://localhost:7004/sbconsole
    I would like to know, if any experience is available regarding this matter.
    Thanks inadvance,
    Moh

    Hi Moh
    1. There are few things that should be clear about the Weblogic Domain and Weblogic Cluster Architecture.
    2. Any Weblogic Domain whether its Clustered or Non Clustered will have ONLY ONE Single AdminServer. You CANNOT have more than one AdminServer. Now for Cluster, you can have "n" number of Managed Servers and "n" number of Clusters. Each Cluster is just like a logical grouping of some managed servers. BUT main thing is, if you want to have High Availability architecture to support load balancing, fail over etc, you should and must have a Cluster with managed servers. And expose this Clustered Weblogic Servers into some sort of load balancer like Apace WebServer. Then expose single Apache Web Server URL (host, port + app url) to outside world. General practice is for HA architecture, you do not expose individual managed servers.
    3. So coming to your requirement, you can have "n" number of managed servers. And each managed server can deploy their own specific application. And these managed servers naturally will have different port numbers, if they are all on the same physical box. If they are on different boxes, there is no clash of port numbers. Then in front end apache web server, check for each in coming request url and according direct that to appropriate backend weblogic server. This is good but you will NOT get any HA features going in this way. Instead of exposing individual managed servers, I would recommend just create a cluster for each one of them. And expose cluster. For now each cluster can have only 1 manged severs. Later on you can add more also. This gives you HA features. Something like this for example:
    Domain = Single Domain
    AdminServer = 1 AdminServer only. Not possible more then one.
    ManagedServers = 4 (MS1, MS2, MS3, MS4)
    Cluster1 = MS1, MS2 -> Deploy App1
    Cluster2 = MS3 -> Deploy App2
    Cluster3 = MS4 -> Deploy App3
    Have a SINGLE Apache WebServer or any other Hard ware load balancer (Apache is free and widely used). Expose this host, port to outside world or actual users (outside or inside). In Apache httpd.conf file, configure like 3 settings, to check for incoming urls and redirect to back end cluster 1 or 2 or 3. Refer docs for full details.
    Requests coming to Apache WebServer can use incoming url pattern and pass the request to appropriate backend cluster
    http://apachehost:apachport/myApp1 -> Redirect to Cluster1
    http://apachehost:apachport/myApp2 -> Redirect to Cluster2
    http://apachehost:apachport/myApp3 -> Redirect to Cluster3
    Now this gives you full flexibility to add or remove more servers from any of above Clusters. Even if you have single managed server, try to put that into cluster and expose the cluster.
    4. Now comes the Adminstration applications like console, sbconsole, em (Enterprise Manager for SOA), cs (Content Server for ECM) etc. All these are deployed only to AdminServer and it makes sense also. Say in above architecture only AdminServer can have visibility to all the managed servers and clusters. Each managed server may not know about the others. Anyhow, the point is, for any Domain you will have only 1 AdminServer and most of the adminstration applications are deployed only to AdminServer. This means literally you will have just one url to control all the applications across all the clusters like http://adminhost:adminport/sbconsole. I am not familiar with sbconole, but for em I am sure its only targetted to admin server. Now, if you manually target these apps to cluster, not sure if this works also. Mostly it may not.
    Also, admin urls are not exposed to any users. Only Adminstrators can access them. You can refine some rules like have very few admins with full privileges. Some can do only deployments, some can do only monitoring (read only access) etc.
    Thanks
    Ravi Jegga

Maybe you are looking for

  • Need ABAP code to make unique hierarchy values - Request prompt help

    hi <removed> I am new to SAP. Please help me in the following I require an ABAP code for the following scenario I have a simple hieraarchy. The hierarchy is SEG -> fam -> clas -> comm The values of the seg , fam, cla, com......all will be charecter v

  • How to disable Withholding Tax in Form Setting

    Hi,   How to disable Withholding Tax in Form Setting  for A/P or A/R  service invoice document. Thank you. sridhar

  • My ghost and goblin's APP is not working

    Ghost and Goblins is just not loading. Any reason why this is happening? it is the full version

  • Deleted my partition probook 4510s

    i deleted the partition and the laptops not starting up im trying to use the windows 7 OS to restore but its not reading the dvd i tried the XP OS and i was able to install it but now it wont read the appliocation and driver recovery disk?

  • Why does finder path not locate my file?

    I have a jpeg on my desktop named keats,  keats.jpg however the file extension is hidden. I`m trying to learn to search path urls in mac & finder. I typed this but it says "folder can`t be found." ~/Users/myname/Desktop/keats.jpg I also tried it with