Mod cluster mod proxy cluster Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[mod_cluster Concepts# | * [[Mod_cluster_Configuration#httpd_Configuration_Reference|mod_cluster Configuration]] | ||
* [[mod_cluster Concepts#mod_proxy_cluster|mod proxy cluster]] | |||
= | =Reference= | ||
==CreateBalancers== | ==CreateBalancers== | ||
Line 10: | Line 11: | ||
* 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: 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]]. | ||
==UseAlias== | |||
==LBstatusRecalTime== | |||
==WaitForRemove== | |||
==ProxyPassMatch/ProxyPass== | |||
==EnableOptions== |
Latest revision as of 18:30, 19 July 2016
Internal
Reference
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.