# ElasticSearch Curator

**URL:** <https://discuss.elastic.co/t/elasticsearch-curator/33843>\
**Category:** Elasticsearch\
**Created:** [November 5, 2015, 9:22am UTC](https://discuss.elastic.co/t/elasticsearch-curator/33843 "2015-11-05T09:22:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)\
**Post date:** [November 5, 2015, 9:22am UTC](https://discuss.elastic.co/t/elasticsearch-curator/33843/1 "2015-11-05T09:22:41Z")

</div>

Hi All,

I have implemented elastic search curator and i have installed on my node1 for implementations.I am specifying ip and port of elastic search since local host is not reachable.  
The following is the command for curator i am running to take backup of entire cluster with all indices.

curator --host 10.0.20.2 --port 9200 --logfile /tmp/curator\_snapshot.log --loglevel WARN --master-only snapshot --repository es\_new indices --all-indices

so here i installed curator on node1 only.

1. Do i need to install curator on each node? If no need to install curator on each node, what is the process of curator will it pickup master by default and perform snapshot operation?

Let say i am specifying master node ip it could be fine with out specifying --master-only parameter

I read in curator docs about --master-only feature tell cluster to create snapshot from master node only.

let say the ip specified in curator is not master node ip but i am giving create snapshot from master only using (--master-only). in this case what is the approach of curator?

please help me out to understand curator.

Thanks & Regards,  
phani

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 5, 2015, 12:06pm UTC](https://discuss.elastic.co/t/elasticsearch-curator/33843/2 "2015-11-05T12:06:06Z")

</div>

> Do i need to install curator on each node?

No.

> If no need to install curator on each node, what is the process of curator will it pickup master by default and perform snapshot operation?  
> Let say i am specifying master node ip it could be fine with out specifying --master-only parameter

The point of the `--master-only` option is to only run the actions if the node you're connecting to is the master node. That way you can have a cron job with Curator on each machine in the cluster but only one of the Curator processes will actually do anything (the rest will say "nope, this isn't the master node, good bye"). The point is of course that you can take down any node in the cluster without affecting your Curator jobs.

---

<div class="post-metadata">

**Author:** ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)\
**Post date:** [November 17, 2015, 5:09am UTC](https://discuss.elastic.co/t/elasticsearch-curator/33843/3 "2015-11-17T05:09:06Z")

</div>

Hi Magnus,

Thank you for the reply. if i installed curator on node1 if node1 is goes down i observed that it is not taking snapshots to the specified node host because it is down so how can we achieve the fail over to take snapshots.

Thanks & Regards,  
phani

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 17, 2015, 6:47am UTC](https://discuss.elastic.co/t/elasticsearch-curator/33843/4 "2015-11-17T06:47:19Z")

</div>

Run Curator on all hosts in the cluster and use the `--master-only` option as I explained earlier.

---

<div class="post-metadata">

**Author:** ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)\
**Post date:** [March 7, 2016, 7:15am UTC](https://discuss.elastic.co/t/elasticsearch-curator/33843/5 "2016-03-07T07:15:52Z")

</div>

Hi Magnus,

Yes it is working fine thank you for the support.

Phani

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:10pm UTC](https://discuss.elastic.co/t/elasticsearch-curator/33843/6 "2017-07-05T23:10:49Z")

</div>


