Mod cluster mod proxy cluster Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
* 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: Create only <font color=red>the main server.</font>. '''This is the default configuration'''.
* 2: Create only <font color=red>the main server.</font>. '''This is the default configuration'''.
For more details about balancers go to [[mod_cluster Concepts#Balancer|mod_cluster balancer]].

Revision as of 01:12, 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: Create only the main server.. This is the default configuration.

For more details about balancers go to mod_cluster balancer.