Statistics
| Branch: | Tag: | Revision:

root / docs / upgrade / upgrade-0.14.10.rst @ ee802310

History | View | Annotate | Download (3.2 kB)

1
Upgrade to Synnefo v0.14.10
2
^^^^^^^^^^^^^^^^^^^^^^^^^^^
3

    
4
Synnefo v0.14.10 supports both Debian Squeeze and Wheezy. However, since
5
v0.14.10, Synnefo supports only Ganeti >= 2.8. This means that at least the
6
Ganeti nodes of a Synnefo deployment should run on Wheezy.
7

    
8
To upgrade to Synnefo v0.14.10 one needs to upgrade both Synnefo and Ganeti
9
during the same upgrade cycle, so some minimal service downtime is needed.
10
As always, VMs, Networks and Files will remain usable during the upgrade.
11

    
12
Since this is an upgrade to a minor version, no special upgrade operations
13
are needed except from the package upgrades.
14

    
15

    
16
1. Bring down the services
17
==========================
18

    
19
First, bring all services (Synnefo and Ganeti) down:
20

    
21
.. code-block:: console
22

    
23
   root@astakos-host# /etc/init.d/gunicorn stop
24
   root@cyclades-host# /etc/init.d/gunicorn stop
25
   root@pithos-host# /etc/init.d/gunicorn stop
26

    
27

    
28
   root@ganeti-master-host# /etc/init.d/ganeti stop
29
   root@ganeti-master-host# /etc/init.d/snf-ganeti-eventd stop
30
   root@ganeti-nodeX-host# /etc/init.d/ganeti stop
31

    
32
   root@cyclades-host# /etc/init.d/snf-dispatcher stop
33

    
34

    
35
2. Upgrade Ganeti
36
=================
37

    
38
Once, everything is stopped, upgrade Ganeti following the official upgrade notes
39
found here:
40

    
41
`Ganeti upgrade notes <http://docs.ganeti.org/ganeti/2.8/html/upgrade.html>`_
42

    
43
In a nutshell:
44

    
45
Install packages
46
----------------
47

    
48
Install the new Ganeti packages. To be able to use hotplug (which will be part
49
of the official Ganeti 2.10), we recommend using our Ganeti packages with
50
version: ``snf-ganeti=2.8.2+snapshot1+b64v1+hotplug3+ippoolfix+rapifix+netxen+lockfix2-1~wheezy``
51

    
52
.. code-block:: console
53

    
54
   root@ganeti-master-host# apt-get install snf-ganeti ganeti-htools ganeti-haskell
55
   root@ganeti-nodeX-host# apt-get install snf-ganeti ganeti-htools ganeti-haskell
56

    
57
.. note:: Make sure you install all three Ganeti packages to all hosts.
58
          Also all packages should have the same version.
59

    
60
Upgrade
61
-------
62

    
63
Upgrade Ganeti's configuration (make sure you do all backup and dry-run steps as
64
described in the official guide):
65

    
66
.. code-block:: console
67

    
68
   root@ganeti-master-host# /usr/share/ganeti/cfgupgrade
69

    
70
Start Ganeti
71
------------
72

    
73
Start Ganeti and re-distribute the configuration to all Ganeti master candidates:
74

    
75
.. code-block:: console
76

    
77
   root@ganeti-master-host# /etc/init.d/ganeti start
78
   root@ganeti-nodeX-host# /etc/init.d/ganeti start
79

    
80
   root@ganeti-master-host# gnt-cluster redist-conf
81

    
82
   root@ganeti-master-host# /etc/init.d/ganeti stop
83
   root@ganeti-nodeX-host# /etc/init.d/ganeti stop
84

    
85

    
86
3. Upgrade Synnefo
87
==================
88

    
89
Install packages
90
----------------
91

    
92
Install the new v0.14.10 packages on all hosts according to your deployment.
93

    
94

    
95
4. Start all services
96
=====================
97

    
98
Once, everything is installed successfully, start all services
99
(Synnefo and Ganeti):
100

    
101
.. code-block:: console
102

    
103
   root@cyclades-host# /etc/init.d/snf-dispatcher start
104

    
105
   root@ganeti-master-host# /etc/init.d/snf-ganeti-eventd start
106

    
107
   root@ganeti-master-host# /etc/init.d/ganeti start
108
   root@ganeti-nodeX-host# /etc/init.d/ganeti start
109

    
110
   root@astakos-host# /etc/init.d/gunicorn start
111
   root@cyclades-host# /etc/init.d/gunicorn start
112
   root@pithos-host# /etc/init.d/gunicorn start