# Hot/Warm Architecture - Two nodes on the same server

**URL:** https://discuss.elastic.co/t/hot-warm-architecture-two-nodes-on-the-same-server/170506
**Category:** Elasticsearch
**Created:** [March 1, 2019, 1:28pm UTC](https://discuss.elastic.co/t/hot-warm-architecture-two-nodes-on-the-same-server/170506 "2019-03-01T13:28:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stevesimpson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stevesimpson/32/41437_2.png) [@stevesimpson](https://discuss.elastic.co/u/stevesimpson)
#### Post date: [March 1, 2019, 1:28pm UTC](https://discuss.elastic.co/t/hot-warm-architecture-two-nodes-on-the-same-server/170506/1 "2019-03-01T13:28:44Z")

</div>

Hi there,

Is it technically possible to run multiple elasticsearch nodes on the same physical server? For example in a Hot/Warm architecture could we fill a chassis with half SSD's and half HDD's and run a Hot node and Warm node side-by-side? Then scale the cluster horizontally adding new servers with a Hot and Warm node on each?

Is this recommended? What would be the drawbacks apart from the obvious sharing of hardware resource and high availability if a server dies? Has anyone out there attempted this or something similar before?

Thanks  
Steve

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [March 1, 2019, 1:42pm UTC](https://discuss.elastic.co/t/hot-warm-architecture-two-nodes-on-the-same-server/170506/2 "2019-03-01T13:42:56Z")

</div>

> [@stevesimpson](#):
>
> Is this recommended? What would be the drawbacks apart from the obvious sharing of hardware resource and high availability if a server dies? Has anyone out there attempted this or something similar before?

Yes, it's technically possible, and people do do this. The main drawbacks are as you describe. You should set [`cluster.routing.allocation.same_shard.host`](https://www.elastic.co/guide/en/elasticsearch/reference/current/shards-allocation.html) to `true` to avoid having two copies of the same shard on the same host.

---

<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: [March 29, 2019, 1:43pm UTC](https://discuss.elastic.co/t/hot-warm-architecture-two-nodes-on-the-same-server/170506/3 "2019-03-29T13:43:02Z")

</div>

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