Compare commits

..

58 Commits

Author SHA1 Message Date
vincent 597e6eb46d Merge branch 'develop' 2019-04-03 09:48:42 +02:00
Emmanuel Garette a66663e997 correction onehost_create_all 2019-03-18 10:38:46 +01:00
vincent eccde53736 test 2019-03-13 14:11:39 +01:00
Philippe Caseiro 2008031e91 Follower don't have to manage ONE networks 2019-03-01 14:15:18 +01:00
Philippe Caseiro ecb6441aef Merge branch 'add-ha' of https://dev-eole.ac-dijon.fr/git/eole-one-master into add-ha 2019-03-01 14:03:24 +01:00
Emmanuel Garette 8ce8a16a0b no firewall rule between nodes 2019-03-01 12:30:00 +01:00
Emmanuel Garette 89128ccba5 remove node wait in HA mode 2019-03-01 12:07:16 +01:00
Philippe Caseiro e506b9c2d8 Fix VM name for diagnose display 2019-03-01 11:15:17 +01:00
Philippe Caseiro 94a498aef6 Add info message for onehost_create_all on follower 2019-02-28 11:51:39 +01:00
Emmanuel Garette d7a4769ec0 change tab to 4 spaces + add ssh-keyscan 2019-02-28 11:10:45 +01:00
Philippe Caseiro 10369f18f9 Host creation is only for the 'Leader' and not for the followers 2019-02-28 10:58:25 +01:00
Philippe Caseiro d9b15ac7fa Do not ask questions when reconfigure is called 2019-02-28 10:47:34 +01:00
Emmanuel Garette d9cac17d80 ouvrir les règles de firewall pour l'interface donnée par l'utilisateur 2019-02-27 17:13:36 +01:00
Philippe Caseiro 5928acc3cf Merge branch 'add-ha' of https://dev-eole.ac-dijon.fr/git/eole-one-master into add-ha 2019-02-27 11:35:07 +01:00
Philippe Caseiro 36fae0773d Manage sqlite sync and shared datastore in ha mode 2019-02-27 11:34:34 +01:00
Emmanuel Garette be27bdad63 la configuration de la VIP doit etre répliqué sur la slave 2019-02-27 10:01:27 +01:00
Emmanuel Garette 3e641814cf initialisation HA à la fin de l'instance 2019-02-25 16:44:11 +01:00
Emmanuel Garette d5a664246d ne pas attendre 2019-02-25 16:19:32 +01:00
Emmanuel Garette c52965f017 copie .one leader => follower 2019-02-25 16:18:40 +01:00
Emmanuel Garette 3da92ac827 copie .one leader => follower 2019-02-25 15:45:40 +01:00
Emmanuel Garette 859d8f3cb7 update onehost_create_all 2019-02-25 15:03:20 +01:00
Emmanuel Garette 42dfb0cdaa onehost_create_all 2019-02-25 12:11:30 +01:00
Emmanuel Garette 4c7ebd5d27 sync host 2019-02-25 11:56:15 +01:00
Emmanuel Garette b06123cc04 sync host 2019-02-25 11:52:47 +01:00
Emmanuel Garette bc05faa091 correction boucle pour onehost_create_all 2019-02-25 10:50:45 +01:00
Emmanuel Garette 41d45ed2a2 gestion de la copie des clefs pour les followers 2019-02-22 17:16:04 +01:00
Emmanuel Garette f945e19efb copie de la bonne clef sur les noeuds 2019-02-22 17:05:11 +01:00
Emmanuel Garette a640384c5b initialiser la HA en dernier 2019-02-22 14:47:20 +01:00
Emmanuel Garette 5661832da8 cacher le nombre de connexion à la base si mode sqlite 2019-02-22 14:10:10 +01:00
vincent 85bebcb6ae Merge branch 'add-ha' of https://dev-eole.ac-dijon.fr/git/eole-one-master into add-ha 2019-02-22 14:03:32 +01:00
vincent a85189fd8f Conditionnement sur le mode HA et Leader pour l'exécution de l'init_ha 2019-02-22 14:02:50 +01:00
Emmanuel Garette babaddf7e4 Revert "ugly patch 320a8c26c0?diff=unified"
This reverts commit 5ec8930a6f.
2019-02-22 10:57:27 +01:00
Emmanuel Garette 5ec8930a6f ugly patch 320a8c26c0?diff=unified 2019-02-22 10:51:18 +01:00
Emmanuel Garette 2f7074ce3c correction upgrade de la base 2019-02-21 16:41:08 +01:00
Emmanuel Garette 24aff2dd05 correction upgrade de la base 2019-02-21 16:37:15 +01:00
Emmanuel Garette 91d54ac412 correction upgrade de la base 2019-02-21 16:05:52 +01:00
Emmanuel Garette a785cedbf6 tester si one_ha_server_index est accessible 2019-02-21 14:31:49 +01:00
Emmanuel Garette 7a779cdec4 one_server_index => one_ha_server_index 2019-02-21 14:23:33 +01:00
Emmanuel Garette 3a74f7932c en mode mysql upgrade la database en mode mysql 2019-02-21 14:10:54 +01:00
Emmanuel Garette 8c28ae6e6b fusion one_followers_domain et one_nodes 2019-02-21 14:01:12 +01:00
Philippe Caseiro 693532b324 Adding host sync with rsync
ONE 5.6.1 is affected by this bug :
https://github.com/OpenNebula/one/issues/2962

