Subversion Repositories havirt

Rev

Rev 26 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 rodolico 1
---
42 rodolico 2
# NOTE: paths may be relative, but they are relative to the directory the
3
# user is in when the script is executed.
26 rodolico 4
# location of the configuration files for the domains
25 rodolico 5
'conf dir': /media/shared/havirt/conf
26 rodolico 6
# location of the variable information (status file, other)
25 rodolico 7
'db dir': /media/shared/havirt/var
26 rodolico 8
# file which remembers when we last scanned the nodes
9
'last scan filename': /media/shared/havirt/var/lastscan
10
# number of seconds since last scan before we'll do another
11
'min scan time': 300
12
# Amount of reserved memory required on each node. Will not start or migrate a
13
# domain if it will reduce the node below this value
14
'node reserved memory': 8388608
15
# same as reserved memory, but number of threads (NOT cores) we will reserve
16
# for the node itself. This may be a negative number, in which chase we will
17
# be allowed to go over by this amount. If 0, will not be checked
18
'node reserved vcpu': 0
19
# if set to true (1), will rescan nodes before doing anything dangerous,
20
# like starting a domain. If you start a domain on more than one node
21
# using shared block devices, you can corrupt the block device. This attempts
22
# to protect that scenario, at the expense of additional network traffic
23
# and processing time.
24
paranoid: 1
25
# actual install directory
26
'script dir': /media/shared/havirt
27
# name of script (forget why I put that in)
28
'script name': havirt
29
# the file which holds current information on all nodes, domains, which node
30
#domains are on, etc...
31
'status db filename': /media/shared/havirt/var/status.yaml
42 rodolico 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
26 rodolico 38
# following are flags which can be modified using the command line. Setting
39
# a value here sets the default for the entire system. For example, setting
40
# dryrun to 0 will execute commands instead of printing them. Can be overridden
41
# from the cli so, for example, setting dryrun to 0 here, then passing the 
42
# --dryrun (or -n) flag will allow you to override that.
25 rodolico 43
flags:
44
  debug: 0
45
  dryrun: 1
26 rodolico 46
  force: 0
25 rodolico 47
  format: screen
48
  quiet: 0
49
  target: ''
26 rodolico 50
  verbose: 1
42 rodolico 51
  testing: 1
52