-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathload_balancer_cpucapaware.cfg
More file actions
62 lines (58 loc) · 2.24 KB
/
load_balancer_cpucapaware.cfg
File metadata and controls
62 lines (58 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Section to configure information used to access the Monasca.
[monitoring]
# Username that will be used to authenticate
username=<@username>
# Password that will be used to authenticate
password=<@password>
# The project name that will be used to authenticate
project_name=<@project_name>
# The authentication url that the monasca use.
auth_url=<@auth_url>
# Monasca api version
monasca_api_version=v2_0
# Section to configure all heuristic information.
[heuristic]
# The filename for the module that is located in /loadbalancer/service/heuristic/
# without .py extension
module=<module_name>
# The class name that is inside the given module, this class should implement BasicHeuristic
class=<class_name>
#Number of seconds before execute the heuristic again
period=<value>
# A float value that represents the ratio of number of CPUS in the hosts. (overcommit factor)
cpu_ratio=0.5
# An integer that represent the number of rounds that an instance need to wait before be migrated again
# Each round represents an execution of the loadbalancer
wait_rounds= 1
# All information about the infrastructure that the Load Balance will have access
[infrastructure]
# The user that have access to each host
user=<username>
#List of full hostnames of servers that the loadbalancer will manage (separated by comma).
#e.g compute1.mylab.edu.br
hosts=<host>,<host2>
#The key used to access the hosts
key=<key_path>
#The type of IaaS provider on your infrastructure e.g OpenStack, OpenNebula
provider=OpenStack
# Section to configure OpenStack credentials used for Keystone and Nova
[openstack]
username=<@username>
password=<@password>
user_domain_name=<@user_domain_name>
project_name=<@project_name>
project_domain_name=<@project_domain_name>
auth_url=<@auth_url>
# Section to configure Optimizer services
[optimizer]
# The filename for the module that is located in /loadbalancer/service/heuristic/
# without .py extension
module=<optimizer_module_name>
# The class name that is inside the given module, this class should implement BaseOptimizer
class=<optimizer_class_name>
# The url to make the request to the optimizer service
request_url=<http://url/...>
# The type of the request: GET, POST, etc...
request_type=<type>
# Parameters to be used with the request url
request_params=<params>