Merge branch 'master' into dist/eole/2.6.2/master
This commit is contained in:
commit
ae696769ed
75
README.md
75
README.md
|
@ -6,7 +6,80 @@ mise en clustter
|
|||
|
||||
# How-to for Eole 2.6.2 (using this repo dico and templates)
|
||||
|
||||
### FIXME
|
||||
Start with 3 fresh eolebase 2.6.2 instancied.
|
||||
|
||||
One for the Clustter Leader, another for the cluster Node another for the Arbitrator, the arbitrator can be replaced by another node.
|
||||
|
||||
The order is very important, Never configure a Node before the Leader ! The Leader must be the first one.
|
||||
|
||||
## Add the Cadoles repository on all the nodes and the Leader
|
||||
|
||||
GenConfig [Mode Expert] -> Dépôts Tiers
|
||||
|
||||
* Libellé du dépôt : Cadoles dev
|
||||
* Déclaration du dépôt : deb [ arch=all ] https://vulcain.cadoles.com 2.6.2-dev main
|
||||
* Méthode de récupération de la clé publique du dépôt : URL de la clé
|
||||
* URL de la clé : https://vulcain.cadoles.com/cadoles.gpg
|
||||
|
||||
## Add the MariaDB repository on all the nodes and the Leader
|
||||
|
||||
GenConfig (Mode Expert) -> Dépôt tiers :
|
||||
* Libellé du dépôt : MariaDB
|
||||
* Déclaration du dépôt : deb [arch=amd64] http://mariadb.mirrors.ovh.net/MariaDB/repo/10.2/ubuntu xenial main
|
||||
* Méthode de récupération de la clé publique du dépôt : serveur de clés
|
||||
* URL du serveur de clés : hkp://keyserver.ubuntu.com:80
|
||||
* Empreinte de la clé : 0xF1656F24C74CD1D8
|
||||
|
||||
## Configure the Leader :
|
||||
|
||||
GenConfig (Mode Normal) -> Services :
|
||||
* Activer le serveur de base de données MariaDB : oui
|
||||
|
||||
GenConfig (Mode Normal) -> Database :
|
||||
* Activer la mise en grappe MariaDB Galera ? : oui
|
||||
|
||||
GenConfig (Mode Normal) -> Database cluster :
|
||||
* Rôle dans la grappe : Leader
|
||||
* Interface réseau dédiée à la grappe BDD : eth0
|
||||
* Nom du noeud local : <THE NAME YOU WANT>
|
||||
* Membre de la grappe BDD :
|
||||
* Membre de la grappe BDD : <NAME OF THE LEADER>
|
||||
* Adresse IP : <IP OF THE LEADER>
|
||||
|
||||
* Membre de la grappe BDD : <NAME OF THE ARBITRATOR OR NODE>
|
||||
* Adresse IP : <IP OF THE NODE OR ARBITRATOR>
|
||||
* *Nom de la grappe : <NAME OF THE CLUSTER>
|
||||
|
||||
## Reconfigure Leader !
|
||||
Run reconfigure command !
|
||||
|
||||
## Configure the Nodes !
|
||||
|
||||
GenConfig (Mode Normal) -> Services :
|
||||
* Activer le serveur de base de données MariaDB : oui
|
||||
|
||||
GenConfig (Mode Normal) -> Database :
|
||||
* Activer la mise en grappe MariaDB Galera ? : oui
|
||||
|
||||
GenConfig (Mode Normal) -> Database cluster :
|
||||
* Rôle dans la grappe : Node
|
||||
* Interface réseau dédiée à la grappe BDD : eth0
|
||||
* Nom du noeud local : <THE NAME YOU WANT>
|
||||
* Membre de la grappe BDD :
|
||||
* Membre de la grappe BDD : <NAME OF THE LEADER>
|
||||
* Adresse IP : <IP OF THE LEADER>
|
||||
|
||||
* Membre de la grappe BDD : <NAME OF THE ARBITRATOR OR NODE>
|
||||
* Adresse IP : <IP OF THE NODE OR ARBITRATOR>
|
||||
* *Nom de la grappe : <NAME OF THE CLUSTER>
|
||||
|
||||
## Reconfigure the Nodes !
|
||||
Run reconfigure command on each node one by one.
|
||||
|
||||
## Configure the Arbitrator if needed !
|
||||
|
||||
If you have only 2 nodes you need to setup an arbitrator, for this follow the tutorial in the eole-galera-arbitrator project page https://forge.cadoles.com/Cadoles/eole-galera-arbitrator
|
||||
|
||||
|
||||
# How-to for Eole 2.6.2 (From scratch)
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<value>non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<family name="DataBase">
|
||||
<family name="Database">
|
||||
<variable name='dbEnableCluster' type='oui/non' description="Activer la mise en grappe MariaDB Galera ?">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -54,7 +54,7 @@
|
|||
</family>
|
||||
|
||||
<!-- Tunning -->
|
||||
<family name="DataBase Tunning" mode="expert">
|
||||
<family name="Database Tunning" mode="expert">
|
||||
<variable name="dbInnoDBBufferPoolPercentage" type="number" description="Pourcentage de mémoire à dédier à MariaDB">
|
||||
<value>20</value>
|
||||
</variable>
|
||||
|
@ -164,7 +164,7 @@
|
|||
<param>non</param>
|
||||
<target type='family'>Database</target>
|
||||
<target type='family'>Database Cluster</target>
|
||||
<target type='family'>DataBase Tunning</target>
|
||||
<target type='family'>Database Tunning</target>
|
||||
<target type='service_accesslist'>dbCluster</target>
|
||||
<target type='filelist'>dbTunning</target>
|
||||
<target type='filelist'>dbMariaDB</target>
|
||||
|
@ -201,7 +201,6 @@
|
|||
|
||||
<condition name='disabled_if_in' source="dbClusterPosition">
|
||||
<param>Node</param>
|
||||
<target type='variable'>dbCreateFixAdmin</target>
|
||||
<target type='variable'>accName</target>
|
||||
<target type='variable'>accLimits</target>
|
||||
<target type='variable'>accLimitTarget</target>
|
||||
|
|
Loading…
Reference in New Issue