Line 1... |
Line 1... |
1 |
---
|
1 |
---
|
- |
|
2 |
# NOTE: paths may be relative, but they are relative to the directory the
|
- |
|
3 |
# user is in when the script is executed.
|
2 |
# location of the configuration files for the domains
|
4 |
# location of the configuration files for the domains
|
3 |
'conf dir': /media/shared/havirt/conf
|
5 |
'conf dir': /media/shared/havirt/conf
|
4 |
# location of the variable information (status file, other)
|
6 |
# location of the variable information (status file, other)
|
5 |
'db dir': /media/shared/havirt/var
|
7 |
'db dir': /media/shared/havirt/var
|
6 |
# file which remembers when we last scanned the nodes
|
8 |
# file which remembers when we last scanned the nodes
|
Line 25... |
Line 27... |
25 |
# name of script (forget why I put that in)
|
27 |
# name of script (forget why I put that in)
|
26 |
'script name': havirt
|
28 |
'script name': havirt
|
27 |
# the file which holds current information on all nodes, domains, which node
|
29 |
# the file which holds current information on all nodes, domains, which node
|
28 |
#domains are on, etc...
|
30 |
#domains are on, etc...
|
29 |
'status db filename': /media/shared/havirt/var/status.yaml
|
31 |
'status db filename': /media/shared/havirt/var/status.yaml
|
- |
|
32 |
# following used for cluster balance command. Determines when a cluster is considered
|
- |
|
33 |
# balanced variance < balance_max_variance
|
- |
|
34 |
'balance_max_variance': 1.1
|
- |
|
35 |
# This keeps cluster balance from going on an infinite loop by limiting the number of
|
- |
|
36 |
# moves which can be made to complete the analysis
|
- |
|
37 |
'balance_max_iterations': 10
|
30 |
# following are flags which can be modified using the command line. Setting
|
38 |
# following are flags which can be modified using the command line. Setting
|
31 |
# a value here sets the default for the entire system. For example, setting
|
39 |
# a value here sets the default for the entire system. For example, setting
|
32 |
# dryrun to 0 will execute commands instead of printing them. Can be overridden
|
40 |
# dryrun to 0 will execute commands instead of printing them. Can be overridden
|
33 |
# from the cli so, for example, setting dryrun to 0 here, then passing the
|
41 |
# from the cli so, for example, setting dryrun to 0 here, then passing the
|
34 |
# --dryrun (or -n) flag will allow you to override that.
|
42 |
# --dryrun (or -n) flag will allow you to override that.
|
Line 38... |
Line 46... |
38 |
force: 0
|
46 |
force: 0
|
39 |
format: screen
|
47 |
format: screen
|
40 |
quiet: 0
|
48 |
quiet: 0
|
41 |
target: ''
|
49 |
target: ''
|
42 |
verbose: 1
|
50 |
verbose: 1
|
- |
|
51 |
testing: 1
|
- |
|
52 |
|