I want to test what happens when my license runs out on 5.6.
We currently have a prospect whose license will run out soon so I thought a good way to simulate this was to locally set up an Elastic 5.6 environment in a VM and try to let the license run out there.
However I have not found a way to do this.
I have a few questions:
Any way I can test this myself?
Does anyone know what happens when the license runs out on an elastic 5.6 instance?
To test it you would need a license, but 5.6 is too old, I'm not sure a trial license exists for it.
When the license expires the features that requires a license will stop working, including in this case the security features.
If I'm not wrong you will need to stop the cluster, remove the x-pack plugin, and start it again, not sure if it continues to work with a license expired because things were different in 5.6.
But since you have a valid license, You may be able to reach support.
I have not used it in a very long time, but if I remember correctly I believe some APIs, e.g. monitoring and stats, will become disabled and this will affect Kibana. Traffic will still be encrypted but it will be difficult to work with the cluster. Not sure about other commercial features.
The basic license was not introduced until Elasticsearch 6.8 so does not apply to your version. Security was a pure commercial feature in Elasticsearch 5.x.
There is as far as I know no basic license available for that version. If you want to use a basic license you need to upgrade to Elasticsearch 6.8 or later.
I had not seen this before and have never used that page. In that case I would recommend setting up a test cluster and apply the received license there to see what happens as the docs seem to be light on details.
I don't think there's a definitive place that lists what was included in basic in 5.6, but it definitely wasn't a lot (and definitely wasn't security).
The license expiration page I linked to is the most authoritative statement of what will happen when the license expires. It may not be perfect, but it will be better than our rough recollections.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.