Managing Master Data with webMethods OneData : Administering webMethods OneData : Clustering OneData : Installation and Set up of OneData Clustering : Configuring 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
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.
For more information about the Tomcat workers, see http://tomcat.apache.org/connectors-doc/reference/workers.html.
Copyright © 2011-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback