# How do I undo a decommission of an IP?

**URL:** https://discuss.elastic.co/t/how-do-i-undo-a-decommission-of-an-ip/15500
**Category:** Elasticsearch
**Created:** [January 30, 2014, 2:44pm UTC](https://discuss.elastic.co/t/how-do-i-undo-a-decommission-of-an-ip/15500 "2014-01-30T14:44:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Martin\_Stabenfeldt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/martin_stabenfeldt/32/1360_2.png) [@Martin\_Stabenfeldt](https://discuss.elastic.co/u/Martin_Stabenfeldt)
#### Post date: [January 30, 2014, 2:44pm UTC](https://discuss.elastic.co/t/how-do-i-undo-a-decommission-of-an-ip/15500/1 "2014-01-30T14:44:14Z")

</div>

Hi,

I've decommissioned a node by it's IP.

curl -XPUT localhost:9200/\_cluster/settings -d '{  
"transient" : {  
"cluster.routing.allocation.exclude.\_ip" : "10.0.0.1"  
}  
}'

How can I remove that setting?  
I tried the same command but as a DELETE request. Didn't work. ☹

Cheers,  
Martin

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/52a5b623-012b-466f-827b-ebcd8358b095%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/52a5b623-012b-466f-827b-ebcd8358b095%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 30, 2014, 3:38pm UTC](https://discuss.elastic.co/t/how-do-i-undo-a-decommission-of-an-ip/15500/2 "2014-01-30T15:38:32Z")

</div>

Could you try if this is working?

curl -XPUT localhost:9200/\_cluster/settings -d '{  
"transient" : {  
"cluster.routing.allocation.exclude.\_ip" : ""  
}  
}'

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 30 janvier 2014 at 15:44:18, Martin Stabenfeldt ([martin@stabenfeldt.net](mailto:martin@stabenfeldt.net)) a écrit:

Hi,

I've decommissioned a node by it's IP.

curl -XPUT localhost:9200/\_cluster/settings -d '{  
"transient" : {  
"cluster.routing.allocation.exclude.\_ip" : "10.0.0.1"  
}  
}'  
How can I remove that setting?  
I tried the same command but as a DELETE request. Didn't work. ☹

## Cheers, Martin

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/52a5b623-012b-466f-827b-ebcd8358b095%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/52a5b623-012b-466f-827b-ebcd8358b095%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.52ea71f8.7fdcc233.45fa%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.52ea71f8.7fdcc233.45fa%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Martin\_Stabenfeldt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/martin_stabenfeldt/32/1360_2.png) [@Martin\_Stabenfeldt](https://discuss.elastic.co/u/Martin_Stabenfeldt)
#### Post date: [January 31, 2014, 8:35am UTC](https://discuss.elastic.co/t/how-do-i-undo-a-decommission-of-an-ip/15500/3 "2014-01-31T08:35:26Z")

</div>

It worked, thanks! 🙂

On Thu, Jan 30, 2014 at 4:38 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Could you try if this is working?
> 
> curl -XPUT localhost:9200/\_cluster/settings -d '{  
> "transient" : {  
> "cluster.routing.allocation.exclude.\_ip" : ""  
> }  
> }'
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 30 janvier 2014 at 15:44:18, Martin Stabenfeldt ([martin@stabenfeldt.net](mailto:martin@stabenfeldt.net))  
> a écrit:
> 
> Hi,
> 
> I've decommissioned a node by it's IP.
> 
> curl -XPUT localhost:9200/\_cluster/settings -d '{
> 
> ```
> "transient" : {
> 
> "cluster.routing.allocation.exclude._ip" : "10.0.0.1"
> 
> }
> 
> ```
> 
> }'
> 
> How can I remove that setting?  
> I tried the same command but as a DELETE request. Didn't work. ☹
> 
> ## Cheers, Martin
> 
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).
> 
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/52a5b623-012b-466f-827b-ebcd8358b095%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/52a5b623-012b-466f-827b-ebcd8358b095%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/MYfs\_r9QiKE/unsubscribe](https://groups.google.com/d/topic/elasticsearch/MYfs_r9QiKE/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/etPan.52ea71f8.7fdcc233.45fa%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.52ea71f8.7fdcc233.45fa%40MacBook-Air-de-David.local)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Martin Stabenfeldt  
Tlf: +47 93441707

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPVOyGnNq0F5DnrJ2p0xxDD60EKj7Pj%2BD3KY%2B7n5zyzVUhdP9g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPVOyGnNq0F5DnrJ2p0xxDD60EKj7Pj%2BD3KY%2B7n5zyzVUhdP9g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 1:53am UTC](https://discuss.elastic.co/t/how-do-i-undo-a-decommission-of-an-ip/15500/4 "2017-07-06T01:53:44Z")

</div>


