# Elasticsearch multiple nodes - index not working

**URL:** <https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093>\
**Category:** Elasticsearch\
**Created:** [December 29, 2015, 6:48am UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093 "2015-12-29T06:48:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesRadar](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JamesRadar](https://discuss.elastic.co/u/JamesRadar)\
**Post date:** [December 29, 2015, 6:48am UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093/1 "2015-12-29T06:48:16Z")

</div>

Hi,

I have a little problem. I started multiple nodes on one machine in one cluster.

But now if i want to create index. It isn't working.

```
 {
     "settings" : {
            "index" : {
                "number_of_shards" : 3,
                "number_of_replicas" : 2
            }
        }
}

```

Upper is index mapping.  
Response is ok.

```
{
  "acknowledged": true
}

```

but in head plugin its look like this.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/2/2c92e78a500c89fcf67e6d454bef7bb7edc5b528.png)

Configs look like this

```
node.name: testnode1
network.host: 127.0.0.1

```

All others settings is set to default.

Is there any other settings which i have to use to working multiple nodes on one machine? If there is, i can't find it. Can you help me please?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 29, 2015, 6:56am UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093/2 "2015-12-29T06:56:38Z")

</div>

What version?

---

<div class="post-metadata">

**Author:** ![JamesRadar](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JamesRadar](https://discuss.elastic.co/u/JamesRadar)\
**Post date:** [December 29, 2015, 7:11am UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093/3 "2015-12-29T07:11:00Z")

</div>

Sorry:)

```
"cluster_name": "devel",
"version": {
"number": "2.1.1",
"build_hash": "40e2c53a6b6c2972b3d13846e450e66f4375bd71",
"build_timestamp": "2015-12-15T13:05:55Z",
"build_snapshot": false,
"lucene_version": "5.3.1"
```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 29, 2015, 7:45am UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093/4 "2015-12-29T07:45:37Z")

</div>

So your nodes have clustered, but they aren't allocating anything.  
What do the logs show?

---

<div class="post-metadata">

**Author:** ![JamesRadar](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JamesRadar](https://discuss.elastic.co/u/JamesRadar)\
**Post date:** [December 29, 2015, 8:19am UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093/5 "2015-12-29T08:19:53Z")

</div>

```
[2015-12-29 07:45:37,743][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [Lto6D9yVS0W8sTCHwI9sbQ][testnode2][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/1] free: 11.5gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:45:37,743][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [9391X5dqSsSTog57ys5GQA][testnode1][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/0] free: 11.5gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:45:37,743][INFO][cluster.routing.allocation.decider] [testnode1] rerouting shards: [high disk watermark exceeded on one or more nodes]
[2015-12-29 07:45:37,746][INFO][http] [testnode2] publish_address {127.0.0.1:9201}, bound_addresses {127.0.0.1:9201}
[2015-12-29 07:45:37,746][INFO][node] [testnode2] started
[2015-12-29 07:45:41,632][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [Lto6D9yVS0W8sTCHwI9sbQ][testnode2][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/1] free: 11.5gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:45:41,633][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [9391X5dqSsSTog57ys5GQA][testnode1][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/0] free: 11.5gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:45:51,347][INFO][cluster.metadata] [testnode1] [twitter] deleting index
[2015-12-29 07:45:56,157][INFO][cluster.metadata] [testnode1] [twitter] creating index, cause [api], templates [], shards [3]/[2], mappings []
[2015-12-29 07:46:11,634][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [Lto6D9yVS0W8sTCHwI9sbQ][testnode2][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/1] free: 11.5gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:46:11,634][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [9391X5dqSsSTog57ys5GQA][testnode1][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/0] free: 11.5gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:46:41,635][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [Lto6D9yVS0W8sTCHwI9sbQ][testnode2][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/1] free: 11.4gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:46:41,635][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [9391X5dqSsSTog57ys5GQA][testnode1][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/0] free: 11.4gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:46:41,635][INFO][cluster.routing.allocation.decider] [testnode1] rerouting shards: [high disk watermark exceeded on one or more nodes]
[2015-12-29 07:47:11,637][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [Lto6D9yVS0W8sTCHwI9sbQ][testnode2][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/1] free: 11.4gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:47:11,637][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [9391X5dqSsSTog57ys5GQA][testnode1][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/0] free: 11.4gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:47:41,637][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [Lto6D9yVS0W8sTCHwI9sbQ][testnode2][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/1] free: 11.4gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:47:41,637][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [9391X5dqSsSTog57ys5GQA][testnode1][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/0] free: 11.4gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:47:41,637][INFO][cluster.routing.allocation.decider] [testnode1] rerouting shards: [high disk watermark exceeded on one or more nodes]
[2015-12-29 07:48:11,638][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [Lto6D9yVS0W8sTCHwI9sbQ][testnode2][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/1] free: 11.4gb[4.9%], shards will be relocated away from this node
[2015-12-29 07:48:11,639][WARN][cluster.routing.allocation.decider] [testnode1] high disk watermark [90%] exceeded on [9391X5dqSsSTog57ys5GQA][testnode1][/Users/jakubvrchota/Documents/elasticsearch/data/devel/nodes/0] free: 11.4gb[4.9%], shards will be relocated away from this node
```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 29, 2015, 9:11am UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093/6 "2015-12-29T09:11:12Z")

</div>

There's your answer then, you need more disk space.

---

<div class="post-metadata">

**Author:** ![JamesRadar](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JamesRadar](https://discuss.elastic.co/u/JamesRadar)\
**Post date:** [December 29, 2015, 10:23am UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093/7 "2015-12-29T10:23:21Z")

</div>

Can I set shards max size?

I think that 11gb will be enough.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 29, 2015, 8:30pm UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093/8 "2015-12-29T20:30:18Z")

</div>

No, you need to control that yourself.

---

<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:28pm UTC](https://discuss.elastic.co/t/elasticsearch-multiple-nodes-index-not-working/38093/9 "2017-07-05T23:28:01Z")

</div>


