Hi Everyone,
Several years ago, "shield" installed to one of our new customer's elasticsearch(v5.5) servers by an old employee and it's licence expired long time ago.
On here they have 10 servers as cluster structure. They want from us export their old indexed data.
Firstly we added these 2 lines at the end of elasticsearch.yml config for bypass the shield.
shield.enabled: false
xpack.security.enabled: false
(Added two in a row for be sure bypass the shield)
After add the lines and restart services it works for 8 servers. But on 2 servers the elasticsearch service didn't start again.
The log is below
"""
[2020-01-23 12:10:32,899][ERROR][shield.action ] [node2] blocking [cluster:monitor/health] operation due to expired license. Cluster health, cluster stats and indices stats
operations are blocked on shield license expiration. All data operations (read and write) continue to work.
If you have a new license, please update it. Otherwise, please reach out to your support contact.
[2020-01-23 12:10:35,421][ERROR][shield.action ] [node2] blocking [cluster:monitor/health] operation due to expired license. Cluster health, cluster stats and indices stats
operations are blocked on shield license expiration. All data operations (read and write) continue to work.
If you have a new license, please update it. Otherwise, please reach out to your support contact.
[2020-01-23 12:10:37,946][ERROR][shield.action ] [node2] blocking [cluster:monitor/health] operation due to expired license. Cluster health, cluster stats and indices stats
operations are blocked on shield license expiration. All data operations (read and write) continue to work.
If you have a new license, please update it. Otherwise, please reach out to your support contact.
[2020-01-23 12:10:40,464][ERROR][shield.action ] [node2] blocking [cluster:monitor/health] operation due to expired license. Cluster health, cluster stats and indices stats
operations are blocked on shield license expiration. All data operations (read and write) continue to work.
If you have a new license, please update it. Otherwise, please reach out to your support contact.
[2020-01-23 12:10:42,982][ERROR][shield.action ] [node2] blocking [cluster:monitor/health] operation due to expired license. Cluster health, cluster stats and indices stats
operations are blocked on shield license expiration. All data operations (read and write) continue to work.
If you have a new license, please update it. Otherwise, please reach out to your support contact.
[2020-01-23 12:10:45,501][ERROR][shield.action ] [node2] blocking [cluster:monitor/health] operation due to expired license. Cluster health, cluster stats and indices stats
operations are blocked on shield license expiration. All data operations (read and write) continue to work.
If you have a new license, please update it. Otherwise, please reach out to your support contact.
[2020-01-23 12:10:48,033][ERROR][shield.action ] [node2] blocking [cluster:monitor/health] operation due to expired license. Cluster health, cluster stats and indices stats
operations are blocked on shield license expiration. All data operations (read and write) continue to work.
If you have a new license, please update it. Otherwise, please reach out to your support contact.
[2020-01-23 12:10:50,560][ERROR][shield.action ] [node2] blocking [cluster:monitor/health] operation due to expired license. Cluster health, cluster stats and indices stats
operations are blocked on shield license expiration. All data operations (read and write) continue to work.
If you have a new license, please update it. Otherwise, please reach out to your support contact.
[2020-01-23 12:10:52,623][INFO ][node ] [node2] stopping ...
[2020-01-23 12:10:52,843][INFO ][node ] [node2] stopped
[2020-01-23 12:10:52,844][INFO ][node ] [node2] closing ...
[2020-01-23 12:10:52,853][INFO ][node ] [node2] closed
"""
I got new licence but on licence installation instructions says: "xput licence.json file to ip:9200" --> https://www.elastic.co/guide/en/x-pack/5.5/installing-license.html
But cause of service failed I can't do that.
Is there any way for update licence without service is up (like as copy new licence to /etc/elasticsearch/.../licence.json file manually) and restart service after that?
Or what are your advices for this problem? Because this problem may be caused by something else (such as cluster node problem).
Thank you so much to all.
Best regards.