# 3 node cluster

**URL:** <https://discuss.elastic.co/t/3-node-cluster/203122>\
**Category:** Elasticsearch\
**Created:** [October 10, 2019, 10:54pm UTC](https://discuss.elastic.co/t/3-node-cluster/203122 "2019-10-10T22:54:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chinedum\_Nwuzor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chinedum_nwuzor/32/48107_2.png) [@Chinedum\_Nwuzor](https://discuss.elastic.co/u/Chinedum_Nwuzor)\
**Post date:** [October 10, 2019, 10:54pm UTC](https://discuss.elastic.co/t/3-node-cluster/203122/1 "2019-10-10T22:54:42Z")

</div>

I'm trying to setup a 3 node elasticsearch cluster but there appears to be no communication between the 3 nodes even after adding them severally to the discovery.seeds. Please logs below

[2019-10-10T21:44:34,251][DEBUG][o.e.a.ActionModule] [ojelk02] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security  
[2019-10-10T21:44:34,610][INFO][o.e.d.DiscoveryModule] [ojelk02] using discovery type [zen] and seed hosts providers [settings]  
[2019-10-10T21:44:35,618][INFO][o.e.n.Node] [ojelk02] initialized  
[2019-10-10T21:44:35,618][INFO][o.e.n.Node] [ojelk02] starting ...  
[2019-10-10T21:44:35,758][INFO][o.e.t.TransportService] [ojelk02] publish\_address {127.0.0.1:9300}, bound\_addresses {127.0.0.1:9300}  
[2019-10-10T21:44:35,793][WARN][o.e.b.BootstrapChecks] [ojelk02] the default discovery settings are unsuitable for production use; at least one of [discovery.seed\_hosts, discovery.seed\_providers, cluster.initial\_master\_nodes] must be configured  
[2019-10-10T21:44:35,798][INFO][o.e.c.c.Coordinator] [ojelk02] cluster UUID [EajcrbwiQdGoTRU776JvfA]  
[2019-10-10T21:44:35,810][INFO][o.e.c.c.ClusterBootstrapService] [ojelk02] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered  
[2019-10-10T21:44:35,984][INFO][o.e.c.s.MasterService] [ojelk02] elected-as-master ([1] nodes joined)[{ojelk02}{\_g03SwPKQcu-xMf3R5PShA}{JbYdilRkQqCXJvv1TC\_50Q}{127.0.0.1}{127.0.0.1:9300}{dilm}{ml.machine\_memory=67407470592, xpack.installed=true, ml.max\_open\_jobs=20} elect leader, _BECOME\_MASTER\_TASK_, _FINISH\_ELECTION_], term: 5, version: 24, reason: master node changed {previous , current [{ojelk02}{\_g03SwPKQcu-xMf3R5PShA}{JbYdilRkQqCXJvv1TC\_50Q}{127.0.0.1}{127.0.0.1:9300}{dilm}{ml.machine\_memory=67407470592, xpack.installed=true, ml.max\_open\_jobs=20}]}  
[2019-10-10T21:44:36,074][INFO][o.e.c.s.ClusterApplierService] [ojelk02] master node changed {previous , current [{ojelk02}{\_g03SwPKQcu-xMf3R5PShA}{JbYdilRkQqCXJvv1TC\_50Q}{127.0.0.1}{127.0.0.1:9300}{dilm}{ml.machine\_memory=67407470592, xpack.installed=true, ml.max\_open\_jobs=20}]}, term: 5, version: 24, reason: Publication{term=5, version=24}  
[2019-10-10T21:44:36,157][INFO][o.e.h.AbstractHttpServerTransport] [ojelk02] publish\_address {127.0.0.1:9200}, bound\_addresses {127.0.0.1:9200}  
[2019-10-10T21:44:36,158][INFO][o.e.n.Node] [ojelk02] started  
[2019-10-10T21:44:36,466][INFO][o.e.l.LicenseService] [ojelk02] license [fd5b8b29-3233-4cb5-a74f-8d322afbcf01] mode [basic] - valid  
[2019-10-10T21:44:36,467][INFO][o.e.x.s.s.SecurityStatusChangeListener] [ojelk02] Active license is now [BASIC]; Security is disabled  
[2019-10-10T21:44:36,478][INFO][o.e.g.GatewayService] [ojelk02] recovered [0] indices into cluster\_state  
[2019-10-10T22:02:14,782][INFO][o.e.n.Node] [ojelk02] stopping ...  
[2019-10-10T22:02:14,805][INFO][o.e.x.w.WatcherService] [ojelk02] stopping watch service, reason [shutdown initiated]  
[2019-10-10T22:02:14,806][INFO][o.e.x.w.WatcherLifeCycleService] [ojelk02] watcher has stopped and shutdown  
[2019-10-10T22:02:15,032][INFO][o.e.x.m.p.l.CppLogMessageHandler] [ojelk02] [controller/30495] [Main.cc@150] Ml controller exiting  
[2019-10-10T22:02:15,034][INFO][o.e.x.m.p.NativeController] [ojelk02] Native controller process has stopped - no new native processes can be started  
[2019-10-10T22:02:15,052][INFO][o.e.n.Node] [ojelk02] stopped  
[2019-10-10T22:02:15,052][INFO][o.e.n.Node] [ojelk02] closing ...  
[2019-10-10T22:02:15,073][INFO][o.e.n.Node] [ojelk02] closed

Kindly assist.

---

<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 11, 2019, 12:26am UTC](https://discuss.elastic.co/t/3-node-cluster/203122/2 "2019-10-11T00:26:36Z")

</div>

> [@Chinedum\_Nwuzor](#):
>
> [2019-10-10T21:44:35,758][INFO][o.e.t.TransportService] [ojelk02] publish\_address {127.0.0.1:9300}, bound\_addresses {127.0.0.1:9300}  
> [2019-10-10T21:44:35,793][WARN][o.e.b.BootstrapChecks] [ojelk02] the default discovery settings are unsuitable for production use; at least one of [discovery.seed\_hosts, discovery.seed\_providers, cluster.initial\_master\_nodes] must be configured

Hi @Chinedum_Nwuzor

These errors indicate you have a number of issues....

Perhaps you should read the section on setting up elasticsearch

> **[Set up Elasticsearch | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html)**

And specifically pay attention to the network settings  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/network.host.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/network.host.html)

And the Discovery settings  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/discovery-settings.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/discovery-settings.html)

---

<div class="post-metadata">

**Author:** ![Chinedum\_Nwuzor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chinedum_nwuzor/32/48107_2.png) [@Chinedum\_Nwuzor](https://discuss.elastic.co/u/Chinedum_Nwuzor)\
**Post date:** [October 11, 2019, 5:48am UTC](https://discuss.elastic.co/t/3-node-cluster/203122/3 "2019-10-11T05:48:32Z")

</div>

Hi @stephenb,

Many thanks for your reply.

As per your first link, elasticsearch starts and I can curl localhost:9200. I believe if i'm having Java compatibility issue elasticsearch wouldn't be able to start.

I also believe i've configured my network host and discovery settings quite alright. Kindly see below if i missed out anything;

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

# 

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

# 

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

# 

network.host: 10.1.178.202

# 

# Set a custom port for HTTP:

# 

#http.port: 9200

# 

# For more information, consult the network module documentation.

# 

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

# 

# Pass an initial list of hosts to perform discovery when this node is started:

# The default list of hosts is ["127.0.0.1", "[::1]"]

# 

discovery.seed\_hosts: ["10.1.178.200", "10.1.178.201"]

# 

# Bootstrap the cluster using an initial set of master-eligible nodes:

# 

cluster.initial\_master\_nodes: ["node-1", "node-3"]

# 

# For more information, consult the discovery and cluster formation module documentation.

# 

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

# 

# Block initial recovery after a full cluster restart until N nodes are started:

# 

#gateway.recover\_after\_nodes: 3

# 

# For more information, consult the gateway module documentation.

---

<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 8, 2019, 5:48am UTC](https://discuss.elastic.co/t/3-node-cluster/203122/4 "2019-11-08T05:48:36Z")

</div>

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