Rule parameters
Load Balancer has a rule plugin that allows it to manage the request
based in the address (and if you use HTTP protocol, based in the uri of
the request). To configure this feature, you have a directive called
rule_plugin. This directive has the following parameters:
Option |
Description |
filename |
this is the path to the plugin (module), that does the rule
function inside the Load Balancer. Also you can specify the plugin?s
filename only (without path) if you have the module installed in the
same directory that Load Balancer.
|
name |
This is the symbolic name of the rule plugin, used to manage the
specific configuration directives that follows this directive. Its a good
idea that this name makes reference to the plugin (e.g. if the plugin is
called rule_generic.so, the name should be rule_generic, for clarity).
|
Sample
<rule_plugin
filename="ruleplugin_generic.so"
name="rules_generic"
/>
You can found plugin specific details & configuration directives
for the generic & http rule plugin here.