Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / conf / 20-snf-cyclades-app-backend.conf @ a3e25d12

History | View | Annotate | Download (2.3 kB)

1 6d20b7f3 Vangelis Koukis
## -*- coding: utf-8 -*-
2 6d20b7f3 Vangelis Koukis
##
3 6d20b7f3 Vangelis Koukis
## Ganeti backend configuration
4 6d20b7f3 Vangelis Koukis
####################################
5 6d20b7f3 Vangelis Koukis
#
6 6d20b7f3 Vangelis Koukis
## This prefix gets used when determining the instance names
7 6d20b7f3 Vangelis Koukis
## of Synnefo VMs at the Ganeti backend.
8 6d20b7f3 Vangelis Koukis
## The dash must always appear in the name!
9 6d20b7f3 Vangelis Koukis
#BACKEND_PREFIX_ID = "snf-"
10 6d20b7f3 Vangelis Koukis
#
11 6d20b7f3 Vangelis Koukis
## The following dictionary defines deployment-specific
12 6d20b7f3 Vangelis Koukis
## arguments to the RAPI CreateInstance call.
13 6d20b7f3 Vangelis Koukis
## At a minimum it should contain the
14 bd87213f Christos Stavrakakis
## 'os' and 'hvparams' keys.
15 6d20b7f3 Vangelis Koukis
##
16 6d20b7f3 Vangelis Koukis
## More specifically:
17 bd87213f Christos Stavrakakis
## a) os:
18 6d20b7f3 Vangelis Koukis
##    The OS provider to use (customized Ganeti Instance Image)
19 bd87213f Christos Stavrakakis
## b) hvparams:
20 bd87213f Christos Stavrakakis
##    Hypervisor-specific parameters (serial_console = False, see #785),
21 bd87213f Christos Stavrakakis
##    for each hypervisor(currently 'kvm'. 'xen-pvm' and 'xen-hvm').
22 bd87213f Christos Stavrakakis
## c) If using the DRBD disk_template, you may want to include
23 6d20b7f3 Vangelis Koukis
##    wait_for_sync = False (see #835).
24 6d20b7f3 Vangelis Koukis
##
25 6d20b7f3 Vangelis Koukis
#GANETI_CREATEINSTANCE_KWARGS = {
26 6d20b7f3 Vangelis Koukis
#    'os': 'snf-image+default',
27 bd87213f Christos Stavrakakis
#    'hvparams': {'kvm': {'serial_console': False},
28 944d2ee0 Dionysis Grigoropoulos
#                 'xen-pvm': {},
29 944d2ee0 Dionysis Grigoropoulos
#                 'xen-hvm': {}},
30 6d20b7f3 Vangelis Koukis
#    'wait_for_sync': False}
31 6d20b7f3 Vangelis Koukis
#
32 6d20b7f3 Vangelis Koukis
## If True, qemu-kvm will hotplug a NIC when connecting a vm to
33 6d20b7f3 Vangelis Koukis
## a network. This requires qemu-kvm=1.0.
34 6d20b7f3 Vangelis Koukis
#GANETI_USE_HOTPLUG = False
35 6d20b7f3 Vangelis Koukis
#
36 727fb2f9 Christos Stavrakakis
## If True, Ganeti will try to allocate new instances only on nodes that are
37 727fb2f9 Christos Stavrakakis
## not already locked. This might result in slightly unbalanced clusters.
38 727fb2f9 Christos Stavrakakis
#GANETI_USE_OPPORTUNISTIC_LOCKING = True
39 727fb2f9 Christos Stavrakakis
#
40 6d20b7f3 Vangelis Koukis
## This module implements the strategy for allocating a vm to a backend
41 6d20b7f3 Vangelis Koukis
#BACKEND_ALLOCATOR_MODULE = "synnefo.logic.allocators.default_allocator"
42 6d20b7f3 Vangelis Koukis
## Refresh backend statistics timeout, in minutes, used in backend allocation
43 6d20b7f3 Vangelis Koukis
#BACKEND_REFRESH_MIN = 15
44 129b94d5 Christos Stavrakakis
#
45 129b94d5 Christos Stavrakakis
## Maximum number of NICs per Ganeti instance. This value must be less or equal
46 129b94d5 Christos Stavrakakis
## than 'max:nic-count' option of Ganeti's ipolicy.
47 129b94d5 Christos Stavrakakis
#GANETI_MAX_NICS_PER_INSTANCE = 8
48 00429c48 Christos Stavrakakis
#
49 00429c48 Christos Stavrakakis
## The following setting defines a dictionary with key-value parameters to be
50 00429c48 Christos Stavrakakis
## passed to each Ganeti ExtStorage provider. The setting defines a mapping
51 00429c48 Christos Stavrakakis
## from the provider name, e.g. 'archipelago' to a dictionary with the actual
52 00429c48 Christos Stavrakakis
## arbitrary parameters.
53 00429c48 Christos Stavrakakis
#GANETI_DISK_PROVIDER_KWARGS = {}
54 62232bba Christos Stavrakakis
#
55 62232bba Christos Stavrakakis
## List of ExtStorage providers that support cloning. For these providers, the
56 62232bba Christos Stavrakakis
## hashmap of the image is passed as an ExtStorage disk parameter('origin') and
57 62232bba Christos Stavrakakis
## ,since disk will be already filled with data, 'snf-image' performs only
58 62232bba Christos Stavrakakis
## customization (no data copying).
59 62232bba Christos Stavrakakis
#GANETI_CLONE_PROVIDERS = ['vlmc', 'archipelago']