From a5a7b6dfb68d679745c8435af6c7646e743caebd Mon Sep 17 00:00:00 2001 From: jlecour Date: Fri, 31 Jan 2020 15:37:14 +0100 Subject: [PATCH] ajout de la partie recovery --- HowtoElasticsearch.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/HowtoElasticsearch.md b/HowtoElasticsearch.md index 84269ff4..2b41f3c2 100644 --- a/HowtoElasticsearch.md +++ b/HowtoElasticsearch.md @@ -1035,6 +1035,14 @@ Par exemple sur un cluster avec un seul nœud, on ne veut pas de replica. On pre # for index in $(curl 127.0.0.1:9200/_cat/indices/?h=index&health=yellow); do curl -X PUT 127.0.0.1:9200/$index/_settings -H 'Content-Type: application/json' -d '{ "index": {"number_of_replicas": 0} }'; done ~~~ +### Consulter l'état du recovery + +Cette requête donnera une vision sur l'état des synchro et d'éntuelles opérations de recovery : + +~~~ +# curl -s 127.0.0.1:9200/_cat/recovery?v +~~~ + ### Licence X-Pack Le module propriétaire X-Pack nécessite une licence pour une utilisation avancée, voici la procédure :