2 Replies Latest reply on Mar 9, 2004 12:55 PM by tsagovic

    Does JBoss Cluster on Two or More Databases?

    6tr6tr

      I have a question about the structure of a clustered JBoss setup. Can I cluster two JBoss App Servers, each with it's own Database (that are the same in structure/content)?

      So like this:

      JBoss Server 1 <-----| Clustered | ------> JBoss Server 2
      | |
      | |
      V V
      Database 1 Database 2


      Or is it like this:

      JBoss Server 1 <-----| Clustered | ------> JBoss Server 2
      | |
      | |
      --------------------------------------------------------
      |
      |
      V
      Database 1


      If so, why is it the second one and not the first?

        • 1. Re: Does JBoss Cluster on Two or More Databases?
          6tr6tr

          Sorry, the text all became left-aligned.

          So like this:
          
          JBoss Server 1 <-----| Clustered | ------> JBoss Server 2
           | |
           | |
           V V
           Database 1 Database 2
          
          
          Or is it like this:
          
          JBoss Server 1 <-----| Clustered | ------> JBoss Server 2
           | |
           | |
           ------------------------------------------------
           |
           |
           V
           Database 1
          
          
          If so, why is it the second one and not the first?


          • 2. Re: Does JBoss Cluster on Two or More Databases?
            tsagovic

            I believe that the second setup is the right one (well I am quite sure it is the good choice) to keep ur DBs in sync. There should be one single DB from the JBoss app server point of view. IF the a single DB server can not scale then the database should be scaled. Most DB offer some kind of clustering capabilities, but with $£$ license. In case u r using open source DBs, I would suggest you to check Out ClusteredJDBC; It looks like a JDBC driver to ur app. but it has clustering capabilities.

            http://c-jdbc.objectweb.org/ JDBC web site

            Hope that helps.