# HELP - 2nd node not joining cluster

**URL:** <https://discuss.elastic.co/t/help-2nd-node-not-joining-cluster/155013>\
**Category:** Elasticsearch\
**Created:** [November 1, 2018, 12:41pm UTC](https://discuss.elastic.co/t/help-2nd-node-not-joining-cluster/155013 "2018-11-01T12:41:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lowdmt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lowdmt/32/30300_2.png) [@lowdmt](https://discuss.elastic.co/u/lowdmt)\
**Post date:** [November 1, 2018, 12:41pm UTC](https://discuss.elastic.co/t/help-2nd-node-not-joining-cluster/155013/1 "2018-11-01T12:41:19Z")

</div>

Hi,

I have a single node elastic, logstash and kibana RedHat device. All is well. Working as expected.

I'm trying to add a 2nd node but having issues connecting the 2nd node to the cluster.

Both nodes are in the same VLAN, they can ping and telnet to each other.

Is there something wrong with my elasticsearch.yml files?

```
Node1

```

# ======================== Elasticsearch Configuration =========================

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

cluster.name: Torvalds

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

node.name: node-1 - 84  
node.master: true  
node.data: true

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

path.data: /opt/elastic  
path.logs: /var/log/elasticsearch

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

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

network.host: 20.138.120.84  
http.port: 9200

# --------------------------------- Discovery ----------------------------------

discovery.zen.ping.unicast.hosts: ["20.138.120.85"]  
discovery.zen.minimum\_master\_nodes: 1

# ----------------------------------Gateway -----------------------------------

# ---------------------------------- Various -----------------------------------

xpack.monitoring.enabled: true  
xpack.monitoring.collection.enabled: true  
xpack.security.enabled: true

# 

Node 2

# ======================== Elasticsearch Configuration =========================

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

cluster.name: Torvlads

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

node.name: node-2 - 85  
node.master: false  
node.data: true

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

path.data: /opt/elastic  
path.logs: /var/log/elasticsearch

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

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

network.host: 0.0.0.0  
http.port: 9200

# --------------------------------- Discovery ----------------------------------

discovery.zen.ping.unicast.hosts: ["20.138.120.84",]  
discovery.zen.minimum\_master\_nodes: 2

# ---------------------------------- Gateway -----------------------------------

# ---------------------------------- Various -----------------------------------

#xpack.monitoring.enabled: true  
#xpack.monitoring.collection.enabled: true  
#xpack.security.enabled: true

---

<div class="post-metadata">

**Author:** ![SaskiaVola](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@SaskiaVola](https://discuss.elastic.co/u/SaskiaVola)\
**Post date:** [November 1, 2018, 1:19pm UTC](https://discuss.elastic.co/t/help-2nd-node-not-joining-cluster/155013/2 "2018-11-01T13:19:51Z")

</div>

Your cluster names don't match. "Torvalds" vs. "Torvlads"

---

<div class="post-metadata">

**Author:** ![lowdmt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lowdmt/32/30300_2.png) [@lowdmt](https://discuss.elastic.co/u/lowdmt)\
**Post date:** [November 1, 2018, 1:27pm UTC](https://discuss.elastic.co/t/help-2nd-node-not-joining-cluster/155013/3 "2018-11-01T13:27:52Z")

</div>

Don't I feel like the idiot.

Typo.

Changed it and it worked.

I must of looked over that yml file 30 times.

Thank you

---

<div class="post-metadata">

**Author:** ![SaskiaVola](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@SaskiaVola](https://discuss.elastic.co/u/SaskiaVola)\
**Post date:** [November 1, 2018, 1:30pm UTC](https://discuss.elastic.co/t/help-2nd-node-not-joining-cluster/155013/4 "2018-11-01T13:30:43Z")

</div>

Our brain is very good at over-looking typos especially in the middle of the word 😉

---

<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 29, 2018, 1:30pm UTC](https://discuss.elastic.co/t/help-2nd-node-not-joining-cluster/155013/5 "2018-11-29T13:30:44Z")

</div>

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