The enrollment token only works when you enable security and use the automated configuration.
You disabled security with xpack.security.enabled: false and are using a third-party security plugin, so enrollment token will not work for obvious reasons, it is a Elastic feature that relies on Elastic security.
Since you are using a third party security plugin you need to check with Search Guard how to add new nodes.
Hi @leandrojmp ,
Thanks for your feed back. When I did `xpack.security.enabled: true. Then ES service fails.
Can you please elaborate more, how can I add new nodes to cluster.
Which file I have to change/edit and what to edit.
It will be great if you can share some detailed steps.
I have installed ES8.7.1 on three servers.
They are related to the Search Guard plugin which is not made by Elastic and is not supported on this forum, not sure what instructions you followed, but you need to check in a Search Guard forum on how to add new nodes.
Is not sure where this come from or what instructions are you following, but they are not official instructions by Elastic.
The Elastic instructions when you do not use third-party plugins for security are here.
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.