Statistics
| Branch: | Tag: | Revision:

root / docs / scale / i-kamaki.rst @ 301294a9

History | View | Annotate | Download (2.4 kB)

1
.. _i-kamaki:
2

    
3
Synnefo
4
-------
5

    
6

    
7
:ref:`synnefo <i-synnefo>` ||
8
:ref:`ns <i-ns>` ||
9
:ref:`apt <i-apt>` ||
10
:ref:`mq <i-mq>` ||
11
:ref:`db <i-db>` ||
12
:ref:`gunicorn <i-gunicorn>` ||
13
:ref:`apache <i-apache>` ||
14
:ref:`webproject <i-webproject>` ||
15
:ref:`astakos <i-astakos>` ||
16
:ref:`cms <i-cms>` ||
17
:ref:`pithos <i-pithos>` ||
18
:ref:`cyclades <i-cyclades>` ||
19
kamaki ||
20
:ref:`backends <i-backends>`
21

    
22
kamaki Setup
23
++++++++++++
24

    
25
The following apply to ``client`` node. Here we install a command line tool
26
that the end-user can use instead of web UI. Prerequisites are that the
27
client node can connect to synnefo nodes by using their FQDN and that
28
the user has already aquired an AUTH_TOKEN from his/her profile page after
29
signing in.
30

    
31
Install the corresponding package:
32

    
33
.. code-block:: console
34

    
35
    # apt-get install kamaki
36

    
37
and build the correct config file:
38

    
39
.. code-block:: console
40

    
41
    # kamaki config set astakos.url "https://accounts.example.com"
42
    # kamaki config set compute.url "https://cyclades.example.com/api/v1.1"
43
    # kamaki config set image.url "https://cyclades.example.com/plankton"
44
    # kamaki config set store.enable on
45
    # kamaki config set store.pithos_extensions on
46
    # kamaki config set store.url "https://pithos.example.com/v1"
47
    # kamaki config set store.account "user@example.com"
48

    
49
    # kamaki config set global.token AUTH_TOKEN
50

    
51

    
52
Please download a Debian Base image from our repo:
53

    
54

    
55
.. code-block:: console
56

    
57
    # wget https://pithos.okeanos.grnet.gr/public/66ke3 -O /tmp/debian_base.diskdump
58

    
59
create a container in pithos, upload it:
60

    
61
.. code-block:: console
62

    
63
   # kamaki store create images
64
   # kamaki store upload --container images /tmp/debian_base.diskdump debian_base.diskdump
65

    
66
and register it to plankton:
67

    
68
.. code-block:: console
69

    
70
   # kamaki image register "Debian Base"  pithos://user@example/images/debian_base.diskdump \
71
                    --disk-format=diskdump \
72
                    --property OSFAMILY=linux \
73
                    --property ROOT_PARTITION=1 \
74
                    --property description="Debian Squeeze Base System" \
75
                    --property size=450M \
76
                    --property kernel=2.6.32 \
77
                    --property GUI="No GUI" \
78
                    --property sortorder=1 \
79
                    --property USERS=root \
80
                    --property OS=debian \
81
                    --public
82

    
83

    
84

    
85

    
86

    
87
Test your Setup:
88
++++++++++++++++