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'