# Server migration recommendation? 3 nodes to 4 nodes

**URL:** <https://discuss.elastic.co/t/server-migration-recommendation-3-nodes-to-4-nodes/130731>\
**Category:** Elasticsearch\
**Created:** [May 6, 2018, 7:20am UTC](https://discuss.elastic.co/t/server-migration-recommendation-3-nodes-to-4-nodes/130731 "2018-05-06T07:20:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![smlbiobot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlbiobot/32/29622_2.png) [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Post date:** [May 6, 2018, 7:20am UTC](https://discuss.elastic.co/t/server-migration-recommendation-3-nodes-to-4-nodes/130731/1 "2018-05-06T07:20:10Z")

</div>

Hi, right now my production servers consist of 3 nodes: A, B, C. I would like to add E, D and then get rid of A. What’s the best way to achieve this?

If I simply add E, D with the existing config and then remove A from the cluster when the status is green, would that work? My hunch is that it should but I would like to verify this before I proceed.

Thanks!

---

<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:** [May 6, 2018, 8:36am UTC](https://discuss.elastic.co/t/server-migration-recommendation-3-nodes-to-4-nodes/130731/2 "2018-05-06T08:36:34Z")

</div>

> [@smlbiobot](#):
>
> If I simply add E, D with the existing config and then remove A from the cluster when the status is green, would that work? My hunch is that it should but I would like to verify this before I proceed.

It will indeed.

---

<div class="post-metadata">

**Author:** ![smlbiobot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlbiobot/32/29622_2.png) [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Post date:** [May 6, 2018, 12:20pm UTC](https://discuss.elastic.co/t/server-migration-recommendation-3-nodes-to-4-nodes/130731/3 "2018-05-06T12:20:13Z")

</div>

Thanks — that’s handy!

When should I add the `discovery.zen.minimum_master_nodes: 3` settings, which is currently set to `2`? Should I add it to the 4th instance and then reboot the original 3?

---

<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:** [May 6, 2018, 9:48pm UTC](https://discuss.elastic.co/t/server-migration-recommendation-3-nodes-to-4-nodes/130731/4 "2018-05-06T21:48:03Z")

</div>

Yep. You can also change it via API in the short term so you are protected along the way.

---

<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:** [June 3, 2018, 9:48pm UTC](https://discuss.elastic.co/t/server-migration-recommendation-3-nodes-to-4-nodes/130731/5 "2018-06-03T21:48:05Z")

</div>

Closed on June 3, 2018, 9:48pm UTC

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