# Scale an elasticsearch+xpack single node to a 3 node cluster

**URL:** <https://discuss.elastic.co/t/scale-an-elasticsearch-xpack-single-node-to-a-3-node-cluster/135533>\
**Category:** Elasticsearch\
**Created:** [June 12, 2018, 12:26pm UTC](https://discuss.elastic.co/t/scale-an-elasticsearch-xpack-single-node-to-a-3-node-cluster/135533 "2018-06-12T12:26:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yossib](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@yossib](https://discuss.elastic.co/u/yossib)\
**Post date:** [June 12, 2018, 12:26pm UTC](https://discuss.elastic.co/t/scale-an-elasticsearch-xpack-single-node-to-a-3-node-cluster/135533/1 "2018-06-12T12:26:43Z")

</div>

Hi all,

W have a single ubuntu 16 machine running elasticsearch (+logstash +kibana) with x-pack enabled, we want to add 2 more machines to this cluster so all will act as masters.

What is the procedure to do this?

I was thinking on something like this:

1. Installing 2 more machines with elasticsearch + x-pack + \<ALL OTHER PLUGINS\>
2. Using same elasticsearch.yml file (and any other configuration file from 1st machine), change on all files the following:

- node.name: \<CURRENT MACHINE\>
- network.host: [\_local\_] to network.host: [\_site\_]
- discovery.zen.minimum\_master\_nodes: 2

1. Re/start elasticsearch on all nodes

p.s.  
This is only for making elasticsearch work on all nodes, logstash and kibana will move later on to their own machines

---

<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 10, 2018, 12:26pm UTC](https://discuss.elastic.co/t/scale-an-elasticsearch-xpack-single-node-to-a-3-node-cluster/135533/2 "2018-07-10T12:26:54Z")

</div>

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