3 Replies Latest reply on Mar 9, 2005 7:20 AM by razor_harm

    Arent

      Hello,

      I have a cluster of JBoss-3.2.6 nodes that work well for me. My JMS datasource for each node is DefaultDS (so messages get stored locally).

      When I lookup HA-JNDI and post a message to a topic, it gets stored in the local database (hypersonic) of the Master Node, which is what I expect. However in case of a fail-over, the messages do not get moved to the database of the node that becomes the Master.

      1. Do I *need* a shared datasource ??
      2. Is there a way that I can get local databases (hypersonic) on each node to be in sync?

      I ask this because if I have to use a shared DB, I need to make that DB clustered in order to have a true HA system!

      Thank you,
      Vijay Kandy

        • 1. Re: Arent
          razor_harm

          Yes, you need a single database for the clustered HA-JMS queue.

          Also see: http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA

          • 2. Re: HA-JMS, datasources

            Thank you for your reply. I read Wiki and understand that a single database is required. But what if that database goes down?

            My question is - is there a way to insert messages in to 2 databases instead of just one? That way I can be sure that no messages get lost.

            Regards,
            Vijay Kandy

            • 3. Re: HA-JMS, datasources
              razor_harm

               

              "vijayk" wrote:
              Thank you for your reply. I read Wiki and understand that a single database is required. But what if that database goes down?

              My question is - is there a way to insert messages in to 2 databases instead of just one? That way I can be sure that no messages get lost.


              Yes, you need to cluster your database. For example Oracle provides this functionality (using the thick client driver).