I have been implementing an ELK setup for out logging platform and as part of this I decided to do some DR testing. I terminated our master node and it rebuilt automatically, however when it rebuilt it rejoined the cluster as the master node fine, however did not recover any indexes.
I have read a fair bit online and not really found any clear answer here.
Is it possible to have 1 master node, to lose this and to recover all data? If so, how can it be implemented?
The configs are pretty basic, just stating data/master only and also the ec2 discovery settings .
I've been able to resimulate a master failure and I had a similar outcome. I had the danlging indices setting set to yes on the nodes and when the master rebuilt, i got:
curl 'localhost:9200/_cat/indices?v'
health status index pri rep docs.count docs.deleted store.size pri.store.size
We terminated the master EC2 instance and another was rebuilt with the same configuration .YML file in place, it took over as the master node however did not recognise the indices on the node.
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.