Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / conf / 20-snf-cyclades-app-backend.conf @ 0252fb8b

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 6d20b7f3 Vangelis Koukis
## 'disk_template', 'os_provider', and 'hvparams' keys.
15 6d20b7f3 Vangelis Koukis
##
16 6d20b7f3 Vangelis Koukis
## More specifically:
17 6d20b7f3 Vangelis Koukis
## a) disk_template:
18 6d20b7f3 Vangelis Koukis
##    The disk template to use when creating the instance.
19 6d20b7f3 Vangelis Koukis
##    Suggested values: 'plain', or 'drbd'.
20 6d20b7f3 Vangelis Koukis
## b) os:
21 6d20b7f3 Vangelis Koukis
##    The OS provider to use (customized Ganeti Instance Image)
22 6d20b7f3 Vangelis Koukis
## c) hvparams:
23 6d20b7f3 Vangelis Koukis
##    Hypervisor-specific parameters (serial_console = False, see #785)
24 6d20b7f3 Vangelis Koukis
## d) If using the DRBD disk_template, you may want to include
25 6d20b7f3 Vangelis Koukis
##    wait_for_sync = False (see #835).
26 6d20b7f3 Vangelis Koukis
##
27 6d20b7f3 Vangelis Koukis
#GANETI_CREATEINSTANCE_KWARGS = {
28 6d20b7f3 Vangelis Koukis
#    'os': 'snf-image+default',
29 6d20b7f3 Vangelis Koukis
#    'hvparams': {'serial_console': False},
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