Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / conf / 20-snf-cyclades-app-backend.conf @ 9835a70d

History | View | Annotate | Download (1.4 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 6d20b7f3 Vangelis Koukis
## This module implements the strategy for allocating a vm to a backend
37 6d20b7f3 Vangelis Koukis
#BACKEND_ALLOCATOR_MODULE = "synnefo.logic.allocators.default_allocator"
38 6d20b7f3 Vangelis Koukis
## Refresh backend statistics timeout, in minutes, used in backend allocation
39 6d20b7f3 Vangelis Koukis
#BACKEND_REFRESH_MIN = 15