I'm running curator in every node in an N-node ELK cluster. Is there any
reason I wouldn't want to have the --master-only flag turned on?
If you delete an index from the master, it's still going to get deleted
from the other nodes right? I'm trying to understand why you would ever
not want to set this.
You are correct in understanding that indices are deleted completely,
regardless of where its shards may reside.
This flag exists so that curator + the cron jobs can be installed—usually
for configuration management reasons—on ALL nodes in the cluster, but only
actually execute when run on the elected master node (as opposed to
merely an eligible master node).
If you try to run curator with this flag and the IP & port it is pointed at
is not the elected master, it will not complete the operations you
specify, but will exit with a message indicating it was not run on the
elected master.
--Aaron
On Monday, September 22, 2014 2:43:10 PM UTC-5, Matt Hughes wrote:
I'm running curator in every node in an N-node ELK cluster. Is there any
reason I wouldn't want to have the --master-only flag turned on?
If you delete an index from the master, it's still going to get deleted
from the other nodes right? I'm trying to understand why you would ever
not want to set this.
In short, you are correct. You want that flag set on every node since
you've pushed curator to every node.
--Aaron
On Monday, September 22, 2014 4:00:41 PM UTC-5, Aaron Mildenstein wrote:
You are correct in understanding that indices are deleted completely,
regardless of where its shards may reside.
This flag exists so that curator + the cron jobs can be installed—usually
for configuration management reasons—on ALL nodes in the cluster, but only
actually execute when run on the elected master node (as opposed to
merely an eligible master node).
If you try to run curator with this flag and the IP & port it is pointed
at is not the elected master, it will not complete the operations you
specify, but will exit with a message indicating it was not run on the
elected master.
--Aaron
On Monday, September 22, 2014 2:43:10 PM UTC-5, Matt Hughes wrote:
I'm running curator in every node in an N-node ELK cluster. Is there any
reason I wouldn't want to have the --master-only flag turned on?
If you delete an index from the master, it's still going to get deleted
from the other nodes right? I'm trying to understand why you would ever
not want to set this.
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.