2 Replies Latest reply on Mar 6, 2012 2:05 PM by Graeme Wallace

    Load Balancing on Cluster

    Graeme Wallace Newbie

      I have a 2 box cluster with a SLSB deployed.

       

      I have a client app that connects to the cluster. This all works, I can take servers up and down and things reconnect.

       

      However, the first connection from every client always goes to the first box named in the properties file.

       

      ie.

       

      remote.connections=cmc5101,cmc5102

      remote.connection.cmc5101.host=cmc5101

      remote.connection.port=4447

       

      remote.connection.cmc5102=cmc5102

      remote.connection.port=4447

       

      If both machines are up and running, all the EJB calls go to cmc5101. How do i get some sort of load balancing going ?