Commit Graph

162 Commits

Author SHA1 Message Date
Philippe Caseiro 36fae0773d Manage sqlite sync and shared datastore in ha mode 2019-02-27 11:34:34 +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
Daniel Dehennin 850585af21 Prepare version 2.7.1
* Makefile: Mise à jour de la release.
2019-01-09 11:43:32 +01:00
Daniel Dehennin 233afaaf94 Init ONE: download latest ISO point release
* postservice/99-init-hapy-master: use “eole-iso” to retrieve informations.

Ref: #25055
2018-09-21 09:04:58 +02:00
Daniel Dehennin 6f190b5dcd The python network script isn' based on exception but return values
* postservice/31-one-netmng (OneClient.create_network): make sure to
  return True since the returned value is checkd in
  “OneNetwork.create()”.

Ref: #24531
2018-07-20 15:41:34 +02:00
Daniel Dehennin cac835e1ee Better logging when managing OpenNebula network in postservice
* postservice/31-one-netmng: use pyeole.log.
  Do not use pyeole.ihm.
  Add logging to follown what's going on.

Ref: #24387
2018-06-29 16:34:15 +02:00
Daniel Dehennin d8fc5d10a3 Merge branch '2.6.2/master' 2018-06-13 14:19:47 +02:00
Daniel Dehennin 63af1776f5 Update OpenNebula configuration template to match 5.5.80
* dicos/29_one-master.xml: “OpenNebulaNetwork.conf” is moved for 5.6.

* tmpl/OpenNebulaNetwork.conf: update to match 5.5.80 configuration.

* tmpl/ldap_auth.conf: ditoo

* tmpl/oned.conf: ditoo.

* tmpl/vmm_exec_kvm.conf: ditoo.

Ref: #24197
2018-06-13 14:16:09 +02:00
Daniel Dehennin 3bf3b3accd Merge branch 'feature/manage-default-cluster-name' into 2.6.2/master 2018-04-18 10:25:36 +02:00