--- # NOTE: paths may be relative, but they are relative to the directory the # user is in when the script is executed. # location of the configuration files for the domains 'conf dir': /media/shared/havirt/conf # location of the variable information (status file, other) 'db dir': /media/shared/havirt/var # file which remembers when we last scanned the nodes 'last scan filename': /media/shared/havirt/var/lastscan # number of seconds since last scan before we'll do another 'min scan time': 300 # Amount of reserved memory required on each node. Will not start or migrate a # domain if it will reduce the node below this value 'node reserved memory': 8388608 # same as reserved memory, but number of threads (NOT cores) we will reserve # for the node itself. This may be a negative number, in which chase we will # be allowed to go over by this amount. If 0, will not be checked 'node reserved vcpu': 0 # if set to true (1), will rescan nodes before doing anything dangerous, # like starting a domain. If you start a domain on more than one node # using shared block devices, you can corrupt the block device. This attempts # to protect that scenario, at the expense of additional network traffic # and processing time. paranoid: 1 # actual install directory 'script dir': /media/shared/havirt # name of script (forget why I put that in) 'script name': havirt # the file which holds current information on all nodes, domains, which node #domains are on, etc... 'status db filename': /media/shared/havirt/var/status.yaml # following used for cluster balance command. Determines when a cluster is considered # balanced variance < balance_max_variance 'balance_max_variance': 1.1 # This keeps cluster balance from going on an infinite loop by limiting the number of # moves which can be made to complete the analysis 'balance_max_iterations': 10 # following are flags which can be modified using the command line. Setting # a value here sets the default for the entire system. For example, setting # dryrun to 0 will execute commands instead of printing them. Can be overridden # from the cli so, for example, setting dryrun to 0 here, then passing the # --dryrun (or -n) flag will allow you to override that. flags: debug: 0 dryrun: 1 force: 0 format: screen quiet: 0 target: '' verbose: 1 testing: 1