webMethods, OneData, and Terracotta  10.2 | Managing Master Data with webMethods OneData | Administering webMethods OneData | Clustering OneData | Installing and Setting Up OneData Clustering | Configuring Tomcat Workers for Load Balancing | Worker Properties File Reference
 
Worker Properties File Reference
The format of a worker configuration directive is: worker.worker_name.directive=value
The first word is always worker and worker_name is the worker name that you choose.
Directives Used in worker.properties File
Mandatory Directive
Description
worker.list
Specify 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
Specify the type of worker.
*Specify ajp13 to configure a real (member) worker.
*Specify lb to configure a worker as a load balancer.
host
Specify the host name or IP address of the OneData instance.
port
Specify the AJP port number of the OneData instance.
lbfactor
Specify the load balancing factor (integer) 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
Specify a comma-separated list of names of the member workers of the load balancer.
balancer_method
Specify the 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.
For more information about the Tomcat workers, see http://tomcat.apache.org/connectors-doc/reference/workers.html.

Copyright © 2011-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release