Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9711E9E42 for ; Thu, 5 Apr 2012 05:11:42 +0000 (UTC) Received: (qmail 90086 invoked by uid 500); 5 Apr 2012 05:11:39 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 89854 invoked by uid 500); 5 Apr 2012 05:11:35 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 89818 invoked by uid 99); 5 Apr 2012 05:11:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 05:11:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of icicimov@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 05:11:27 +0000 Received: by iafj26 with SMTP id j26so1753942iaf.18 for ; Wed, 04 Apr 2012 22:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xVCn95f+eSp9Y7sMHuQd45bJWiBPaqzg9I32S8YAOAM=; b=hK+8ItGj1vgU1tPFpUNlKkSIIvzho/O9CDwV98H9DgMkay9IYM1dQ4waaODblzXOyb iNTyyK7AB/atw8etlRw2XUDoOQOt6kuwU4E9CWrDoOgCD4ZPJV1Mf2bYY7hi2H22Vtn0 JMoZbAJLyU59q5ytNzqms/xjl0Q9mvWjt9+0ZdqIxMQzZ5DzdNtlzLxVr7+QkkXzRHDi 3L93fIXd1PJggR90eLXL2N3prBVV7Yz1UWCDbAUCRk3JpYa4xGR3cwsu+MfKr/Vc01+0 z3JLGQLnLCSBs6RiqxiqLUsJoctd1aOWltrLdXB1z5UAEKf6QvsUnGVPnuWMIy2ff3Ng VPAQ== MIME-Version: 1.0 Received: by 10.50.181.194 with SMTP id dy2mr711420igc.48.1333602666905; Wed, 04 Apr 2012 22:11:06 -0700 (PDT) Received: by 10.42.246.72 with HTTP; Wed, 4 Apr 2012 22:11:06 -0700 (PDT) Received: by 10.42.246.72 with HTTP; Wed, 4 Apr 2012 22:11:06 -0700 (PDT) In-Reply-To: <33564835.post@talk.nabble.com> References: <33564835.post@talk.nabble.com> Date: Thu, 5 Apr 2012 15:11:06 +1000 Message-ID: From: Igor Cicimov To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=14dae934096b3b807704bce7917e Subject: Re: [users@httpd] How to set up 2 or more machines running HTTPD instances to serve a same request ( in a load balanced fashion). --14dae934096b3b807704bce7917e Content-Type: text/plain; charset=ISO-8859-1 I have done this with mod_jk but the tomcats were not clustered. Ive seen a thread here using mod_proxy_balancer and tomcat cluster but OP was saying that broke the tomcat session replication somehow. What have you exactly tried till now? There is more than one way to achive this. On Apr 5, 2012 10:23 AM, "Pratapani" wrote: > > Hi, > > Greetings !! > > I am writing this after lot of googling. I could not get a direct answer in > my searches. > As I don't have a more time to do R&D, I am sending this mail for a quick > solution. > > I sucessfully did the following : > -------------------------------------------- > I am able to have one HTTPD server running and 2 tomcats instances ( load > balanced ) for the single HTTPD server. > I was able to sucessfully test the Session replication in case of 1 tomcat > instance going down. > The request is serviced by another tomcat instance and session is also > replicated. > > I am unable to do the following : > --------------------------------------------- > In the above case if the machine hosting the HTTPD is down , the requests > are not serviced although the tomcast instances are available. > How do I setup HTTPD servers as load balaced. That is 2 or more machines > serving the same address. > There is virtual host to support a single machine serve multple address . > > Just would like to understand if there is a simple way to set up 2 or more > machines running HTTPD instances to serve a same request ( in a load > balanced fashion). > > Greatly appreciate your help. > > Thanks , > Durga Prasad > > -- > View this message in context: > http://old.nabble.com/How-to-set-up-2-or-more-machines-running-HTTPD-instances-to-serve-a-same-request-%28-in-a-load-balanced-fashion%29.-tp33564835p33564835.html > Sent from the Apache HTTP Server - Users mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --14dae934096b3b807704bce7917e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I have done this with mod_jk but the tomcats were not clustered. Ive see= n a thread here using mod_proxy_balancer and tomcat cluster but OP was sayi= ng that broke the tomcat session replication somehow.
What have you exactly tried till now? There is more than one way to achive = this.

On Apr 5, 2012 10:23 AM, "Pratapani" &= lt;durgaprasadbabu.p= ratapani@rbccm.com> wrote:

Hi,

Greetings !!

I am writing this after lot of googling. I could not get a direct answer in=
my searches.
As I =A0don't have a more time to do R&D, I am sending this mail fo= r a quick
solution.

I sucessfully did the following :
--------------------------------------------
I am able to have one HTTPD server running and 2 tomcats instances ( load balanced ) =A0for =A0the single HTTPD server.
I was able to sucessfully test the Session replication in case of 1 tomcat<= br> instance going down.
The request is serviced by another tomcat instance and session is also
replicated.

I am unable to do the following :
---------------------------------------------
In the above case if the machine hosting the HTTPD is down , =A0the request= s
are not serviced although the tomcast instances are available.
How do I setup HTTPD servers as load balaced. That is 2 or more machines serving the same address.
There is virtual host to support a single machine serve multple address .
Just would like to understand if there is a simple way to set up 2 or more<= br> machines running HTTPD instances to serve a same request ( in a load
balanced fashion).

Greatly appreciate your help.

Thanks ,
Durga Prasad

--
View this message in context: ht= tp://old.nabble.com/How-to-set-up-2-or-more-machines-running-HTTPD-instance= s-to-serve-a-same-request-%28-in-a-load-balanced-fashion%29.-tp33564835p335= 64835.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com= .


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

--14dae934096b3b807704bce7917e--