Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 70859 invoked from network); 20 May 2010 11:59:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 May 2010 11:59:31 -0000 Received: (qmail 102 invoked by uid 500); 20 May 2010 11:59:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 99945 invoked by uid 500); 20 May 2010 11:59:28 -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 99937 invoked by uid 99); 20 May 2010 11:59:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 11:59:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of m.watts@eris.qinetiq.com designates 128.98.1.9 as permitted sender) Received: from [128.98.1.9] (HELO mailr.qinetiq-tim.net) (128.98.1.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 11:59:20 +0000 Received: from mailhost.eris.qinetiq.com (mailhost.eris.qinetiq.com [128.98.2.2]) by mailr.qinetiq-tim.net (Postfix) with SMTP id 21E678CCDB for ; Thu, 20 May 2010 13:01:21 +0100 (BST) Received: (qmail 23257 invoked from network); 20 May 2010 11:58:47 -0000 Received: from unknown (HELO mail.mgmt.qinetiq-tim.net) (128.98.254.9) by mailhost.eris.qinetiq.com with SMTP; 20 May 2010 11:58:47 -0000 Received: from [128.98.10.176] (mwatts.eris.qinetiq.com [128.98.10.176]) by mail.mgmt.qinetiq-tim.net (Postfix) with ESMTP id 6E6BB340131 for ; Thu, 20 May 2010 12:58:46 +0100 (BST) From: Mark Watts To: users@httpd.apache.org In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-KxWP3AKypFrspjMfmhWc" Organization: QinetiQ Date: Thu, 20 May 2010 12:58:45 +0100 Message-ID: <1274356725.2768.8.camel@mwatts.eris.qinetiq.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Load balance three tomcats behind apache --=-KxWP3AKypFrspjMfmhWc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2010-05-20 at 16:37 +0500, Nasir Zia wrote: > hi, >=20 > how can i configure a load balancer with one apache and three tomcats > running behind apache. >=20 > Apache version 2.2.15 > tomcat version 6.0.26 >=20 > Nasir LoadModule proxy_module modules/mod_proxy.so=20 LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so BalancerMember ajp://server1:8009/ loadfactor=3D1 timeout=3D30 BalancerMember ajp://server2:8009/ loadfactor=3D1 timeout=3D30 BalancerMember ajp://server3:8009/ loadfactor=3D1 timeout=3D30 ProxySet lbmethod=3Dbyrequests =09 ServerName www.example.com ProxyPass /app/ balancer://localhost/app1/ ProxyPassReverse /app/ balancer://localhost/app1/ # Logging and other directives go here> --=20 Mark Watts BSc RHCE MBCS Senior Systems Engineer, Managed Services Manpower www.QinetiQ.com QinetiQ - Delivering customer-focused solutions GPG Key: http://www.linux-corner.info/mwatts.gpg --=-KxWP3AKypFrspjMfmhWc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkv1I/UACgkQBn4EFUVUIO1StQCg0zPLMBYPWbQoLDI/1llnD0+V ANgAn1g+70RZo/a/uXRjjj7r8gme6IBr =Xy4s -----END PGP SIGNATURE----- --=-KxWP3AKypFrspjMfmhWc--