# I am using elasticsearch 6.5 and i want to have cluster node 6

**URL:** <https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648>\
**Category:** Elasticsearch\
**Created:** [July 16, 2019, 5:49am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648 "2019-07-16T05:49:25Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayush\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_verma/32/46709_2.png) [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Post date:** [July 16, 2019, 5:49am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/1 "2019-07-16T05:49:25Z")

</div>

I am working on elasticsearch 6.5 and i don't know much about it , so my task is to add cluster node , i guess initially number of node is 1 right? if i am right then please tell me how can i make it up to 6, i already read the documentation but i can't get it, one more suggestion i got to install elasticsearch multiple time and give different node name or something like that but what i feel is there must be some simple way to do it

actually this is the exact requirement that i want:-

**Cluster Nodes** : 6  
**Master Eligible Nodes** : 2 (both the micro instances). These are Master only nodes.  
**Data Only Nodes** : 4 (2 regular nad 2 preemptible instances)  
**Number of shards** : 8  
**Number of replica sets** : 2

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 16, 2019, 6:01am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/2 "2019-07-16T06:01:18Z")

</div>

- Start a new machine
- Install elasticsearch
- Configure elasticsearch as per documentation
- Start elasticsearch

And repeat that again.

---

<div class="post-metadata">

**Author:** ![Ayush\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_verma/32/46709_2.png) [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Post date:** [July 16, 2019, 6:03am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/3 "2019-07-16T06:03:39Z")

</div>

Well thank you , but i want to do it in same machine , is it possible or i am going wrong ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 16, 2019, 6:19am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/4 "2019-07-16T06:19:51Z")

</div>

It is.  
Specifically if you have more than 64gb of RAM available, then I'd start 2 nodes with 30gb heap each and one tie breaker master only node with 4 or 8gb. Is it the case?

If not, I don't see a lot of value of doing so.  
Why do you want to do this?

---

<div class="post-metadata">

**Author:** ![Ayush\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_verma/32/46709_2.png) [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Post date:** [July 16, 2019, 6:24am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/5 "2019-07-16T06:24:50Z")

</div>

ohh well i don't have 64gb of RAM , let me explain you whole scenario i am using google cloud platform and my senior ask me to configure elasticsearch with the above requirement , requirement as i mentioned above with cluster node 6 and all. so i thought first i should practice to add the node in my own machine then i will shift to google cloud but as you tell we need 64gb of RAM to do this, but i don't have 64GB of RAM.

also tried steps of this link but it not worked or may be i did something wrong, can you please go through this link and tell is this the right way to complete my task.

[https://www.elastic.co/guide/en/elastic-stack-overview/6.5/encrypting-communications-hosts.html](https://www.elastic.co/guide/en/elastic-stack-overview/6.5/encrypting-communications-hosts.html)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 16, 2019, 9:23am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/6 "2019-07-16T09:23:25Z")

</div>

The easiest thing to do is to create a cluster on [cloud.elastic.co](http://cloud.elastic.co) on GCP platform in the same region you have your other services running and just set the memory size that you need.

Why 6 nodes are needed in your case? Do you know?

---

<div class="post-metadata">

**Author:** ![Ayush\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_verma/32/46709_2.png) [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Post date:** [July 17, 2019, 5:27am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/7 "2019-07-17T05:27:47Z")

</div>

Ok so you are asking me to set the size of GCP instance i mean system memory size ?  
Sorry i don't know about that. But i will ask.  
or is there any way to allocate memory to nodes like each node will take 1GB or something , i know i am asking very silly question.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 17, 2019, 6:43am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/8 "2019-07-17T06:43:45Z")

</div>

I did not mean anything like that.

Again:

> Why 6 nodes are needed in your case? Do you know?

What is the output of:

```auto
GET /
GET /_cat/nodes?v
GET /_cat/health?v
GET /_cat/indices?v

```

If some outputs are too big, please share them on [gist.github.com](http://gist.github.com) and link them here.

---

<div class="post-metadata">

**Author:** ![Ayush\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_verma/32/46709_2.png) [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Post date:** [July 17, 2019, 7:25am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/9 "2019-07-17T07:25:23Z")

</div>

i am sharing screenshot is it ok?

 ![Screenshot%20from%202019-07-17%2012-54-39](https://us1.discourse-cdn.com/elastic/original/3X/8/c/8c5a7bdec5c55b7a870d3410a8dbece499dab5d0.png)

soon i will tell about 6 nodes let me ask my senior and sorry for delay

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 17, 2019, 8:09am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/10 "2019-07-17T08:09:36Z")

</div>

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with `</>` icon. Check the preview window.

You don't have any data?  
While you are asking questions, could you also ask why you are starting with a 6.5 version instead of 7.2?

---

<div class="post-metadata">

**Author:** ![Ayush\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_verma/32/46709_2.png) [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Post date:** [July 17, 2019, 11:16am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/11 "2019-07-17T11:16:53Z")

</div>

output of the command that you asked for :  
[https://gist.github.com/ayush-ashu/4db540b956a33a5cb170fd422e703b55](https://gist.github.com/ayush-ashu/4db540b956a33a5cb170fd422e703b55)

and i asked about nodes , he simply replied that we are handling very large data that's why need 6 node(Although he was also not sure).

---

<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:** [August 14, 2019, 11:16am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648/12 "2019-08-14T11:16:53Z")

</div>

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