Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / conf / 20-snf-cyclades-app-backend.conf @ 727fb2f9

History | View | Annotate | Download (1.6 kB)

1
## -*- coding: utf-8 -*-
2
##
3
## Ganeti backend configuration
4
####################################
5
#
6
## This prefix gets used when determining the instance names
7
## of Synnefo VMs at the Ganeti backend.
8
## The dash must always appear in the name!
9
#BACKEND_PREFIX_ID = "snf-"
10
#
11
## The following dictionary defines deployment-specific
12
## arguments to the RAPI CreateInstance call.
13
## At a minimum it should contain the
14
## 'os' and 'hvparams' keys.
15
##
16
## More specifically:
17
## a) os:
18
##    The OS provider to use (customized Ganeti Instance Image)
19
## b) hvparams:
20
##    Hypervisor-specific parameters (serial_console = False, see #785),
21
##    for each hypervisor(currently 'kvm'. 'xen-pvm' and 'xen-hvm').
22
## c) If using the DRBD disk_template, you may want to include
23
##    wait_for_sync = False (see #835).
24
##
25
#GANETI_CREATEINSTANCE_KWARGS = {
26
#    'os': 'snf-image+default',
27
#    'hvparams': {'kvm': {'serial_console': False},
28
#                 'xen-pvm: {},
29
#                 'xen-hvm: {}}
30
#    'wait_for_sync': False}
31
#
32
## If True, qemu-kvm will hotplug a NIC when connecting a vm to
33
## a network. This requires qemu-kvm=1.0.
34
#GANETI_USE_HOTPLUG = False
35
#
36
## If True, Ganeti will try to allocate new instances only on nodes that are
37
## not already locked. This might result in slightly unbalanced clusters.
38
#GANETI_USE_OPPORTUNISTIC_LOCKING = True
39
#
40
## This module implements the strategy for allocating a vm to a backend
41
#BACKEND_ALLOCATOR_MODULE = "synnefo.logic.allocators.default_allocator"
42
## Refresh backend statistics timeout, in minutes, used in backend allocation
43
#BACKEND_REFRESH_MIN = 15