1 2 Previous Next 18 Replies Latest reply on Feb 11, 2010 5:57 AM by timfox Go to original post
      • 15. Re: Clustering a Topic
        schwanitzb

        Tim,

         

        YES!!! That was it! I just changed the netty connectors and acceptors on both machines to have their actual IP addresses instead of 0.0.0.0. The cluster forms and topic messages are distributed to both nodes. Sweet!

         

        One question follows though: is there a way to configure a connector/acceptor that discovers its IP address? I'll be deploying the HornetQ server cluster on machines without fixed IP addresses.

         

        Thanks to you and Clebert for such great support.

         

        Cheers,

        Bill

        • 16. Re: Clustering a Topic
          clebert.suconic

          You could add a property on the connector...

           

          something like ${jboss.bind.address} or you could define your own property (by passing a -D on the run.conf through java options).

          • 17. Re: Clustering a Topic
            schwanitzb

            Clebert,

             

            That is exactly what I needed.

             

            Thanks to you and Tim for all your help!

             

            Cheers,

            Bill

            • 18. Re: Clustering a Topic
              timfox

              schwanitzb wrote:

               

              Tim,

               

              Thanks for the tip on using the ClusterConnectionControl. I'm running HornetQ 2.0.0.GA and I don't see a getNodes() method (just stop and start). However, maybe this will be helpful. I've attached the outputs from the ClusterConnectionControls on both machines.


              Err, I can see the "Nodes" attribute on the jpg you attached...

              1 2 Previous Next