Fixed in 5.6.2 but we don't have packages for this version.
2019-02-21 10:53:26 +01:00
Emmanuel Garette 171328c890 si enable_one_ha est à oui, RPC ecoute sur toutes les interfaces (dont lo) 2019-02-20 15:58:49 +01:00
Emmanuel Garette 7fc554a7ac fixe 2019-02-20 15:53:05 +01:00
Emmanuel Garette 4bc36ce4ee templatise le nombre de connexion à la base de données + gestion du service opennebula-scheduler 2019-02-20 15:47:11 +01:00
Emmanuel Garette ab1bebce10 en HA RPC doit être accessible sur eth0 2019-02-20 15:20:59 +01:00
Emmanuel Garette 67c7ba9b97 en HA RPC doit être accessible sur eth0 2019-02-20 14:17:48 +01:00
Emmanuel Garette 6d2199121d typo 2019-02-19 15:07:17 +01:00
Emmanuel Garette e6729673fb HA must not be actived when migrate sqlite to mysql 2019-02-19 11:53:12 +01:00
Emmanuel Garette 6a75234cb8 ne migrer sqlite vers mysql qu'à l'instance 2019-02-19 09:18:57 +01:00
Emmanuel Garette fb1bea8654 only start opennebula if database do not exists 2019-02-18 18:25:26 +01:00
Emmanuel Garette a71da62006 demarrer une fois opennebula pour creer la base sqlite + migrer mysql avant le demarrage des services 2019-02-18 17:39:41 +01:00
Emmanuel Garette 79b5d8e86d add %% before a one_ha_role 2019-02-18 16:05:07 +01:00
Emmanuel Garette 6ba09e0eaa adresse_ip_eth0 et adresse_ip_gw si one_vip est inaccessible 2019-02-18 14:03:32 +01:00
Emmanuel Garette 5eeb4d6832 init ha 2019-02-15 16:51:53 +01:00
Emmanuel Garette 09389489f2 Mot de passe de type password 2019-02-13 14:41:01 +01:00
Emmanuel Garette 227f568aab prise en compte mysql + script init ha 2019-02-08 17:43:22 +01:00
Philippe Caseiro d3948bcd06 Adding HA dico 2019-02-06 14:14:23 +01:00
Philippe Caseiro d3d620376f Being work on ONE HA 2019-02-06 14:14:03 +01:00
5 changed files with 0 additions and 65 deletions

1
debian/compat vendored
View File

@ -1 +0,0 @@
7

11
debian/control vendored
View File

@ -1,11 +0,0 @@
Source: eole-one-master
Section: web
Priority: optional
Maintainer: Cadoles <contact@cadoles.com>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.3
Package: eole-one-master
Architecture: amd64
Depends: ${misc:Depends}, sqlite3, ruby-xmlrpc, eole-ovs, eole-libvirt, opennebula, mysql-client
Description: Eolisation de Hapy master (Cadoles)

44
debian/copyright vendored
View File

@ -1,44 +0,0 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: {PROJECT}
Source: {URL}
Files: *
Copyright: YEAR {UPSTREAM} {AUTHOR} <{MAIL}>
License: {UPSTREAM LICENSE}
Files: debian/*
Copyright: 2012 Équipe EOLE <eole@ac-dijon.fr>
License: CeCILL-2
License: {UPSTREAM LICENSE}
{TEXT OF THE LICENSE}
License: CeCILL-2
This software is governed by the CeCILL-2 license under French law and
abiding by the rules of distribution of free software. You can use,
modify and or redistribute the software under the terms of the CeCILL-2
license as circulated by CEA, CNRS and INRIA at the following URL
"http://www.cecill.info";.
.
As a counterpart to the access to the source code and rights to copy,
modify and redistribute granted by the license, users are provided only
with a limited warranty and the software's author, the holder of the
economic rights, and the successive licensors have only limited
liability.
.
In this respect, the user's attention is drawn to the risks associated
with loading, using, modifying and/or developing or reproducing the
software by the user in light of its specific status of free software,
that may mean that it is complicated to manipulate, and that also
therefore means that it is reserved for developers and experienced
professionals having in-depth computer knowledge. Users are therefore
encouraged to load and test the software's suitability as regards their
requirements in conditions enabling the security of their systems and/or
data to be ensured and, more generally, to use and operate it in the
same conditions as regards security.
.
The fact that you are presently reading this means that you have had
knowledge of the CeCILL-2 license and that you accept its terms.
.
On Eole systems, the complete text of the CeCILL-2 License can be found
in '/usr/share/common-licenses/CeCILL-2-en'.

8
debian/rules vendored
View File

@ -1,8 +0,0 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
%:
dh $@

View File

@ -1 +0,0 @@
3.0 (quilt)