Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 52129200BA1 for ; Mon, 17 Oct 2016 13:22:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 50709160AEC; Mon, 17 Oct 2016 11:22:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 96F22160AE5 for ; Mon, 17 Oct 2016 13:22:12 +0200 (CEST) Received: (qmail 59307 invoked by uid 500); 17 Oct 2016 11:21:16 -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 59290 invoked by uid 99); 17 Oct 2016 11:21:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 11:21:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 54D7A185CAB for ; Mon, 17 Oct 2016 11:21:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YlkOwaOnwVn9 for ; Mon, 17 Oct 2016 11:21:03 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0DCA55F30E for ; Mon, 17 Oct 2016 11:21:03 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id b81so280271683lfe.1 for ; Mon, 17 Oct 2016 04:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=qZlGfhXS1u/l8JtxOyhvPzkeGfTm6PrgVNhdNjldnFo=; b=Whe/bmK+YnN1tHAFnWhNof71I/kpRtlatY8hXbgDZ7FCW/u4QNqYBY8hbZynxZV9BU DXT5Uz9+mXRvgepVLoLjLg1gtZHKyQ+LwzApNpRdAFudlBrbG7LOltdZqzzBrKBMK95Q 78QLuoL1Zu3T/9DlbARhdcQpM43e3TUAbvyTCX1smfDXGQ3m8IQHVHSYBzmb/097MTaX pdjDLVp9IBxGzGelT86RrezPaxFJmEzYyZwXlOpS+h6XYwAghaGS/uDgdMv21TbNNJ4u KLfwsiPq5pbKQP+ZLmyPFroFC10nYXAvPb3MejA+5TRZWLB27rKy7yM7mKfU1lFR93H5 wYRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=qZlGfhXS1u/l8JtxOyhvPzkeGfTm6PrgVNhdNjldnFo=; b=GyE/vBEBWzAXVXAYPmD8Eh7UvvSgw4hppzycd/cTBQraPq3MoFMHkxxvtNsXP4OMKU fGgQl0K7UEtEEZhUiYDtyEn4Nt7Xe+KDBSgmZqzfaQijVtUVQGc5V2tyuHxlMhUPrQnQ 8Z9a/gUMMIl2Wp+6z88+4DMO+AVRA5w5QmAUGA4PSdyUKFDWSNjv3zFXfDRQBzrh6YEq 3lofIzcrmMOf0XiSVPH1xWrsDSFsePsyo7/HT1G05JMQu509tFE3qORVviiIur286fTe E116Zdq0u+hHqhM+8Tea/o3mdL72TEeEtpFNEiIVKs11lPL+8pLSXgcW2IIPgBxvLAmk 4Ctg== X-Gm-Message-State: AA6/9RknD4kHAw1VYYHyZ0LefaL3qJzh7Kxu5qtDh2QBy4UOOstaef7WDCHhBgr25AD73ooYX/hXhhbcvKa2Lg== X-Received: by 10.28.150.20 with SMTP id y20mr5967956wmd.67.1476703259313; Mon, 17 Oct 2016 04:20:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.238.89 with HTTP; Mon, 17 Oct 2016 04:20:58 -0700 (PDT) In-Reply-To: <0c5c8e2c-ec08-0baf-ca63-358a4f26d132@christopherschultz.net> References: <0c5c8e2c-ec08-0baf-ca63-358a4f26d132@christopherschultz.net> From: Jayaram Ponnusamy Date: Mon, 17 Oct 2016 14:20:58 +0300 Message-ID: Subject: Re: Round Robin LoadBalance/Failover Configuration for Apache To: Tomcat Users List Content-Type: multipart/alternative; boundary=001a114b3c9435cb88053f0dc52c archived-at: Mon, 17 Oct 2016 11:22:13 -0000 --001a114b3c9435cb88053f0dc52c Content-Type: text/plain; charset=UTF-8 Hi Christopher, Thanks for the reply. I am new to Apache and Tomcat, Our Tomcat is not cluster and Sticky is not enabled. Could you please let me know which one will be help to avoid failover if one Tomcat went down. Thanks Jayaram On Sun, Oct 16, 2016 at 10:32 PM, Christopher Schultz < chris@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Jayaram, > > On 10/13/16 1:00 AM, Jayaram Ponnusamy wrote: > > Hi All, > > > > Currently we have two webServers (WA and WB) and two Tomcat Servers > > (TA, TB). WA configured for TA and WB configured for TB. How to > > configure Loadbalance and Failover between these two Servers. > > > > For Eg. WA is connected with TA, if TA failed then WA should > > connect TB, Similarly WB connect TA if TB is failed. > > > > It may simple, but I am new to Apache. Most of the LB example > > described for 1WEB and TWO AppServer. Kindly please help me to > > solve this problem > > > > Given workers.properties details below. Kindly please help me to > > solve this issue. > > > > WEB-A's workers.properties worker.list=wa worker.wa.type=ajp13 > > worker.wa.host=ta worker.wa.port=9009 > > > > WEB-B's workers.properties worker.list=wb worker.wb.type=ajp13 > > worker.wb.host=tb worker.wb.port=9009 > > Are your Tomcat instances in a cluster? Do you want them to be? Are > you using sticky sessions? Do you want to use sticky sessions? > > Is it okay for users who are failed-over to the other server to have > to re-authenticate with your application to continue? > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJYA9XAAAoJEBzwKT+lPKRY0esQAMium0WaEZLtznE5pMmSAu28 > SwP4p/wGv5QiVXm7RDcIqIEG1oTa/6KVRUukmNE695i293qAIBhZI/HM7whip038 > C3X/IG/3e+pe06wt31osnzKbwWEDdnWaLKyGXaF3N1fzaII5MBxPst/mDMhmfclK > oIgFBIgwTuKA760HL0yWIph7Slg4DSg/ZkJxdSKM2wXkf+oJq+e2/mJOBgpgbm82 > fz5JYL6FIWEobbONKLbZNEFL+670Xc+IxD+irkqwhURGihelyQ9ads9Sz2JpoT9J > gpeEwmtu4pXi7RYlA67/qST/gVmYlfWWaurcpfWiEZhwXz0cotx73AmBEJCSr7Ml > nkXLbhJThx4YWpZtjmrBfXAd4Z4SW6W9rCB/VmB1QtL+pEv5n2lsi6bOV+vA3BxK > oAbicf/CI6HRUyE2Ar+IPmjtSnxu1n7q/ZhLkIkcQF/05VuEoQ92eVqoRvoM2dSA > aQDYZAL9IiAtHrb5fq+r6vHowRlCtZP1rTHniXoUnILRHCA1xeMU1VN60XzWbUwo > 11a+C37ZeAStlnpH2TbRptwdGFY78F2H2GBDdw4s/xrU1MvYaN1x3H+b2CJhBFMm > CFhpWtGsE5WDMYVd/ujelB9FgzPcryKlUSBvNnRpzm5qntO2orS5CTfUFhQVsFU/ > Mm0GELyJ+oVLRGRTp8sJ > =8Q5b > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > -- --001a114b3c9435cb88053f0dc52c--