Update of the Synergy configuration file

This update includes all new parameters

Change-Id: I7ce871c6e9e4d3f1e99559aeda0b573519164c5e
Sem-Ver: feature
This commit is contained in:
Lisa Zangrando 2017-01-30 12:23:22 +01:00
parent 56d28fa54b
commit 1708739fd5
1 changed files with 192 additions and 94 deletions

View File

@ -2,129 +2,227 @@
[Logger]
filename=/var/log/synergy/synergy.log
level=INFO
formatter="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
maxBytes=1048576
backupCount=100
# set the logging file name
filename = /var/log/synergy/synergy.log
# set the logging level. Valid values are: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET.
level = INFO
# set the format of the logged messages
formatter = "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
# set the max file size
maxBytes = 1048576
# set the logging rotation threshold
backupCount = 100
[WSGI]
host=localhost
port=8051
threads=2
use_ssl=False
#ssl_ca_file=
#ssl_cert_file=
#ssl_key_file=
max_header_line=16384
retry_until_window=30
tcp_keepidle=600
backlog=4096
# set the Synergy hostname
host = SYNERGY_HOST
# set the WSGI port (default: 8051)
port = 8051
# set the number of threads
threads = 2
# set the SSL
use_ssl = False
#ssl_ca_file =
#ssl_cert_file =
#ssl_key_file =
max_header_line = 16384
retry_until_window = 30
tcp_keepidle = 600
backlog = 4096
[SchedulerManager]
autostart=True
# Rate (minutes)
rate=1
autostart = True
# The list of projects accessing to the dynamic quota
# projects=prj_a, prj_b
projects=
# set the manager rate (minutes)
rate = 1
# The integer value expresses the share
# shares=prj_a=70, prj_b=30
shares=
# set the list of projects accessing to the shared quota
# projects = prj_a, prj_b
#projects =
# The integer value expresses the default max time to live (minutes) for VM/Container
default_TTL=2880
# set the projects share
# shares = prj_a=70, prj_b=30
#shares =
# The integer value expresses the max time to live (minutes) for VM/Container
# TTLs=prj_a=1440, prj_b=2880
TTLs=
# set the default max time to live (minutes) for VM/Container
default_TTL = 2880
# set, for the specified projects, the max time to live (minutes) for VM/Container
# TTLs = prj_a=1440, prj_b=2880
#TTLs =
# set the max depth used by the backfilling strategy (default: 100)
# this allows Synergy to not check the whole queue when looking for VMs to start
backfill_depth = 100
# set the notification topic used by Nova for informing listeners about the state
# changes of the VMs. In case some other service (e.g. Ceilometer) is listening
# on the default Nova topic (i.e. "notifications"), please define a new topic
specific for Synergy (e.g. notification_topics = notifications,synergy_notifications)
notification_topic = notifications
[FairShareManager]
autostart=True
# Rate (minutes)
rate=2
autostart = True
# Period size
period_length=7
# Num of periods
periods=3
# set the manager rate (minutes)
rate = 2
# Default share value
default_share=10
# set the period size (default: 7 days)
period_length = 7
# Weights
decay_weight=0.5
vcpus_weight=50
age_weight=0
memory_weight=50
# set num of periods (default: 3)
periods = 3
# set the default share value (default: 10)
default_share = 10
# set the dacay weight, float value [0,1] (default: 0.5)
decay_weight = 0.5
# set the vcpus weight (default: 100)
vcpus_weight = 50
# set the age weight (default: 10)
age_weight = 10
# set the memory weight (default: 70)
memory_weight = 70
[KeystoneManager]
autostart=True
rate=5
autostart = True
# The Keystone url (v3 only)
# auth_url=http://localhost:5000/v3
auth_url=
# The name of user with admin role
username=
# The password of user with admin role
password=
# The project to request authorization on
project_name=admin
# Set the http connection timeout
timeout=60
# set the manager rate (minutes)
rate = 5
# set the Keystone url (v3 only)
auth_url = http://CONTROLLER_HOST:5000/v3
# set the name of user with admin role
#username =
# set the password of user with admin role
#password =
# set the project name to request authorization on
#project_name =
# set the project id to request authorization on
#project_id =
# set the http connection timeout (default: 60)
timeout = 60
# set the user domain name (default: default)
user_domain_name = default
# set the project domain name (default: default)
project_domain_name = default
# set the clock skew. This forces the request for token, a
# delta time before the token expiration (default: 60 sec)
clock_skew = 60
# set the PEM encoded Certificate Authority to use when verifying HTTPs connections
#ssl_ca_file =
# set the SSL client certificate (PEM encoded)
#ssl_cert_file =
[NovaManager]
autostart=True
rate=5
autostart = True
# The nova configuration file: if specified the following attributes are used:
# my_ip, conductor_topic, compute_topic, scheduler_topic, connection, rpc_backend
# in case of RABBIT backend: rabbit_host, rabbit_port, rabbit_virtual_host, rabbit_userid, rabbit_password
# in case of QPID backend: qpid_hostname, qpid_port, qpid_username, qpid_password
nova_conf=/etc/nova/nova.conf
# set the manager rate (minutes)
rate = 5
host=
#set the http connection timeout (default=60)
timeout=60
#set the http connection timeout (default: 60)
timeout = 60
# The AMQP backend type (e.g. rabbit, qpid)
amqp_backend=rabbit
amqp_host=
amqp_port=5672
amqp_user=openstack
amqp_password=RABBIT_PASS
amqp_virt_host=/
# The conductor topic
conductor_topic=conductor
# The compute topic
compute_topic=compute
# The scheduler topic
scheduler_topic=scheduler
# The NOVA database connection
# db_connection=DIALECT+DRIVER://USER:PASSWORD@HOST/DBNAME
db_connection=
# set the AMQP backend type (e.g. rabbit, qpid)
#amqp_backend =
# set the AMQP HA cluster host:port pairs
#amqp_hosts =
# set the AMQP broker address where a single node is used (default: localhost)
amqp_host = localhost
# set the AMQP broker port where a single node is used
amqp_port = 5672
# set the AMQP user
#amqp_user =
# set the AMQP user password
#amqp_password =
# set the AMQP virtual host (default: /)
amqp_virtual_host = /
# set the Nova host (default: localhost)
host = CONTROLLER_HOST
# set the Nova conductor topic (default: conductor)
conductor_topic = conductor
# set the Nova compute topic (default: compute)
compute_topic = compute
# set the Nova scheduler topic (default: scheduler)
scheduler_topic = scheduler
# set the Nova database connection
db_connection=DIALECT+DRIVER://USER:PASSWORD@DB_HOST/nova
# set the Nova CPU allocation ratio (default: 16)
cpu_allocation_ratio = 16
# set the Nova RAM allocation ratio (default: 1.5)
ram_allocation_ratio = 1.5
# set the Nova metadata_proxy_shared_secret
metadata_proxy_shared_secret =
# set the PEM encoded Certificate Authority to use when verifying HTTPs connections
#ssl_ca_file =
# set the SSL client certificate (PEM encoded)
#ssl_cert_file =
[QueueManager]
autostart=True
rate=5
# The Synergy database connection
# db_connection=DIALECT+DRIVER://USER:PASSWORD@HOST/DBNAME
db_connection=
# The connection pool size
db_pool_size=10
# The max overflow
db_max_overflow=5
autostart = True
# set the manager rate (minutes)
rate = 60
# set the Synergy database connection:
db_connection = DIALECT+DRIVER://USER:PASSWORD@DB_HOST/synergy
# set the connection pool size (default: 10)
db_pool_size = 10
# set the number of seconds after which a connection is automatically
# recycled (default: 30)
db_pool_recycle = 30
# set the max overflow (default: 5)
db_max_overflow = 5
[QuotaManager]
autostart=True
rate=5
autostart = True
# set the manager rate (minutes)
rate = 5