Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 52149 invoked from network); 14 May 2008 15:13:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 May 2008 15:13:16 -0000 Received: (qmail 22346 invoked by uid 500); 14 May 2008 15:13:06 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 22333 invoked by uid 500); 14 May 2008 15:13:06 -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 22322 invoked by uid 99); 14 May 2008 15:13:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2008 08:13:06 -0700 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ktsour@gmail.com designates 209.85.132.245 as permitted sender) Received: from [209.85.132.245] (HELO an-out-0708.google.com) (209.85.132.245) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2008 15:12:20 +0000 Received: by an-out-0708.google.com with SMTP id b2so764930ana.102 for ; Wed, 14 May 2008 08:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=2M8Vy0FDMxYDbU6Zgh0OsHDUkVb3oFnsfMkJ8BiF9/Q=; b=K2MjesxkAZ1HPaLm6g/2aZnMyraRu1iPb05iwcINbEoDqfLVbi1jy3P7rmUChf9bd79Xixwtupq2HEO7hAbWJKldSK5jEg6beN/z+cHpBnh0DtjlmPLijTQJJu8ZrrmT4Fs5/lFyrTsWEpilwaQvYi8oGqm3mgrYr5NtNMF/iZg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=dAlEDlwey6LQQ5NDXr13Rszogw4DdN9qMoOc1YdA+t4qRbGbsLhzbrwM2MRu5HETjGpE1DTZF6Ba/9cYkSv/ZiuLOX3uQYC33dwh7qRijMwXy3tO4mg47fW0XgqZKHdQOotR41umpwDRmyto8AaTg350c59A6NGsZ30NeNN3Z9g= Received: by 10.100.33.11 with SMTP id g11mr1378113ang.51.1210777955428; Wed, 14 May 2008 08:12:35 -0700 (PDT) Received: by 10.100.106.19 with HTTP; Wed, 14 May 2008 08:12:35 -0700 (PDT) Message-ID: <6c1422530805140812k3372c2ne3d3c6992b0fb600@mail.gmail.com> Date: Wed, 14 May 2008 18:12:35 +0300 From: "Kyriakos Tsourapas" To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2198_4849831.1210777955405" X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] nofailover does not work ------=_Part_2198_4849831.1210777955405 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, people, I have used the following configuration with Apache 2.2 : --------------------------- ProxyRequests Off ProxyPass /balancer ! ProxyPass / balancer://cluster/ stickysession=JSESSIONID nofailover=On ProxyPassReverse / balancer://cluster/ Order Deny,Allow Allow from all BalancerMember http://192.168.1.141:8081 route=tomcat1 BalancerMember http://192.168.1.142:8081 route=tomcat2 SetHandler balancer-manager Order Deny,Allow Allow from all ---------------------------- The problem is that when I disable one of the servers, Apache does not break the session and continues sending requests to the disabled server. The only way to continue is to open a new browser, so that there is no session. Then Apache redirects new requests to the live node only. So, the problem is that, even if I have used the nofailover=On, Apache does not break the session of disabled nodes. Any ideas ? ------=_Part_2198_4849831.1210777955405 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hello, people,
 
I have used the following configuration with Apache 2.2 :
 
---------------------------
ProxyRequests Off

ProxyPass /balancer !
ProxyPass / balancer://cluster/ stickysession=JSESSIONID nofailover=On
ProxyPassReverse / balancer://cluster/

<Proxy balancer://cluster>
  Order Deny,Allow
  Allow from all

  BalancerMember http://192.168.1.141:8081 route=tomcat1
  BalancerMember http://192.168.1.142:8081 route=tomcat2
</Proxy>

<Location /balancer>
  SetHandler balancer-manager

  Order Deny,Allow
  Allow from all
</Location>
----------------------------

The problem is that when I disable one of the servers, Apache does not break the session and continues sending requests to the disabled server.

The only way to continue is to open a new browser, so that there is no session. Then Apache redirects new requests to the live node only.

So, the problem is that, even if I have used the nofailover=On, Apache does not break the session of disabled nodes.

 

Any ideas ?

 

------=_Part_2198_4849831.1210777955405--