# Cluster.routing.allocation.enable" : "none"

**URL:** https://discuss.elastic.co/t/cluster-routing-allocation-enable-none/53856
**Category:** Elasticsearch
**Created:** [June 24, 2016, 6:51am UTC](https://discuss.elastic.co/t/cluster-routing-allocation-enable-none/53856 "2016-06-24T06:51:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dom\_Sie](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@Dom\_Sie](https://discuss.elastic.co/u/Dom_Sie)
#### Post date: [June 24, 2016, 6:51am UTC](https://discuss.elastic.co/t/cluster-routing-allocation-enable-none/53856/1 "2016-06-24T06:51:33Z")

</div>

Hi,

we use ES 1.4.4 and we want to upgrade our memory at the 10 Datastore, 2 Clients, 3 Proxys and 3 Master Server.  
Before we do this i want to disable the shard allocation und enable it after the hardware upgrade.  
I want to do this with:

PUT /\_cluster/settings  
{  
"transient" : {  
"cluster.routing.allocation.enable" : "none"  
}  
}

AND

PUT /\_cluster/settings  
{  
"transient" : {  
"cluster.routing.allocation.enable" : "all"  
}  
}

But,  
the query alert an request error.  
I am use the rest API of the head plugin and have no idea why i cant use this query.  
Can anyone please help me?

---

<div class="post-metadata">

### Author: ![mvg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvg/32/98890_2.png) [@mvg](https://discuss.elastic.co/u/mvg)
#### Post date: [June 24, 2016, 8:57am UTC](https://discuss.elastic.co/t/cluster-routing-allocation-enable-none/53856/2 "2016-06-24T08:57:25Z")

</div>

Can you share the errors being returned when executing these two requests?  
Also do you see any errors related to this in the logs?

---

<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, 10:40pm UTC](https://discuss.elastic.co/t/cluster-routing-allocation-enable-none/53856/3 "2017-07-05T22:40:49Z")

</div>


