Downgrading from Gold licence to basic license

We have a cluster with ES 7.1 where we use gold licence. We have

  1. native authentication realm (order 0) and pki realm (order 1) as auth mechanisms.
  2. xpack.security.enabled: true in elasticsearch.yaml
    Now we have decided to downgrade our cluster to basic licence. I read here https://www.elastic.co/guide/en/elasticsearch/reference/current/update-license.html that all we need to do is fire an update licence command on kibana to do this with 0 downtime.

In this downgrade process my doubt is that

  1. By default xpack is disable in basic licence. So after firing update licence command would i need to restart the elastic search service in order for ES to read the property again as set in elastic search yaml ?
  2. I understand that pki is not available in basic but do i need to remove pki related properties from my elasticsearch.yaml? Or can they stay and basic licence would just make them useless rather than throwing errors around how it does not understand what pki means in elastic search. yaml
  1. No, that is not correct
  2. They should be ignored, but it'd make sense to remove them if you can
1 Like

Thanks for the quick response Mark!

So if we are not using any other gold feature then downgrading from gold to basic is as simple as running one Kibana update license command. And with zero downtime. Nothing else need to be done. Right?

Yes, that should be all you need to do.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.