# Elasticsearch persistent cluster settings not apply?

**URL:** https://discuss.elastic.co/t/elasticsearch-persistent-cluster-settings-not-apply/80683
**Category:** Elasticsearch
**Created:** [March 30, 2017, 1:19pm UTC](https://discuss.elastic.co/t/elasticsearch-persistent-cluster-settings-not-apply/80683 "2017-03-30T13:19:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![viewsite](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/viewsite/32/27140_2.png) [@viewsite](https://discuss.elastic.co/u/viewsite)
#### Post date: [March 30, 2017, 1:19pm UTC](https://discuss.elastic.co/t/elasticsearch-persistent-cluster-settings-not-apply/80683/1 "2017-03-30T13:19:55Z")

</div>

Hi, i have a question on Cluster Update Settings

i create a 2-node cluster and write some data to it. The shards of index is distributed across two nodes.  
then i put the setting below to the cluster to exclude one node.

```
curl -XPUT http://1.1.1.1:18437/_cluster/settings?pretty -d '
{
  "persistent" : {
    "cluster.routing.allocation.exclude._ip": "1.1.1.1"
  }
}'

```

and i got acknowledge response. but it doesn't takes effect. the shard of the node 1.1.1.1 is still working and not being reallocated.

but it works well like settings below

```
curl -XPUT http://1.1.1.1:18437/_cluster/settings?pretty -d '
{
  "transient" : {
    "cluster.routing.allocation.exclude._ip": "1.1.1.1"
  }
}'

```

i am afraid of losing my settings in case that the cluster restart so i want to put my settings in persistent module. why doesn't persistent cluster setting working like transient settings?

my elasticsearch version is 5.0.0

and above is all my settings

---

<div class="post-metadata">

### Author: ![ginger](https://avatars.discourse-cdn.com/v4/letter/g/34f0e0/32.png) [@ginger](https://discuss.elastic.co/u/ginger)
#### Post date: [April 1, 2017, 1:47am UTC](https://discuss.elastic.co/t/elasticsearch-persistent-cluster-settings-not-apply/80683/2 "2017-04-01T01:47:21Z")

</div>

I meet the same question.

Any suggestions would be appreciated : )

---

<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: [April 29, 2017, 1:47am UTC](https://discuss.elastic.co/t/elasticsearch-persistent-cluster-settings-not-apply/80683/3 "2017-04-29T01:47:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
