# Two nodes on one physical machine

**URL:** https://discuss.elastic.co/t/two-nodes-on-one-physical-machine/70808
**Category:** Elasticsearch
**Created:** [January 6, 2017, 6:08pm UTC](https://discuss.elastic.co/t/two-nodes-on-one-physical-machine/70808 "2017-01-06T18:08:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![seth.yes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seth.yes/32/11788_2.png) [@seth.yes](https://discuss.elastic.co/u/seth.yes)
#### Post date: [January 6, 2017, 6:08pm UTC](https://discuss.elastic.co/t/two-nodes-on-one-physical-machine/70808/1 "2017-01-06T18:08:02Z")

</div>

_I know this topic has been discussed before, but please bear with me as my use case is different than anything I've found on the forums._

I have new machines I'm joining to Elasticsearch. They contain about 500GB of SSDs and 5.5TB of HDDs.

I'm hoping to setup a warm/hot architecture as seen in this [blog post](https://www.elastic.co/blog/managing-time-based-indices-efficiently).

The issue comes about when I want to shrink a hot index, thereby reallocating it from the SSDs (one mount pointed to /elasticsearch/hot/) to the HDDs (another mount pointed to /elasticsearch/warm/). It appears I need two nodes running on the same machine in order to perform this operation and utilize both the warm and hot storage.

Is this supported? Would I be better off Dockerizing my ES instances? Any help is greatly appreciated.

ES: 5.1.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: [January 6, 2017, 11:05pm UTC](https://discuss.elastic.co/t/two-nodes-on-one-physical-machine/70808/2 "2017-01-06T23:05:32Z")

</div>

> [@seth.yes](#):
>
> Is this supported?

Yes.

> [@seth.yes](#):
>
> Would I be better off Dockerizing my ES instances?

If that works for you, it makes sense 🙂

---

<div class="post-metadata">

### Author: ![seth.yes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seth.yes/32/11788_2.png) [@seth.yes](https://discuss.elastic.co/u/seth.yes)
#### Post date: [January 6, 2017, 11:29pm UTC](https://discuss.elastic.co/t/two-nodes-on-one-physical-machine/70808/3 "2017-01-06T23:29:13Z")

</div>

Thanks @warkolm. I'd prefer to use the native Elasticsearch functionality. Do you have a link to how I go about setting this up? I'm not too familiar with Docker at the moment..

---

<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: [January 7, 2017, 4:50am UTC](https://discuss.elastic.co/t/two-nodes-on-one-physical-machine/70808/4 "2017-01-07T04:50:50Z")

</div>

Have a read through [https://www.elastic.co/guide/en/elasticsearch/reference/5.1/setup.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.1/setup.html)

---

<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: [February 4, 2017, 4:50am UTC](https://discuss.elastic.co/t/two-nodes-on-one-physical-machine/70808/5 "2017-02-04T04:50:58Z")

</div>

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