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

CreateBalancers 1 ignored

    XMLWordPrintable

Details

    • Hide

      Add CreateBalancers 1 to the httpd configuration.

      Create a dummy vhost like:

      <VirtualHost *:80>
          ServerAdmin webmaster@dummy-host.example.com
          DocumentRoot "/usr/local/apache2/docs/dummy-host.example.com"
          ServerName dummy-host.example.com
          ServerAlias www.dummy-host.example.com
          ErrorLog "logs/dummy-host.example.com-error_log"
          CustomLog "logs/dummy-host.example.com-access_log" common
      </VirtualHost>
      

      Visit the vhost address: the index file is served.

      Let an application server join the pool.

      Visit the vhost address again: the request is proxied.

      Show
      Add CreateBalancers 1 to the httpd configuration. Create a dummy vhost like: <VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot "/usr/local/apache2/docs/dummy-host.example.com" ServerName dummy-host.example.com ServerAlias www.dummy-host.example.com ErrorLog "logs/dummy-host.example.com-error_log" CustomLog "logs/dummy-host.example.com-access_log" common </VirtualHost> Visit the vhost address: the index file is served. Let an application server join the pool. Visit the vhost address again: the request is proxied.

    Description

      The documentation mentions:

      CreateBalancers

      1 — Don’t create balancers (requires at least one ProxyPass/ProxyPassMatch to define the balancer names).

      However using this option still creates balancers in every vhost.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jclere Jean-Frederic Clere
              antoineco Antoine Cotten (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: