Load balancing issue.
am 08.03.2010 23:24:47 von afrodom
Hi, I am hew to Apache HTTP, so I have one problem to conceive.
May I somehow (is it possible) to use Apache server to redirect a request to
appropriate application server (like JBoss), based on some information
carried in the request? And if I can perform that thing, do I need an apache
restart, if I add another (some new) instance of JBoss server, to what some
requests, also based on some information embedded in the HttpRequest, should
be delivered?
Thanks
--
View this message in context: http://old.nabble.com/Load-balancing-issue.-tp27828605p27828 605.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Load balancing issue.
am 09.03.2010 10:10:58 von Philip Wigg
On 8 March 2010 22:24, afrodom wrote:
>
> Hi, I am hew to Apache HTTP, so I have one problem to conceive.
> May I somehow (is it possible) to use Apache server to redirect a request to
> appropriate application server (like JBoss), based on some information
> carried in the request? And if I can perform that thing, do I need an apache
> restart, if I add another (some new) instance of JBoss server, to what some
> requests, also based on some information embedded in the HttpRequest, should
> be delivered?
There's tons of information about this on the JBoss wiki. Most people
use either mod_jk, mod_proxy or mod_cluster. I think mod_cluster is
the only option which will allow you to dynamically configure new
members of the load-balanced pool which you seem to suggest is a
requirement. The following pages have lots of information on all
options, with links to even more:-
http://community.jboss.org/wiki/UsingModproxyWithJBoss
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
http://www.jboss.org/mod_cluster
Note that mod_cluster has it's own separate mailing list.
-- Phil.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Load balancing issue.
am 09.03.2010 10:46:45 von afrodom
Hi Phil.
I was wondering, may I somehow implement some business logic inside apache,
and read each user request, which will carry the information (inside
request), upon what will be decide to what server it should be redirected?
Thanks
--
View this message in context: http://old.nabble.com/Load-balancing-issue.-tp27828605p27833 440.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Load balancing issue.
am 09.03.2010 10:52:58 von Philip Wigg
> I was wondering, may I somehow implement some business logic inside apache,
> and read each user request, which will carry the information (inside
> request), upon what will be decide to what server it should be redirected?
Normally you would 'carry the information' inside the URI. For
example, make a request to /app1 or /app2. Based on that it's easy to
route the request to the correct application server by using any of
the modules I directed you to earlier.
-- Phil.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Load balancing issue.
am 09.03.2010 11:07:55 von afrodom
Hi, thanks on your direction. Somehow my idea solution is probably the most
resolvable by SOAP messages.
I would appreciate, if you can redirect to some good article about just
failover, in the sense that,ONLY when main server goes down, a request to be
redirected to another one in cluster.
Hope you wouldn't mind on my confusion :)
Thanks!
--
View this message in context: http://old.nabble.com/Load-balancing-issue.-tp27828605p27833 653.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Load balancing issue.
am 09.03.2010 11:54:12 von Philip Wigg
> Hi, thanks on your direction. Somehow my idea solution is probably the most
> resolvable by SOAP messages.
> I would appreciate, if you can redirect to some good article about just
> failover, in the sense that,ONLY when main server goes down, a request to be
> redirected to another one in cluster.
I respectfully suggest you need to read the documentation I've already
sent you and understand the different options available to
proxy/load-balance content to back-end application servers using
Apache. The docs explain how to configure a hot-standby if that's what
you require.
-- Phil.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Load balancing issue.
am 09.03.2010 12:24:48 von afrodom
Ok thanks !
--
View this message in context: http://old.nabble.com/Load-balancing-issue.-tp27828605p27834 369.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org