Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-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 3B368DECA for ; Tue, 4 Dec 2012 07:12:39 +0000 (UTC) Received: (qmail 16556 invoked by uid 500); 4 Dec 2012 07:12:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 16342 invoked by uid 500); 4 Dec 2012 07:12:35 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 16295 invoked by uid 99); 4 Dec 2012 07:12:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 07:12:33 +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 orhankarasakal@gmail.com designates 209.85.220.45 as permitted sender) Received: from [209.85.220.45] (HELO mail-pa0-f45.google.com) (209.85.220.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 07:12:28 +0000 Received: by mail-pa0-f45.google.com with SMTP id bg2so2620559pad.18 for ; Mon, 03 Dec 2012 23:12:06 -0800 (PST) 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=WOKif8cLofKkU6oZ0aR2v0FXnxBzt/3VyW/QHEshywk=; b=hWx6w0gEtEwob9j5BnP5clbM69WflX+qcjOEMFTEselfA7c2iCIxL9yyjjY6Kv0rx9 4pSCtovoaGYsgWb1UPv1Wd+GFhgVi12k/ksFaNdNmAjH26TZRh+KHPW+YBwBXBgBkiLG eS+gtv/AYYz5QR6oA0+4XeVUOfkhpaHGQ7wuoKmII6cS6JjWVIDxPvZWiwFiyHPtHJ4V gY8H6o8StgQ8mSIy77YJGoUFAVUmVN/L0mRbPJzgoMwGOansWy+9fSOc6vc0vc7I3jrw RbSm5aVYvQgv7LzPsc5rtM4eM8+gygJnqN9vIaQTJ9ub6bFV+NYnPYcnPqRsdWxbKDC5 UMZQ== MIME-Version: 1.0 Received: by 10.68.253.4 with SMTP id zw4mr36198721pbc.143.1354605126804; Mon, 03 Dec 2012 23:12:06 -0800 (PST) Received: by 10.66.14.106 with HTTP; Mon, 3 Dec 2012 23:12:06 -0800 (PST) In-Reply-To: <50BCC33B.4000807@christopherschultz.net> References: <50BC78B6.4090007@ice-sa.com> <50BC84AE.4090008@apache.org> <50BC8629.5010706@ice-sa.com> <888a5571867be0562b5c8d659f852c24@www.internetallee.de> <50BC9B85.5090400@apache.org> <50BCC33B.4000807@christopherschultz.net> Date: Tue, 4 Dec 2012 09:12:06 +0200 Message-ID: Subject: Re: Mod_jk - loadbalancer From: Orhan Karasakal To: Tomcat Users List Content-Type: multipart/alternative; boundary=047d7b16042b64e5c104d00195a3 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b16042b64e5c104d00195a3 Content-Type: text/plain; charset=ISO-8859-1 lb1 and lb2 are two loadbalancer, are not they ? But I want to have only one loadbalancer. This design cannot be possible, only I want to know On Mon, Dec 3, 2012 at 5:20 PM, Christopher Schultz < chris@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Orhan, > > On 12/3/12 8:10 AM, Orhan Karasakal wrote: > > If it is possible, then we set. Now we are not using this design > > :) I think, it is not possible. > > I disagree: the sane parts of your request are definitely possible. > > > requests from /wepapp1/* -> worker2,worker3 > requests from /webapp2/* - > worker1, worker4, worker5 > > httpd.conf > JkMount /webapp1/* lb1 > JkMount /webapp2/* lb2 > > workers.properties (seriously abridged) > worker.lb1.balance_workers=worker2,worker3 > worker.lb2.balance_workers=worker1,worker4,worker5 > worker.worker1.jvmroute=tomcat1 > worker.worker2.jvmroute=tomcat2 > worker.worker3.jvmroute=tomcat3 > worker.worker4.jvmroute=tomcat4 > worker.worker5.jvmroute=tomcat5 > > If you want to make a request that will definitely go to worker5, then > do this: > > curl http://hostname/webapp2/server-status;jsessionid=.tomcat5 > > But you obviously cannot do this: > > curl http://hostname/webapp1/server-status;jsessionid=.tomcat5 > > ...because tomcat5/worker5 isn't in the lb pool for /webapp1. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with undefined - http://www.enigmail.net/ > > iEYEARECAAYFAlC8wzsACgkQ9CaO5/Lv0PCfLgCcCEkR68W5SuLLb5wdT+JrbW+l > aFcAnicJMYY0t7j77H20QIrZhdSIOoXg > =P5gU > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --047d7b16042b64e5c104d00195a3--