libra/doc/worker/config.rst
David Shrewsbury 38e31a4087 [DOCS] Update worker and common docs
Updates the common configuration section to reflect the latest
change to switch to oslo config library. Also updates the worker
configuration section.

Change-Id: I9a411cbc04bfdd618d36c172a134f9b341950a46
2013-11-21 16:15:18 -05:00

1.0 KiB

Worker Configuration

These options are specific to the worker in addition to the common options </config>.

Configuration File

The [worker] section is specific to the libra_worker utility. Below is an example:

[worker]
driver = haproxy
pid = /var/run/libra/libra_worker.pid

Note that drivers supported by the worker may add additional subsections to the configuration file for their configuration needs. See the haproxy driver documentation <drivers/haproxy> for an example.

Options supported in this section:

driver <DRIVER>

Load balancer driver to use. Valid driver options are:

  • haproxy - HAProxy software load balancer. This is the default driver.

pid <FILE>

Location for the process PID file.

Command Line Options

Some options can be specified via the command line. Run with the -h or --help option for a full listing.