Line 1... |
Line 1... |
1 |
---
|
1 |
---
|
2 |
# Location of the domain configuration files
|
2 |
# location of the configuration files for the domains
|
3 |
'conf dir': /media/shared/havirt/conf
|
3 |
'conf dir': /media/shared/havirt/conf
|
4 |
# location of the status file and other temp files
|
4 |
# location of the variable information (status file, other)
|
5 |
'db dir': /media/shared/havirt/var
|
5 |
'db dir': /media/shared/havirt/var
|
6 |
# the flags variables have defaults which can be
|
6 |
# file which remembers when we last scanned the nodes
|
- |
|
7 |
'last scan filename': /media/shared/havirt/var/lastscan
|
- |
|
8 |
# number of seconds since last scan before we'll do another
|
- |
|
9 |
'min scan time': 300
|
- |
|
10 |
# Amount of reserved memory required on each node. Will not start or migrate a
|
7 |
# modified here. Be very careful changing these defaults
|
11 |
# domain if it will reduce the node below this value
|
- |
|
12 |
'node reserved memory': 8388608
|
- |
|
13 |
# same as reserved memory, but number of threads (NOT cores) we will reserve
|
- |
|
14 |
# for the node itself. This may be a negative number, in which chase we will
|
- |
|
15 |
# be allowed to go over by this amount. If 0, will not be checked
|
- |
|
16 |
'node reserved vcpu': 0
|
- |
|
17 |
# if set to true (1), will rescan nodes before doing anything dangerous,
|
- |
|
18 |
# like starting a domain. If you start a domain on more than one node
|
- |
|
19 |
# using shared block devices, you can corrupt the block device. This attempts
|
- |
|
20 |
# to protect that scenario, at the expense of additional network traffic
|
- |
|
21 |
# and processing time.
|
- |
|
22 |
paranoid: 1
|
- |
|
23 |
# actual install directory
|
- |
|
24 |
'script dir': /media/shared/havirt
|
- |
|
25 |
# name of script (forget why I put that in)
|
- |
|
26 |
'script name': havirt
|
- |
|
27 |
# the file which holds current information on all nodes, domains, which node
|
- |
|
28 |
#domains are on, etc...
|
- |
|
29 |
'status db filename': /media/shared/havirt/var/status.yaml
|
- |
|
30 |
# 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
|
- |
|
32 |
# 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
|
- |
|
34 |
# --dryrun (or -n) flag will allow you to override that.
|
8 |
flags:
|
35 |
flags:
|
9 |
# can be an integer with values up to 3
|
- |
|
10 |
debug: 0
|
36 |
debug: 0
|
11 |
# do not actually do anything if set to 1
|
- |
|
12 |
dryrun: 1
|
37 |
dryrun: 1
|
13 |
# can also be tab separated values (tsv)
|
38 |
force: 0
|
14 |
format: screen
|
39 |
format: screen
|
15 |
# if 1, will display help screen. Don't change
|
- |
|
16 |
help: 0
|
- |
|
17 |
# decreases output
|
- |
|
18 |
quiet: 0
|
40 |
quiet: 0
|
19 |
# target for some commands (node)
|
- |
|
20 |
target: ''
|
41 |
target: ''
|
21 |
# display version if set. Don't modify here
|
- |
|
22 |
version: 0
|
42 |
verbose: 1
|
23 |
# run commands instead of displaying them.
|
- |
|
24 |
# Change this to 1 if you want this as the default
|
- |
|
25 |
# behaviour. No way to turn it off if set here
|
- |
|
26 |
yes: 0
|
- |
|
27 |
# name of file which stores the last scan time
|
- |
|
28 |
'last scan filename': /media/shared/havirt/var/lastscan
|
- |
|
29 |
# number of seconds to refuse to scan again (--yes overrides)
|
- |
|
30 |
'minum scan time': 300
|
- |
|
31 |
# amount of memory we will not allocate. Dedicated to node
|
- |
|
32 |
'node reserved memory': 8388608
|
- |
|
33 |
# Number of threads we will not allocate. 0 turns this check
|
- |
|
34 |
# off, and negative numbers are allowed
|
- |
|
35 |
'node reserved vcpu': 1
|
- |
|
36 |
# location of this script (and the configuration file)
|
- |
|
37 |
'script dir': /media/shared/havirt
|
- |
|
38 |
# name of this script
|
- |
|
39 |
'script name': havirt
|
- |
|
40 |
# name of the file which stores the cluster status
|
- |
|
41 |
'status db filename': /media/shared/havirt/var/status.yaml
|
- |
|