Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-391

mod_cluster and mod_proxy integration

    XMLWordPrintable

Details

    Description

      This Jira encapsulates all concerns regarding mod_cluster - mod_proxy integration. For instance, while basic ProxyPass settings work just fine, e.g. serving some files on /static from the Apache HTTP itself:

      ProxyPassMatch ^/static/ !
      ProxyPass / balancer://qacluster stickysession=JSESSIONID|jsessionid nofailover=on
      ProxyPassReverse / balancer://qacluster
      ProxyPreserveHost on
      

      there are more complex setups, involving BalancerMember configurations, that do not work as expected. In the following example, one wanted to have /clusterbench application managed by mod_cluster, dynamically, while at the same time, in a different VirtualHost, having /tses application handled by manually created mod_proxy balancer settings.

      Attached mod_cluster.conf, mod_proxy.conf, standalone-ha.xml(modcluster subsystem element only) and error_log.

      The aforementioned setup resulted in:

      HTTP 200 (From worker) http://10.16.88.19:8847/clusterbench/requestinfo/ OK
      HTTP 404 (From httpd) http://10.16.88.19:8847/tses/session.jsp Expected fail
      HTTP 503 (From httpd) http://10.16.88.19:2182/tses/session.jsp Unexpected fail

      Attachments

        1. standalone-ha.xml
          0.4 kB
        2. mod_proxy.conf
          0.7 kB
        3. mod_cluster.conf
          1 kB
        4. error_log
          94 kB

        Issue Links

          Activity

            People

              rhn-engineering-jclere Jean-Frederic Clere
              mbabacek1@redhat.com Michal Karm
              Michal Karm Michal Karm
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: