# Are different OS versions supported in the same cluster?

**URL:** <https://discuss.elastic.co/t/are-different-os-versions-supported-in-the-same-cluster/70470>\
**Category:** Elasticsearch\
**Created:** [January 3, 2017, 6:58pm UTC](https://discuss.elastic.co/t/are-different-os-versions-supported-in-the-same-cluster/70470 "2017-01-03T18:58:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pshroads](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@pshroads](https://discuss.elastic.co/u/pshroads)\
**Post date:** [January 3, 2017, 6:58pm UTC](https://discuss.elastic.co/t/are-different-os-versions-supported-in-the-same-cluster/70470/1 "2017-01-03T18:58:52Z")

</div>

We have an 8 node cluster with all nodes running CentOS 6.5 and elasticsearch 1.7.5. We have purchased 10 new machines and want migrate off the 8 old nodes by adding the 10 new machines to the cluster and then removing the original 8.

However we also are planning on upgrading to elasticsearch 2.4.2 in the near future and would like to get the OS up to CentOS 7.1 as well. Since upgrading the OS is much more disruptive I was thinking of installing CentoOS 7.1 on the new machines before I add them to the cluster as long as there will not be any issues with having a cluster with CentOS 6.5 and 7.1 hosts (albeit only temporarily while we migrate off the old machines). Any thoughts and/or alternate approaches?

Thanks!

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [January 3, 2017, 7:55pm UTC](https://discuss.elastic.co/t/are-different-os-versions-supported-in-the-same-cluster/70470/2 "2017-01-03T19:55:41Z")

</div>

Generally speaking, this should not cause you any issues. Of course you might run into some configuration issues, but as soon as Elasticsearch is up, it should be fine.

---

<div class="post-metadata">

**Author:** ![xavierfacq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xavierfacq/32/8744_2.png) [@xavierfacq](https://discuss.elastic.co/u/xavierfacq)\
**Post date:** [January 3, 2017, 8:08pm UTC](https://discuss.elastic.co/t/are-different-os-versions-supported-in-the-same-cluster/70470/3 "2017-01-03T20:08:21Z")

</div>

Keep in mind that a shard created on a master 2.4.3 will not be able to be replicated on 1.7.5 node.

If I had to do that, I would:

- Install CentOS with the last version on your 10 news machines
- Install ES 2.4.3 on thoses new machines (7 data nodes, 3 master nodes)
- Add one by one your machines to your cluster (data nodes first)
- Stop old data notes
- Remove your old master node, a new master 2.4.3 will be elected

My 2 cents: test the manipulation on a test-platform 😉

---

<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:** [January 31, 2017, 8:08pm UTC](https://discuss.elastic.co/t/are-different-os-versions-supported-in-the-same-cluster/70470/4 "2017-01-31T20:08:42Z")

</div>

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