synergy-scheduler-manager/config/synergy_scheduler.conf

215 lines
4.5 KiB
Plaintext

[DEFAULT]
[SchedulerManager]
autostart = True
# set the manager rate (minutes)
rate = 1
# 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
[FairShareManager]
autostart = True
# set the manager rate (minutes)
rate = 2
# set the period size (default: 7 days)
period_length = 7
# 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
# 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 =
# set the AMQP server url (e.g. rabbit://RABBIT_USER:RABBIT_PASS@RABBIT_HOST_IP)
#amqp_url =
# set the AMQP exchange (default: keystone)
amqp_exchange = keystone
# set the AMQP notification topic (default: keystone_notification)
amqp_topic = keystone_notification
[NovaManager]
autostart = True
# set the manager rate (minutes)
rate = 5
#set the http connection timeout (default: 60)
timeout = 60
# the amqp transport url
# amqp_url =
# 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 Synergy topic as defined in nova-api.conf (default: synergy)
synergy_topic = synergy
# 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 notification topic (default: nova_notification)
notification_topic = nova_notification
# 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 = METADATA_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
# 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
# set the manager rate (minutes)
rate = 5
[ProjectManager]
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
# set the default max time to live (minutes) for VM/Container
default_TTL = 2880
# set the default share value (default: 10)
default_share = 10