Mandatory Directive | Description |
worker.list | Specifies the load balancer worker. When starting up, the mod_jk module instantiates the worker that is specified in the worker.list directive. |
Connection Directives | Description |
type | Type of worker. Specify ajp13 to configure a real (member) worker. Specify lb to configure a worker as a load balancer. |
host | Host name or IP address of the OneData instance. |
port | AJP port number of the OneData instance. |
lbfactor | Integer number (load balancing factor) that determines the worker's work quota. The load balancer worker compares the lbfactor of the real workers before routing the requests to a worker. For example, if worker1 has lbfactor=5 and worker2 has the lbfactor=1, worker1 can receive five times more requests than worker2. Default value is 1. |
Load Balancer Directives | Description |
balance_workers | Comma separated list of names of the member workers of the load balancer. |
balancer_method | Method that the load balancer uses for electing the best worker. Set the method to B (Busyness) so that the balancer picks the worker with the lowest current load. This number is divided by the workers lbfactor, and the lowest value (least busy) worker is picked. |