@dadoonet thank you for your reply
what do you mean of "default values", if i use default value, how can i make the connection between master and slave?
@gabriel_tessier thank you for replying me
I just successfully make two node talk to each other and it is fine to allow copying index to data node.
Do you have any idea how can I back up index to data node and allow it reindex to master node.
I just able to copy index from master node to master node
As I understand you have 2 nodes that talk together, right?
You want to add a third one?
If so just do the same thing that you did for the second server on the third one and it will join!
As said here:
As I understand you have 2 nodes that talk together, right?
You want to add a third one?
If so just do the same thing that you did for the second server on the third one and it will join!
I am trying to provide a solution to prevent a situation like master node hardware damage.
Once the master node hardware damage and the data is total lost, I want to reinstall elasticsearch and get the data from data node not from database.
and I am trying to save the index in data node. But I only got two server
If you have 3 servers (not 2 because of the split brain) and 1 server die you still have the two other one so elastic is still running!
Then just start an empty server and it will join and replace the dead one!
@gabriel_tessier thank you for your suggestion
I tried to use the snapshot.
But I am not able to set the path.repo
I created a directory call backup in the path /root/backup
and I tried to chmod and chown for elasticsearch.
Try in a directory where elastic can write like var/log/elastic_snapsphot there's already logs here and elastic can access!
I'm not sure that you can write in /root.
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.