libra/etc/sample_libra.cfg
Andrew Hutchings d190f1bad1 Pool manager now posts nodes to API server
Change-Id: I6d53a87e53a4272c26f77f5b28bc83651cb075cf
2012-10-30 20:12:06 +00:00

53 lines
1.6 KiB
INI

########################################################################
# A sample configuration file read by the Libra utilities that use the
# Options class from the libra/common/options.py module.
#
# Options are expressed in one of two forms:
# key = value
# key : value
#
# Boolean options should be given either a 'true' or 'false' value.
# Some options can contain multiple values (see 'server' option in the
# [worker] section).
#
# Options given on the command line will override any options set in
# the configuration file.
########################################################################
# The [global] section contains options common to the various Libra
# utilities (worker, mgm, etc). This section is read before any other
# section, so values may be overridden by the other sections.
[global]
verbose = true
# The [worker] section is specific to the libra_worker utility.
[worker]
user = haproxy
group = haproxy
driver = haproxy
reconnect_sleep = 60
server = 10.0.0.1:8080 10.0.0.2:8080
pid = /var/run/libra/libra_worker.pid
logfile = /var/log/libra/libra_worker.log
# The [mgm] section is specific to the libra_mgm utility.
[mgm]
pid = /var/run/libra/libra_mgm.pid
logfile = /var/log/libra/libra_mgm.log
nova_auth_url = https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/
nova_user = username
nova_pass = password
nova_tenant = tenant
nova_region = region
nova_keyname = default
nova_secgroup = default
haproxy_image = 12345
api_servers = 10.0.0.1:8889 10.0.0.2:8889
nodes = 10
check_interval = 5
# 100 - xsmall, 101 - small, 102 - medium
image_size = 102