Revision f4192236

/dev/null
1
[packages]
2
# whether to use apt-get or local generated package found in packages dir
3
use_local_packages = True
4

  
5
# url to obtain latest synnefo packages.
6
# To use them change USE_LOCAL_PACKAGES setting to yes
7
# To get them run: snf-deploy packages
8
package_url = http://builder.dev.grnet.gr/synnefo/packages/Squeeze/40/
9

  
10
[dirs]
11
# dir to find all template files used to customize setup
12
# in case you want to add another setting please modify the corresponding file
13
templates = /var/lib/snf-deploy/files
14
# dir to store local images (disk0, disk1 of the virtual cluster)
15
images = /var/lib/snf-deploy/images
16
# dir to store/find local packages
17
# dir to locally save packages that will be downloaded from package_url
18
# put here any locally created packages (useful for development)
19
packages = /var/lib/snf-deploy/packages
20
# dir to store pidfiles (dnsmasq, kvm)
21
run = /var/run/snf-deploy
22
# dir to store dnsmasq related files
23
dns = /var/lib/snf-deploy/dnsmasq
24
# dir to lookup fabfile and ifup script
25
lib = /usr/lib/snf-deploy
26
# dir to store executed commands (to enforce sequential execution)
27
cmd = /var/run/snf-deploy/cmd
28
# dir to be used by Django for file-based mail backend
29
mail_dir = /var/tmp/synnefo-mails
30

  
31
[keys]
32
# whether to create new keys
33
keygen = False
34
# whether to inject ssh keys found in templates/root/.ssh in nodes
35
key_inject = True
36

  
37
[options]
38
# Deploy Synnefo, specially tuned for testing. This option improves the speed
39
# of some operations, but is not safe for all enviroments. (e.g. disable
40
# fsync of postgresql)
41
testing_vm = True
/dev/null
1
[ganeti1]
2
cluster_nodes = node1
3
master_node = node1
4

  
5
cluster_netdev = eth0
6
cluster_name = ganeti1
7
cluster_ip = 192.168.0.13
8

  
9
vg = autovg
10

  
11
synnefo_public_network_subnet = 10.2.1.0/24
12
synnefo_public_network_gateway = 10.2.1.1
13
synnefo_public_network_type = CUSTOM
14

  
15
image_dir = /srv/okeanos
16

  
17
# To add another cluster repeat the above section
18
# with different header and nodes
/dev/null
1
# please note that currently is only supported deployment
2
# with nodes (both ganeti and synnefo) residing in the same subnet/domain
3
[network]
4
domain = synnefo.live
5

  
6
[os]
7
node1 = squeeze
8
# node2 = wheezy
9

  
10
[hostnames]
11
node1 = auto1
12
# node2 = auto2
13

  
14
[ips]
15
node1 = 192.168.0.1
16
# node2 = 192.168.0.2
17

  
18
# This is used only in case of vcluster
19
# needed to pass the correct dhcp responces to the virtual nodes
20
[macs]
21
node1 = 52:54:00:00:00:01
22
# node2 = 52:54:00:00:00:02
23

  
24
[info]
25
# Here we define which nodes from the predefined ones to use
26
nodes = node1
27

  
28
# login credentials for the nodes
29
# please note that in case of vcluster these are preconfigured
30
# and not editable.
31
# in case of physical nodes all nodes should have the same login account
32
user = root
33
password = 12345
34

  
35
public_iface = eth0
36
vm_public_iface = eth1
37
vm_private_iface = eth2
38

  
39
# extra disk name inside the nodes
40
# if defined, snf-deploy will create a VG for ganeti in order to support lvm storage
41
# if not then only file disk template will be supported
42
extra_disk = /dev/vdb
/dev/null
1
[debian]
2
rabbitmq-server = squeeze-backports
3
gunicorn = squeeze-backports
4
qemu-kvm = squeeze-backports
5
qemu = squeeze-backports
6
python-gevent = squeeze-backports
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server = squeeze-backports
12
nfs-common = squeeze-backports
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south = squeeze-backports
24
python-django = squeeze-backports
25
drbd8-utils =
26

  
27

  
28
[synnefo]
29
snf-astakos-app = squeeze
30
snf-common = squeeze
31
snf-cyclades-app = squeeze
32
snf-cyclades-gtools = squeeze
33
snf-django-lib = squeeze
34
python-astakosclient = squeeze
35
snf-branding = squeeze
36
snf-webproject = squeeze
37
snf-pithos-app = squeeze
38
snf-pithos-backend = squeeze
39
snf-tools = squeeze
40

  
41

  
42
[ganeti]
43
snf-ganeti = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
44
ganeti-htools = 2.6.2+ippool11+hotplug5+extstorage3+rbdfix1+kvmfix2+nolvm+netxen-1~squeeze
45

  
46
[other]
47
snf-cloudcms = squeeze
48
snf-vncauthproxy = squeeze
49
snf-pithos-webclient = squeeze
50
snf-image = squeeze
51
snf-network = squeeze
52
python-objpool = squeeze
53
nfdhcpd = squeeze
54
kamaki = squeeze
55
python-bitarray = squeeze-backports
56
nfqueue-bindings-python = 0.3+physindev-1
/dev/null
1
[cred]
2
synnefo_user = synnefo
3
synnefo_db_passwd = example_passw0rd
4
synnefo_rapi_passwd = example_rapi_passw0rd
5
synnefo_rabbitmq_passwd = example_rabbitmq_passw0rd
6
user_email = user@synnefo.org
7
user_name = John
8
user_lastname = Doe
9
user_passwd = 12345
10

  
11

  
12
[roles]
13
accounts = node1
14
compute = node1
15
object-store = node1
16
cyclades = node1
17
pithos = node1
18
cms = node1
19
db = node1
20
mq = node1
21
ns = node1
22
client = node1
23
router = node1
24

  
25

  
26
[synnefo]
27
pithos_dir = /srv/pithos
28
flavor_cpu = 1,2,4,8
29
flavor_ram = 128,256,512,1024,2048,4096,8192
30
flavor_disk = 2,5,10,20,40,60,80,100
31
flavor_storage = file
32

  
33
vm_public_bridge = br0
34
vm_private_bridge = prv0
35
common_bridge = br0
36

  
37
debian_base_url = http://cdn.synnefo.org/debian_base-7.0-x86_64.diskdump
/dev/null
1
[image]
2
# url to get the base image. This is a debian base image with preconfigured
3
# root password and installed rsa/dsa keys. Plus a NetworkManager hook that
4
# changes the VM's name based on info provided by dhcp response.
5
# To create it run: snf-deploy image
6
squeeze_image_url = https://pithos.okeanos.grnet.gr/public/832xv
7
ubuntu_image_url =
8

  
9
# in order ganeti nodes to support lvm storage (plain disk template) it will
10
# be needed an extra disk to eventually be able to create a VG. Ganeti requires
11
# this VG to be at least of 30GB. To this end in order the virtual nodes to have
12
# this extra disk an image should be created locally. There are three options:
13
# 1. not create an extra disk (only file storage template will be supported)
14
# 2. create an image of 30G in image dir (default /var/lib/snf-deploy/images)
15
#    using dd if=/dev/zero of=squeeze.disk1
16
# 3. create this image in a local VG using lvgreate -L30G squeeze.disk1 lvg
17
#    and create a symbolic link in /var/lib/snf-deploy/images
18

  
19
# Whether to create an extra disk or not
20
create_extra_disk = False
21
# lvg is the name of the local VG if any
22
lvg =
23

  
24
# OS istalled in the virtual cluster
25
os = squeeze
26

  
27

  
28
[cluster]
29
# the bridge to use for the virtual cluster
30
# on this bridge we will launch a dnsnmasq and provide
31
# fqdns needed to the cluster.
32
# In ordrer cluster nodes to have internet access, host must do NAT.
33
# iptables -t nat -A POSTROUTING -s 192.0.0.0/28 -j MASQUERADE
34
# ip addr add 192.0.0.14/28 dev auto_nodes_br
35
# To create run: snf-deploy cluster
36
bridge = auto_nodes_br
37

  
38
[network]
39
subnet = 192.168.0.0/28
40
gateway = 192.168.0.14
/dev/null
1
[debian]
2
rabbitmq-server =
3
gunicorn =
4
qemu-kvm =
5
qemu =
6
python-gevent =
7
apache2 =
8
postgresql =
9
python-psycopg2 =
10
python-argparse =
11
nfs-kernel-server =
12
nfs-common =
13
bind9 =
14
vlan =
15
vlan =
16
lvm2 =
17
curl =
18
memcached =
19
python-memcache =
20
bridge-utils =
21
python-progress =
22
ganeti-instance-debootstrap =
23
python-django-south =
24
python-django =
25
drbd8-utils =
26

  
27

  
28
[synnefo]
29
snf-astakos-app = wheezy
30
snf-common = wheezy
31
snf-cyclades-app = wheezy
32
snf-cyclades-gtools = wheezy
33
snf-django-lib = wheezy
34
python-astakosclient = wheezy
35
snf-branding = wheezy
36
snf-webproject = wheezy
37
snf-pithos-app = wheezy
38
snf-pithos-backend = wheezy
39
snf-tools = wheezy
40

  
41

  
42
[ganeti]
43
snf-ganeti = 2.8.0+hotplug+ippoolfix-1
44
ganeti-htools = 2.8.0+hotplug+ippoolfix-1
45
[other]
46
snf-cloudcms = wheezy
47
snf-vncauthproxy = wheezy
48
snf-pithos-webclient = wheezy
49
snf-image = wheezy
50
snf-network = wheezy
51
python-objpool = wheezy
52
nfdhcpd = wheezy
53
kamaki = wheezy
54
python-bitarray = wheezy
55
nfqueue-bindings-python = 0.3+physindev-1~wheezy

Also available in: Unified diff