# Multiple standalone nodes

**URL:** <https://discuss.elastic.co/t/multiple-standalone-nodes/287837>\
**Category:** Elasticsearch\
**Created:** [October 27, 2021, 5:20pm UTC](https://discuss.elastic.co/t/multiple-standalone-nodes/287837 "2021-10-27T17:20:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![keepcalm](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@keepcalm](https://discuss.elastic.co/u/keepcalm)\
**Post date:** [October 27, 2021, 5:20pm UTC](https://discuss.elastic.co/t/multiple-standalone-nodes/287837/1 "2021-10-27T17:20:14Z")

</div>

hi, on version 6.6.1 we already have a single server deployed and i want to bring a new server online as a completely separate instance. How can i do this without the new server trying to form a cluster with the original. Essentially i need 2 dedicated standalone instances

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 27, 2021, 6:28pm UTC](https://discuss.elastic.co/t/multiple-standalone-nodes/287837/2 "2021-10-27T18:28:24Z")

</div>

Hi @keepcalm Welcome to the Community.

First 6.6.1 is very...very..very old and ie EOL in every sense of the term, I would upgrade as soon as you can.

There is a setting to make sure you only ever have a single node see [here](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/bootstrap-checks.html#single-node-discovery)

`discovery.type: single-node`

---

<div class="post-metadata">

**Author:** ![keepcalm](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@keepcalm](https://discuss.elastic.co/u/keepcalm)\
**Post date:** [October 28, 2021, 8:23am UTC](https://discuss.elastic.co/t/multiple-standalone-nodes/287837/3 "2021-10-28T08:23:51Z")

</div>

thanks for the reply

does this need to be configured on both servers or is it safe to just do it on the new server without changing the existing one? and i take it this is set in the Elasticsearch.yml?

and yes i am aware its old, unfortunately i have inherited this as is and there is an ongoing migration project.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 28, 2021, 9:13am UTC](https://discuss.elastic.co/t/multiple-standalone-nodes/287837/4 "2021-10-28T09:13:24Z")

</div>

You can also make sure the cluster name is unique, which will prevent the nodes joining up.

---

<div class="post-metadata">

**Author:** ![keepcalm](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@keepcalm](https://discuss.elastic.co/u/keepcalm)\
**Post date:** [October 28, 2021, 9:27am UTC](https://discuss.elastic.co/t/multiple-standalone-nodes/287837/5 "2021-10-28T09:27:48Z")

</div>

@Christian_Dahlqvist thanks, yeh i have done that so below is what my yml looks like, i also havent added any discovery nodes, so just the below is what settings have been added....i am probably going to use these servers later by adding additional ones to their cluster, so actually is it better to just leave the cluster name unique?:

# ---------------------------------- Cluster -----------------------------------

# 

# Use a descriptive name for your cluster:

# 

cluster.name: ProdCluster2

# 

# ------------------------------------ Node ------------------------------------

# 

# Use a descriptive name for the node:

# 

node.name: ${HOSTNAME}  
node.master: true  
node.data: true

# 

# Add custom attributes to the node:

# 

#node.attr.rack: r1

# 

# ----------------------------------- Paths ------------------------------------

# 

# Path to directory where to store the data (separate multiple locations by comma):

# 

path.data: E:\DATA\ES\data

# 

# Path to log files:

# 

path.logs: E:\DATA\ES\logs

# 

# ----------------------------------- Memory -----------------------------------

# 

# Lock the memory on startup:

# 

#bootstrap.memory\_lock: true

# 

# Make sure that the heap size is set to about half the memory available

# on the system and that the owner of the process is allowed to use this

# limit.

# 

# Elasticsearch performs poorly when the system is swapping the memory.

# 

# ---------------------------------- Network -----------------------------------

# 

# Set the bind address to a specific IP (IPv4 or IPv6):

# 

network.host: 0.0.0.0

# 

# Set a custom port for HTTP:

# 

http.port: 9200

---

<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:** [November 25, 2021, 9:28am UTC](https://discuss.elastic.co/t/multiple-standalone-nodes/287837/6 "2021-11-25T09:28:01Z")

</div>

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