ElasticSearch License 过期解决办法


ElasticSearch License 过期解决办法

 ES 版本是 2.4.1 ,发现 license 过期了

 

登录下面网站,注册一个免费的 Licence

https://register.elastic.co/xpack_register

 

填写完后,会收到邮件。从邮件里找到下载地址

 http://license.elastic.co/registration/download/8d35db7d-2ab1-4e38-bdb7-f44d81dfc47c

 

下载完 License 后 查看 ES 版本对应的 License 方法

https://www.elastic.co/guide/en/x-pack/5.6/installing-license.html

主要分为两步

curl -XPUT 'http://ip:9202/_xpack/license' -H "Content-Type: application/json" -d @aimin-ding-dd24dc3e-7fcd-483a-8da6-623580a57708-v5.json

 

curl -XPUT 'http://ip:9202/_xpack/license?acknowledge=true' -H "Content-Type: application/json" -d @aimin-ding-dd24dc3e-7fcd-483a-8da6-623580a57708-v5.json

 

curl -XGET 'http://ip:9202/_xpack/license'


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM