Mod cluster mod proxy cluster Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:
* 0: Create a balancer in all VirtualHosts defined in httpd.  
* 0: Create a balancer in all VirtualHosts defined in httpd.  
* 1: Do not create balancers. In this case one or more balancers are created only when a <tt>ProxyPass</tt> or a <tt>ProxyPassMatch</tt> directive that specifies the balancer by name (as <tt>balancer://<balancer-name>/</tt>) is encountered. If this option is used, the balancer '''must''' be configured in the <tt>ProxyPass</tt> directive, because the default is empty sticky session and nofailover=Off, and the values received via the MCMP CONFIG messages are ignored.
* 1: Do not create balancers. In this case one or more balancers are created only when a <tt>ProxyPass</tt> or a <tt>ProxyPassMatch</tt> directive that specifies the balancer by name (as <tt>balancer://<balancer-name>/</tt>) is encountered. If this option is used, the balancer '''must''' be configured in the <tt>ProxyPass</tt> directive, because the default is empty sticky session and nofailover=Off, and the values received via the MCMP CONFIG messages are ignored.
* 2 (the default configuration): Create only <font color=red>the main server.</font>.
* 2 (the default configuration): Create only <font color=red>the main server.</font>


For more details about balancers go to [[mod_cluster Concepts#Balancer|mod_cluster balancer]].
For more details about balancers go to [[mod_cluster Concepts#Balancer|mod_cluster balancer]].

Revision as of 01:24, 9 January 2016

Internal

Configuration Options

CreateBalancers

This configuration option defines how the mod_cluster balancers are created in the httpd virtual hosts. Possible values are:

  • 0: Create a balancer in all VirtualHosts defined in httpd.
  • 1: Do not create balancers. In this case one or more balancers are created only when a ProxyPass or a ProxyPassMatch directive that specifies the balancer by name (as balancer://<balancer-name>/) is encountered. If this option is used, the balancer must be configured in the ProxyPass directive, because the default is empty sticky session and nofailover=Off, and the values received via the MCMP CONFIG messages are ignored.
  • 2 (the default configuration): Create only the main server.

For more details about balancers go to mod_cluster balancer.