From 18ce58a9ac3bc6b95c8b4c8a4eb787c6cccc96db Mon Sep 17 00:00:00 2001 From: Eric Morino Date: Fri, 27 Jan 2023 16:20:23 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20configuration=20des=20serveurs=20du=20c?= =?UTF-8?q?luster=20+=20d=C3=A9marrage=20via=20systemd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoMySQL/Orchestrator.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/HowtoMySQL/Orchestrator.md b/HowtoMySQL/Orchestrator.md index f627c71b..763d38c1 100644 --- a/HowtoMySQL/Orchestrator.md +++ b/HowtoMySQL/Orchestrator.md @@ -76,4 +76,17 @@ GRANT SELECT ON mysql.slave_master_info TO 'orchestrator_client'@'orchestrator_h GRANT SELECT ON ndbinfo.processes TO 'orchestrator_client'@'orchestrator_host'; -- seulement pour un cluster NDB ~~~ +> `REPLICATION SLAVE` est requis pour `SHOW SLAVE HOSTS`, and pour scanner les binlogs si on utilise les `Pseudo GTID`. `RELOAD` est requis pour pourvoir faire un `RESET SLAVE`. `PROCESS` est requis pour surveiller les process des réplicas avec `SHOW PROCESSLIST`. +On configure le fichier `/etc/orchestrator.conf.json` avec les variables suivantes pour indiquer l'utilisateur `orchestrator_client` : + +~~~ +"MySQLTopologyUser": "orchestrator_client", +"MySQLTopologyPassword": "password", +~~~ + +Ensuite on peux démarrer Orchestrator comme ceci : + +~~~ +# systemctl start orchestrator.service +~~~