Update of the Synergy configuration file
This update includes all new parameters Change-Id: I7ce871c6e9e4d3f1e99559aeda0b573519164c5e Sem-Ver: feature
This commit is contained in:
parent
56d28fa54b
commit
1708739fd5
@ -2,129 +2,227 @@
|
|||||||
|
|
||||||
|
|
||||||
[Logger]
|
[Logger]
|
||||||
filename=/var/log/synergy/synergy.log
|
# set the logging file name
|
||||||
level=INFO
|
filename = /var/log/synergy/synergy.log
|
||||||
formatter="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
|
||||||
maxBytes=1048576
|
# set the logging level. Valid values are: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET.
|
||||||
backupCount=100
|
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]
|
[WSGI]
|
||||||
host=localhost
|
# set the Synergy hostname
|
||||||
port=8051
|
host = SYNERGY_HOST
|
||||||
threads=2
|
|
||||||
use_ssl=False
|
# set the WSGI port (default: 8051)
|
||||||
#ssl_ca_file=
|
port = 8051
|
||||||
#ssl_cert_file=
|
|
||||||
#ssl_key_file=
|
# set the number of threads
|
||||||
max_header_line=16384
|
threads = 2
|
||||||
retry_until_window=30
|
|
||||||
tcp_keepidle=600
|
# set the SSL
|
||||||
backlog=4096
|
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]
|
[SchedulerManager]
|
||||||
autostart=True
|
autostart = True
|
||||||
# Rate (minutes)
|
|
||||||
rate=1
|
|
||||||
|
|
||||||
# The list of projects accessing to the dynamic quota
|
# set the manager rate (minutes)
|
||||||
# projects=prj_a, prj_b
|
rate = 1
|
||||||
projects=
|
|
||||||
|
|
||||||
# The integer value expresses the share
|
# set the list of projects accessing to the shared quota
|
||||||
# shares=prj_a=70, prj_b=30
|
# projects = prj_a, prj_b
|
||||||
shares=
|
#projects =
|
||||||
|
|
||||||
# The integer value expresses the default max time to live (minutes) for VM/Container
|
# set the projects share
|
||||||
default_TTL=2880
|
# shares = prj_a=70, prj_b=30
|
||||||
|
#shares =
|
||||||
|
|
||||||
# The integer value expresses the max time to live (minutes) for VM/Container
|
# set the default max time to live (minutes) for VM/Container
|
||||||
# TTLs=prj_a=1440, prj_b=2880
|
default_TTL = 2880
|
||||||
TTLs=
|
|
||||||
|
# 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]
|
[FairShareManager]
|
||||||
autostart=True
|
autostart = True
|
||||||
# Rate (minutes)
|
|
||||||
rate=2
|
|
||||||
|
|
||||||
# Period size
|
# set the manager rate (minutes)
|
||||||
period_length=7
|
rate = 2
|
||||||
# Num of periods
|
|
||||||
periods=3
|
|
||||||
|
|
||||||
# Default share value
|
# set the period size (default: 7 days)
|
||||||
default_share=10
|
period_length = 7
|
||||||
|
|
||||||
# Weights
|
# set num of periods (default: 3)
|
||||||
decay_weight=0.5
|
periods = 3
|
||||||
vcpus_weight=50
|
|
||||||
age_weight=0
|
# set the default share value (default: 10)
|
||||||
memory_weight=50
|
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]
|
[KeystoneManager]
|
||||||
autostart=True
|
autostart = True
|
||||||
rate=5
|
|
||||||
|
|
||||||
# The Keystone url (v3 only)
|
# set the manager rate (minutes)
|
||||||
# auth_url=http://localhost:5000/v3
|
rate = 5
|
||||||
auth_url=
|
|
||||||
# The name of user with admin role
|
# set the Keystone url (v3 only)
|
||||||
username=
|
auth_url = http://CONTROLLER_HOST:5000/v3
|
||||||
# The password of user with admin role
|
|
||||||
password=
|
# set the name of user with admin role
|
||||||
# The project to request authorization on
|
#username =
|
||||||
project_name=admin
|
|
||||||
# Set the http connection timeout
|
# set the password of user with admin role
|
||||||
timeout=60
|
#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]
|
[NovaManager]
|
||||||
autostart=True
|
autostart = True
|
||||||
rate=5
|
|
||||||
|
|
||||||
# The nova configuration file: if specified the following attributes are used:
|
# set the manager rate (minutes)
|
||||||
# my_ip, conductor_topic, compute_topic, scheduler_topic, connection, rpc_backend
|
rate = 5
|
||||||
# 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
|
|
||||||
|
|
||||||
host=
|
#set the http connection timeout (default: 60)
|
||||||
#set the http connection timeout (default=60)
|
timeout = 60
|
||||||
timeout=60
|
|
||||||
|
|
||||||
# The AMQP backend type (e.g. rabbit, qpid)
|
# set the AMQP backend type (e.g. rabbit, qpid)
|
||||||
amqp_backend=rabbit
|
#amqp_backend =
|
||||||
amqp_host=
|
|
||||||
amqp_port=5672
|
# set the AMQP HA cluster host:port pairs
|
||||||
amqp_user=openstack
|
#amqp_hosts =
|
||||||
amqp_password=RABBIT_PASS
|
|
||||||
amqp_virt_host=/
|
# set the AMQP broker address where a single node is used (default: localhost)
|
||||||
# The conductor topic
|
amqp_host = localhost
|
||||||
conductor_topic=conductor
|
|
||||||
# The compute topic
|
# set the AMQP broker port where a single node is used
|
||||||
compute_topic=compute
|
amqp_port = 5672
|
||||||
# The scheduler topic
|
|
||||||
scheduler_topic=scheduler
|
# set the AMQP user
|
||||||
# The NOVA database connection
|
#amqp_user =
|
||||||
# db_connection=DIALECT+DRIVER://USER:PASSWORD@HOST/DBNAME
|
|
||||||
db_connection=
|
# 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]
|
[QueueManager]
|
||||||
autostart=True
|
autostart = True
|
||||||
rate=5
|
|
||||||
# The Synergy database connection
|
# set the manager rate (minutes)
|
||||||
# db_connection=DIALECT+DRIVER://USER:PASSWORD@HOST/DBNAME
|
rate = 60
|
||||||
db_connection=
|
|
||||||
# The connection pool size
|
# set the Synergy database connection:
|
||||||
db_pool_size=10
|
db_connection = DIALECT+DRIVER://USER:PASSWORD@DB_HOST/synergy
|
||||||
# The max overflow
|
|
||||||
db_max_overflow=5
|
# 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]
|
[QuotaManager]
|
||||||
autostart=True
|
autostart = True
|
||||||
rate=5
|
|
||||||
|
# set the manager rate (minutes)
|
||||||
|
rate = 5
|
||||||
|
Loading…
Reference in New Issue
Block a user