Delete_all_indicies

Hi,
Running 15 node ElasticSearch 0.19.11 cluster on EC2. I'd like to set
the delete_all_indicies option to prevent anyone from doing that. Two
questions.

  1. What's the correct way to set that flag? That goes in elasticsearch.yml?
    Is it as simple as:

action.disable_delete_all_indices: true

  1. Is there a way to set that without restarting servers? Do I need to
    restart all the servers in the cluster for that option to take effect?

Thanks.

-Sean

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hello Sean,

On Mon, Mar 11, 2013 at 5:57 PM, VegHead organicveggie@gmail.com wrote:

Hi,
Running 15 node Elasticsearch 0.19.11 cluster on EC2. I'd like to set
the delete_all_indicies option to prevent anyone from doing that. Two
questions.

  1. What's the correct way to set that flag? That goes in
    elasticsearch.yml? Is it as simple as:

action.disable_delete_all_indices: true

Yes, it's that simple :slight_smile:

  1. Is there a way to set that without restarting servers? Do I need to
    restart all the servers in the cluster for that option to take effect?

Yes, unfortunately you'll have to restart Elasticsearch for these changes
to take effect. If you have a bigger cluster, and only one or two nodes
with HTTP enabled which get hit by requests directly, I guess it's fine to
only restart those nodes. I haven't tested it, but it should be enough.

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.