I have created a 3 node cluster. I have not mentioned cluster name or node name . It's using the default cluster name elasticsearch and node name of the Linux system. Initially I formed the cluster using the enrollment token,it doesn't work now gives me Unable to create token error. Now I want to add a new node manually. I know to make the yml changes same as other nodes. In the yaml added xpack.security.enrollment.enabled: false and
xpack.security.autoconfiguration.enabled: false
I have also not mentioned cluster name and node name here. Will this approach be correct @stephenb
Also even if I make the node name and cluster name change, how and what restart steps I should follow to avoid to break the cluster unmesscary. @stephenb
Read the first article and Skipped the enrollment token steps and decided to set up the node manually changing the Yaml
Please note I have not started my 4th node yet . Want to verify the Yaml first before starting the node. Also I want to know the process of restarting the nodes when I make a cluster name and node name change.
Do I shut off all nodes and restart one by one or change the cluster name on each node and restart it?
I'm using Version 8.17.0
Thanking the community for the help well in advance
When renaming a cluster requires full restart... Ie shut down entire cluster then start them... You can do 1 by one but you should be able to start them all and if properly configured the cluster will sort itself out
Technically now that the node is started I believe you can take them out... OTOH leaving them in does no harm and may remind you when you add another node what to do.
Easy way to check...
Take them out and restart the node and make sure it joins again
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.