2 Replies Latest reply on Feb 7, 2006 8:42 PM by Rajesh

    can i give configuration names whatever name i want in worke

    chaitanya Novice

      two jboss servers installed in 2 different linux machines.

      i am using apache as load balancer.

      my workers.properties is like this;

      my doubt is all,all_node1 configuration names should be given whatever name i want or

      in two machines i deployed in all configuration of jboss so that i must give all,all in workers.properties file.



      workers.properties

      # Define list of workers that will be used
      # for mapping requests
      worker.list=trans_lb,status

      # Define Node1
      # modify the host as your host IP or DNS name.
      worker.all.port=8009
      worker.all.host=ipaddr1
      worker.all.type=ajp13
      worker.all.lbfactor=1
      #worker.all.local_worker=1 (1)
      worker.all.cachesize=10

      # Define Node2
      # modify the host as your host IP or DNS name.
      worker.all_node1.port=18009
      worker.all_node1.host= ipaddr2
      worker.all_node1.type=ajp13
      worker.all_node1.lbfactor=1
      #worker.all_node1.local_worker=1 (1)
      worker.all_node1.cachesize=10

      # Load-balancing behaviour
      worker.trans_lb.type=lb
      worker.trans_lb.balance_workers=all,all_node1
      worker.trans_lb.sticky_session=1
      #worker.trans_lb.local_worker_only=1
      #worker.list=trans_lb

      # Status worker for managing load balancer
      worker.status.type=status