Projet

Général

Profil

EnvoleMigration23 » Historique » Version 8

Gaston TJEBBES, 28/07/2010 16:57

1 1 Gaston TJEBBES
h1. Migration vers la Eole2.3
2 1 Gaston TJEBBES
3 4 Gaston TJEBBES
h2. En vrac : 
4 1 Gaston TJEBBES
5 4 Gaston TJEBBES
* Renommer toutes les variables qui se nomme posh... en envole...
6 4 Gaston TJEBBES
* Avoir une structure de dépendances cohérente
7 4 Gaston TJEBBES
* Revoir l'utilisation des répertoires de /home (il est possible de fournir un template qui indique à bacula les rep à sauvegarder)
8 1 Gaston TJEBBES
9 1 Gaston TJEBBES
10 7 Gaston TJEBBES
h2. Les variables à gérer
11 1 Gaston TJEBBES
12 7 Gaston TJEBBES
h3. Variables communes
13 1 Gaston TJEBBES
14 4 Gaston TJEBBES
* Url de redirection par défaut     web_default    (fournit par eole-web)
15 4 Gaston TJEBBES
* Nom de domaine                    web_domain     (fournit par eole-web ou eole-appli-web ?)
16 1 Gaston TJEBBES
17 1 Gaston TJEBBES
* Adresse du serveur ftp            web_ftp        (par application webshare/ajaxplorer) ??
18 4 Gaston TJEBBES
19 7 Gaston TJEBBES
h3. Les applications
20 7 Gaston TJEBBES
21 4 Gaston TJEBBES
* Activation des applications       web_<appli>     (chaque application fournit le sien)
22 1 Gaston TJEBBES
23 4 Gaston TJEBBES
h2. Les paquets
24 1 Gaston TJEBBES
25 5 Gaston TJEBBES
h3. Séparation
26 5 Gaston TJEBBES
27 5 Gaston TJEBBES
Les applications gibii, gepi et spip-eva doivent être déporté de conf-scribe
28 5 Gaston TJEBBES
29 4 Gaston TJEBBES
h3. Le principe
30 1 Gaston TJEBBES
31 1 Gaston TJEBBES
32 4 Gaston TJEBBES
Un maximum de manipulation doit être effectuée depuis le master (script de configuration / synchro ...), cela évite de demander à un utilisateur de se connecter sur un container.
33 4 Gaston TJEBBES
34 4 Gaston TJEBBES
eole-monappli fournit l'ensemble des dictionnaires, templates, scripts de manipulation util pour l'application monappli (est installé sur le master)
35 4 Gaston TJEBBES
monappli-pkg  fournit l'ensemble des dépendances utilisées pour installer monappli dans le container
36 4 Gaston TJEBBES
37 4 Gaston TJEBBES
On va donc avoir :
38 4 Gaston TJEBBES
39 4 Gaston TJEBBES
eole-appliweb
40 4 Gaston TJEBBES
appliweb-pkg
41 4 Gaston TJEBBES
42 4 Gaston TJEBBES
eole-envole
43 4 Gaston TJEBBES
envole-pkg
44 4 Gaston TJEBBES
45 4 Gaston TJEBBES
eole-posh
46 6 Gaston TJEBBES
posh-pkg ou posh_apps si un méta paquet n'est pas nécessaire
47 4 Gaston TJEBBES
48 4 Gaston TJEBBES
eole-ajaxplorer
49 6 Gaston TJEBBES
ajaxplorer-apps
50 1 Gaston TJEBBES
51 1 Gaston TJEBBES
52 1 Gaston TJEBBES
h2. Mysql
53 1 Gaston TJEBBES
54 7 Gaston TJEBBES
La gestion des bases de données mysql doit être revue (où quand, comment) ?
55 7 Gaston TJEBBES
56 8 Gaston TJEBBES
Un soucis rencontré jusqu'à présent est la difficulté à retrouver les fichiers .sql.
57 8 Gaston TJEBBES
Voici une proposition de nomenclature envisagée pour placer les fichiers.
58 1 Gaston TJEBBES
59 8 Gaston TJEBBES
h3. Fichier de configuration
60 8 Gaston TJEBBES
61 8 Gaston TJEBBES
Les fichiers ont la même destination, on peut imaginer une structure comme celle-ci
62 8 Gaston TJEBBES
63 8 Gaston TJEBBES
fichier dans le dépot                        ->    fichier sur le serveur
64 8 Gaston TJEBBES
65 8 Gaston TJEBBES
mysql/conf/gen/monappli.py                   ->   /usr/share/eole/applications/gen/monappli.py
66 8 Gaston TJEBBES
mysql/conf/passwords/monappli.ini            ->   /usr/share/eole/applications/passwords/monappli.ini
67 8 Gaston TJEBBES
mysql/conf/updates/config.py                 ->   /usr/share/eole/applications/updates/.../config.py
68 8 Gaston TJEBBES
69 8 Gaston TJEBBES
70 8 Gaston TJEBBES
h3. Les fichiers .sql :
71 8 Gaston TJEBBES
72 8 Gaston TJEBBES
mysql/files/gen/fichiers.sql                 ->   /usr/share/eole/mysql/<nomdelappli>/gen/fichiers.sql
73 8 Gaston TJEBBES
mysql/files/updates/fichiers.sql             ->   /usr/share/eole/mysql/<nomdelappli>/updates/fichiers.sql
74 8 Gaston TJEBBES
75 8 Gaston TJEBBES
76 8 Gaston TJEBBES
77 8 Gaston TJEBBES
78 8 Gaston TJEBBES
79 7 Gaston TJEBBES
80 7 Gaston TJEBBES
Les fichiers de configuration .ini, .py pour la gestion sql (génération/mdp/update) ne bougent pas.
81 7 Gaston TJEBBES
82 7 Gaston TJEBBES
Les fichiers .sql pourraient être placés dans une structure à part:
83 7 Gaston TJEBBES
84 7 Gaston TJEBBES
* /etc/eole/mysql/nomdelappli/gen/
85 7 Gaston TJEBBES
et 
86 7 Gaston TJEBBES
* /etc/eole/mysql/nomdelappli/updates/