root / docs / scale / i-image.rst @ 301294a9
History | View | Annotate | Download (1.4 kB)
1 |
.. _i-image: |
---|---|
2 |
|
3 |
Synnefo |
4 |
------- |
5 |
|
6 |
:ref:`synnefo <i-synnefo>` || |
7 |
:ref:`ns <i-ns>` || |
8 |
:ref:`apt <i-apt>` || |
9 |
:ref:`mq <i-mq>` || |
10 |
:ref:`db <i-db>` || |
11 |
:ref:`gunicorn <i-gunicorn>` || |
12 |
:ref:`apache <i-apache>` || |
13 |
:ref:`webproject <i-webproject>` || |
14 |
:ref:`astakos <i-astakos>` || |
15 |
:ref:`cms <i-cms>` || |
16 |
:ref:`pithos <i-pithos>` || |
17 |
:ref:`cyclades <i-cyclades>` || |
18 |
:ref:`kamaki <i-kamaki>` || |
19 |
:ref:`backends <i-backends>` |
20 |
|
21 |
Backends |
22 |
++++++++ |
23 |
|
24 |
:ref:`ganeti <i-ganeti>` || |
25 |
image || |
26 |
:ref:`gtools <i-gtools>` || |
27 |
:ref:`network <i-network>` |
28 |
|
29 |
snf-image Setup |
30 |
~~~~~~~~~~~~~~~ |
31 |
|
32 |
The following apply to ``ganeti`` nodes. |
33 |
|
34 |
Firstly mount the ``pithos`` nfs mount point. Assuming that ``pithos`` node |
35 |
(the one who does the NFS export) is node1.example.com, append the following |
36 |
line in `/etc/fstab`: |
37 |
|
38 |
.. code-block:: console |
39 |
|
40 |
node1:/pithos /srv/pithos nfs4 defaults,rw,noatime,nodiratime,intr,rsize=1048576,wsize=1048576,noacl |
41 |
|
42 |
and then: |
43 |
|
44 |
.. code-block:: console |
45 |
|
46 |
apt-get install -t squeeze-backports nfs-common |
47 |
mkdir /srv/pithos |
48 |
mount /srv/pithos |
49 |
|
50 |
.. code-block:: console |
51 |
|
52 |
# apt-get install snf-image-host |
53 |
|
54 |
Append this lines in `/etc/snf-image/default` |
55 |
|
56 |
.. code-block:: console |
57 |
|
58 |
PITHOS_DB="postgresql://synnefo:example_passw0rd@db.example.com:5432/snf_pithos" |
59 |
PITHOS_DATA="/srv/pithos/data" |
60 |
PROGRESS_MONITOR='snf-progress-monitor' |
61 |
|
62 |
|
63 |
and create snf-image-helper with: |
64 |
|
65 |
.. code-block:: console |
66 |
|
67 |
# snf-image-update-helper -y |
68 |
|
69 |
|
70 |
Test your Setup: |
71 |
++++++++++++++++ |