You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/11/05 20:45:31 UTC

[Bug 54102] New: new feature: automatic route detection

https://issues.apache.org/bugzilla/show_bug.cgi?id=54102

          Priority: P2
            Bug ID: 54102
          Assignee: bugs@httpd.apache.org
           Summary: new feature: automatic route detection
          Severity: enhancement
    Classification: Unclassified
                OS: Linux
          Reporter: inu@inusasha.de
          Hardware: PC
            Status: NEW
           Version: 2.5-HEAD
         Component: mod_proxy_balancer
           Product: Apache httpd-2

Created attachment 29551
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29551&action=edit
autoroute patch

The same application server (like Weblogic) generate at every start a new
random route-id. So no static route-id can used.
This patch adds the ability to read the route-id from a http-response field,
and update the worker.

Example (weblogic):
  RequestHeader set X-WebLogic-Force-JVMID true
  ProxySet StickySession=JSESSIONID
  ProxySet AutoRoute=X-WebLogic-JVMID

@importer:
I have add same error-message, but i don't known, how to select the right
number for it. So i have used the "99999" at both position. Please change it.

InuSasha

PS: in combination with patch in #53893, it is a minimal support of
non-replication weblogic custer.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 54102] new feature: automatic route detection

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54102

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 54102] new feature: automatic route detection

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54102

--- Comment #1 from Zisis Lianas <zl...@consol.de> ---
As workaround (or solution) you can use the following configuration:

  Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/"
  <Proxy balancer://appcluster>
    BalancerMember http://backend1.foo:7001 route=0
    BalancerMember http://backend2.foo:7001 route=1
    ProxySet lbmethod=bybusyness nofailover=off stickysession=ROUTEID
  </Proxy>


This configuration keeps the BALANCER_WORKER_ROUTE in a cookie called ROUTEID.
So the stickyness is based on ROUTEID, an not JSESSIONID anymore. This works
for session stickyness as well as session-failover scenarios.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 54102] new feature: automatic route detection

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54102

--- Comment #2 from inu@inusasha.de ---
Thanks Zisis,

actual we use the apache 2.2 with the apache-weblogic module.
But this module has same disadvantages, and does not support the Apache 2.4.
Additional we have more then one backend-cluster, so many additional cookies
were needed.

So i wait for upload (and backport to 2.4).

Sascha

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 54102] new feature: automatic route detection

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54102

inu@inusasha.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29551|0                           |1
        is obsolete|                            |

--- Comment #3 from inu@inusasha.de ---
Created attachment 29719
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29719&action=edit
second version of the autoroute patch

Hi,

i have work on an second version of this patch.
It supports now reading the route from set-cookie fields, environment variables
or from the notes.

Sascha

PS: now i have found the log manual for developers ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 54102] new feature: automatic route detection

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54102

Zisis Lianas <zl...@consol.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zl@consol.de

-- 
You are receiving this mail because:
You are the assignee for the bug.

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