2 Replies Latest reply on Mar 19, 2012 1:02 PM by acmacedo

    Server side load balancing and journal-type

    acmacedo

      I'm creating an hornetq cluster environment with two nodes. I run the same configuration files in Windows and Linux, but in Linux i'm using the NIO journal-type.

       

      In Windows, the server side load balancing is working properly, but in Linux it's not working.

       

      Can journal type be an issue here? How can I make server side load balancing in Linux?

       

      I'm using JBoss 6.1.0 with built-in hornetq.

       

      I'm sending in attach the configuration files (for Windows). In linux, i added the journal-type = NIO property.

       

       

      Regards,

      André Macedo.

        • 1. Re: Server side load balancing and journal-type
          gaohoward

          make sure your cluster connection configuration's connector points to each other, i.e. host and port parameters. I see in your configuration you use {jboss.bind.address:localhost} as your host value, I'm not sure this can cause problem, but it is worth trying that you use a explicit value (like a hard-coded ip address or host name) for it and test if it works. If hardcode value works, then the problem may be the jboss.bind.address value is not properly set.

           

          Howard

          • 2. Re: Server side load balancing and journal-type
            acmacedo

            Dear,

             

            Thank you for your help. I put the static host of both machines, and now the cluster is running correctly.

             

             

            Regards,

            André Macedo.