20-snf-cyclades-app-backend.conf 2.01 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
## -*- coding: utf-8 -*-
##
## Ganeti backend configuration
####################################
#
## This prefix gets used when determining the instance names
## of Synnefo VMs at the Ganeti backend.
## The dash must always appear in the name!
#BACKEND_PREFIX_ID = "snf-"
#
## The following dictionary defines deployment-specific
## arguments to the RAPI CreateInstance call.
## 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 20 21 22
## b) hvparams:
##    Hypervisor-specific parameters (serial_console = False, see #785),
##    for each hypervisor(currently 'kvm'. 'xen-pvm' and 'xen-hvm').
## c) If using the DRBD disk_template, you may want to include
23 24 25 26
##    wait_for_sync = False (see #835).
##
#GANETI_CREATEINSTANCE_KWARGS = {
#    'os': 'snf-image+default',
27
#    'hvparams': {'kvm': {'serial_console': False},
28 29
#                 'xen-pvm': {},
#                 'xen-hvm': {}},
30 31 32 33 34 35
#    'wait_for_sync': False}
#
## If True, qemu-kvm will hotplug a NIC when connecting a vm to
## a network. This requires qemu-kvm=1.0.
#GANETI_USE_HOTPLUG = False
#
36 37 38 39
## If True, Ganeti will try to allocate new instances only on nodes that are
## not already locked. This might result in slightly unbalanced clusters.
#GANETI_USE_OPPORTUNISTIC_LOCKING = True
#
40 41 42 43
## This module implements the strategy for allocating a vm to a backend
#BACKEND_ALLOCATOR_MODULE = "synnefo.logic.allocators.default_allocator"
## Refresh backend statistics timeout, in minutes, used in backend allocation
#BACKEND_REFRESH_MIN = 15
44 45 46 47
#
## Maximum number of NICs per Ganeti instance. This value must be less or equal
## than 'max:nic-count' option of Ganeti's ipolicy.
#GANETI_MAX_NICS_PER_INSTANCE = 8
48 49 50 51 52 53
#
## The following setting defines a dictionary with key-value parameters to be
## passed to each Ganeti ExtStorage provider. The setting defines a mapping
## from the provider name, e.g. 'archipelago' to a dictionary with the actual
## arbitrary parameters.
#GANETI_DISK_PROVIDER_KWARGS = {}