As per the documentation about registering a snapshot repository,
first, I am supposed to add following to elasticsearch.yml file. i understand that I can store backup on my network drive which would be the location here.
But I have a three node cluster. I am not sure if I am supposed to add this to all three elasticsearch.yml (for each node) files. can anyone please clear this confusion?
What is the confusion? According to the same documentation page:
To register a shared file system repository, first mount the file system to the same location on all master and data nodes. Then add the file system’s path or parent directory to the path.repo setting in elasticsearch.yml for each master and data node. For running clusters, this requires a rolling restart of each node.
You need to add the shared filesystem in each node of your cluster.
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.