ajout infos pour licence X-Pack (merci à Grégory L. pour le partage de la procédure !)

This commit is contained in:
Gregory Colpart 2018-07-18 18:34:10 +02:00
parent bc54e00c74
commit 272a24497d

View file

@ -726,3 +726,20 @@ 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
~~~
### Licence X-Pack
Le module propriétaire X-Pack nécessite une licence pour une utilisation avancée, voici la procédure :
~~~
$ curl -XPUT 'http://127.0.0.1:9200/_xpack/license' -H "Content-Type: application/json" -d @license.json
{"acknowledged":true,"license_status":"valid"}
$ curl -XGET 'http://127.0.0.1:9200/_xpack/license'
~~~
> *Note* : si l'authentification est activée, on ajoutera l'option pour préciser un utilisateur `-u jdoe`