-
1. Re: Load Balancing on JBoss 7.1.0 Final
wdfink Apr 19, 2012 8:26 AM (in response to flanzer)Hi,
what kind of LB do you mean?
EJB remote call or HTTP?
-
2. Re: Load Balancing on JBoss 7.1.0 Final
earnest.dyke Apr 19, 2012 8:27 AM (in response to flanzer)Are you planning to run your servers in standalone or domain mode?
I am trying to determine how I would use an F5 to load balance in a domain. All of the doc I have been able to find references putting an Apache server(s) in front of JBoss and using mod_cluster to load balance. We already have F5s that we use for load balancing and I would like to know if they are a practical solution to load balancing in a domain.
Earnie!
-
3. Re: Load Balancing on JBoss 7.1.0 Final
wdfink Apr 19, 2012 8:34 AM (in response to earnest.dyke)Loadbalancing is not related to domain or standalone mode, such mode is just a JBoss administrative domain.
It has nothing to do with clustering.
So it is no difference for domain/standalone
-
4. Re: Load Balancing on JBoss 7.1.0 Final
ctomc Apr 19, 2012 9:07 AM (in response to earnest.dyke)Hi,
how to configure load balancing for different hardware load balancers is more of a question for those load balancers and their documentation.
But basic rule aplies that jboss (now talking just about web) exposes web trough http(s) and ajp protocol, so if your load balancer supports any of them (http is supported by most) you can use your balancer to balance to jboss.
Then how sticky sessions and other little things are configured is specific on how your balancer works.
usualy to make things work for proxying requests is to property configure proxy-name setting on connector and that should be it.
--
tomaz
-
5. Re: Load Balancing on JBoss 7.1.0 Final
earnest.dyke Apr 20, 2012 12:58 PM (in response to flanzer)Thanks for the replies. I guess my confusion comes in from looking at this document https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto It shows that the Master is running mod_cluster and is the load balancer for the two instances of JBoss. From the replies above, can I assume that I could just as easily, and correctly, but my F5 out front of these two servers and have it perform load balancing?
Earnie!
-
6. Re: Load Balancing on JBoss 7.1.0 Final
earnest.dyke Apr 20, 2012 12:59 PM (in response to earnest.dyke)The last sentence should read "these two instances" not "these two servers".
Earnie!