# Concept of Elasticsearch cluster

**URL:** <https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376>\
**Category:** Elasticsearch\
**Created:** [September 27, 2019, 9:56am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376 "2019-09-27T09:56:24Z")\
**Posts on this page:** 16\
**Page:** 4

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [October 31, 2019, 3:14am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/64 "2019-10-31T03:14:19Z")

</div>

Hello @Dominic_Page,

Thanks for reply!!!  
One humble request, Can you please hide ip address used in earlier comments from your side?  
And please do not use it directly. You can mention ip\_address\_of\_master.

Master node is working. I am getting below responses:

```
curl -X GET ip_of_master:9200
{
  "name" : "Master-node",
  "cluster_name" : "cluster",
  "cluster_uuid" : "yQvifHj-Tw2RNMCItAT7SA",
  "version" : {
    "number" : "7.2.0",
    "build_flavor" : "default",
    "build_type" : "zip",
    "build_hash" : "508c38a",
    "build_date" : "2019-06-20T15:54:18.811730Z",
    "build_snapshot" : false,
    "lucene_version" : "8.0.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
} 

curl -X GET ip_of_master:9300
curl: (7) Failed to connect to "ip_of_master" port 9300: Timed out

```

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Dominic\_Page](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominic_page/32/48318_2.png) [@Dominic\_Page](https://discuss.elastic.co/u/Dominic_Page)\
**Post date:** [October 31, 2019, 9:27am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/65 "2019-10-31T09:27:26Z")

</div>

Hi @pyerunka

No problem, I've redacted the IPs in my previous posts

From these 2 calls:

```auto
curl -X GET XXX.XXX.XXX.XXX:9200

```

indicates that the data node has visibility of the master node's HTTP Port 9200, however, to form a cluster it must be able to access to the master node's Transport Port 9300

```auto
curl -X GET XXX.XXX.XXX.XXX:9300

```

is not yet connecting, so try that again with the verbose flag, you would hope to see a conversation something like this:

```auto
$ curl -vX GET IP_OF_MASTER_NODE:9300
* About to connect() to IP_OF_MASTER_NODE port 9300 (#0) 
* Trying XXX.XXX.XXX.XXX...
* Connected to server1 (XXX.XXX.XXX.XXX) port 9300 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: IP_OF_MASTER_NODE:9300
> Accept: */*
>
* Connection #0 to host server1 left intact
This is not an HTTP port

```

---

<div class="post-metadata">

**Author:** ![Dominic\_Page](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominic_page/32/48318_2.png) [@Dominic\_Page](https://discuss.elastic.co/u/Dominic_Page)\
**Post date:** [November 11, 2019, 6:01pm UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/66 "2019-11-11T18:01:32Z")

</div>

Hi @pyerunka

Were you able to obtain additional information using

`$ curl -vX GET IP_OF_MASTER_NODE:9300`

from the Data node?

---

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [November 12, 2019, 5:29am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/67 "2019-11-12T05:29:23Z")

</div>

Hello @Dominic_Page,

I tried using above command on data node. I am getting below response:

```
* Rebuilt URL to: IP_OF_MASTER_NODE:9300/
* Hostname was NOT found in DNS cache
* Trying IP_OF_MASTER_NODE...
* connect to IP_OF_MASTER_NODE port 9300 failed: Timed out
* Failed to connect to IP_OF_MASTER_NODE port 9300: Timed out
* Closing connection 0
curl: (7) Failed to connect to IP_OF_MASTER_NODE port 9300: Timed out 

```

Regards,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Dominic\_Page](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominic_page/32/48318_2.png) [@Dominic\_Page](https://discuss.elastic.co/u/Dominic_Page)\
**Post date:** [November 12, 2019, 9:22am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/68 "2019-11-12T09:22:52Z")

</div>

Hi @pyerunka

Just checking - did you change IP\_OF\_MASTER\_NODE to the IP of your master node?

---

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [November 12, 2019, 9:28am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/69 "2019-11-12T09:28:05Z")

</div>

Hello @Dominic_Page,

Yes, I have changed it to actual IP address and then checked.  
While giving reply, I have mentioned "IP\_OF\_MASTER\_NODE" only.

Regards,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Dominic\_Page](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominic_page/32/48318_2.png) [@Dominic\_Page](https://discuss.elastic.co/u/Dominic_Page)\
**Post date:** [November 12, 2019, 9:50am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/70 "2019-11-12T09:50:20Z")

</div>

Hi @pyerunka

It appears there is still some network issue blocking communications between the servers.

For a healthy cluster, it is a good idea to reduce the number of network hops between servers.

If you run

`$ traceroute IP_OF_MASTER_NODE`

from the data node: how many network hops are shown?

You should see an output something like this:

```auto
$ traceroute IP_OF_MASTER_NODE
traceroute to IP_OF_MASTER_NODE (xxx.xxx.xx.xx), xx hops max, xx byte packets
 1 xx.xxx.xxx.x (xx.xxx.xxx.x) x.xxx ms x.xxx ms x.xxx ms
 3 xxx.xx.xxx.xxx (xxx.xx.xxx.xxx) x.xxx ms x.xxx ms x.xxx ms
 4 xxx.xx.xxx.xxx (xxx.xx.xxx.xxx) x.xxx ms x.xxx ms x.xxx ms
 5 gix-x-x-x-xx-crx.mad.router.colt.net (xxx.xx.xx.xxx) xx.xxx ms x.xxx ms x.xxx ms
 6 xex-x-x-prx.mad.router.colt.net (xxx.xx.xx.xxx) x.xxx ms
    xex-x-x-prx.mad.router.colt.net (xxx.xx.xx.xxx) x.xxx ms x.xxx ms
 7 xex-x-x-prx.mad.router.colt.net (xxx.xx.xx.xxx) x.xxx ms 

```

---

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [November 13, 2019, 4:42am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/71 "2019-11-13T04:42:45Z")

</div>

Hello @Dominic_Page,

I have raised this network issue which is blocking communications between two servers to our network team.

And i also tried $ traceroute IP\_OF\_MASTER\_NODE from the data node with actual ip address of master node. It is showing me below error:

```
 'traceroute' is not recognized as an internal or external command,
operable program or batch file.

```

Regards,  
Priyanka

---

<div class="post-metadata">

**Author:** ![MiTschMR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mitschmr/32/48254_2.png) [@MiTschMR](https://discuss.elastic.co/u/MiTschMR)\
**Post date:** [November 13, 2019, 6:54am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/72 "2019-11-13T06:54:31Z")

</div>

Hi @pyerunka

You sure know about traceroute, don't you? The error message shows that you are using Windows as your operating system. If traceroute is not accepted there, then a quick search indicates that the correct command on Windows is `tracert`.

[How to Use TRACERT to Troubleshoot TCP/IP Problems in Windows](https://support.microsoft.com/en-us/help/314868/how-to-use-tracert-to-troubleshoot-tcp-ip-problems-in-windows)

**Usage of tracert:**

```auto
Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout]
               [-R] [-S srcaddr] [-4] [-6] target_name

Options:
    -d Do not resolve addresses to hostnames.
    -h maximum_hops Maximum number of hops to search for target.
    -j host-list Loose source route along host-list (IPv4-only).
    -w timeout Wait timeout milliseconds for each reply.
    -R Trace round-trip path (IPv6-only).
    -S srcaddr Source address to use (IPv6-only).
    -4 Force using IPv4.
    -6 Force using IPv6.
```

---

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [November 13, 2019, 7:00am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/73 "2019-11-13T07:00:14Z")

</div>

Hello @MiTschMR,

Thanks for your reply!!!  
I do not know about this command actually.  
and when i have tried tracert command, i did not get any quick search indication for correct command.  
I will refer above help.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [November 18, 2019, 8:30am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/74 "2019-11-18T08:30:46Z")

</div>

Hello @Dominic_Page,

Ports issue has been resolved now.  
I am able to connect to another server to form a cluster using ES.  
How to check that which cluster nodes are running on my ES?  
and after that when i have tried to start kibana, it is not working for me.

Can you guide me more on the same.

Regards,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Dominic\_Page](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominic_page/32/48318_2.png) [@Dominic\_Page](https://discuss.elastic.co/u/Dominic_Page)\
**Post date:** [November 18, 2019, 1:34pm UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/75 "2019-11-18T13:34:29Z")

</div>

HI @pyerunka

Great news that your port issue is resolved!

> How to check that which cluster nodes are running on my ES?

Try

`$curl YOUR_IP:9200/_cat/nodes?v\&h=ip,node.role,master,name`

This will list the nodes which are currently members of the cluster

Re Kibana:

> and after that when i have tried to start kibana, it is not working for me.

Can you open a new discussion for this question?

BR - Dominic

---

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [November 19, 2019, 7:17am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/76 "2019-11-19T07:17:55Z")

</div>

Hello @Dominic_Page,

Thanks for your help!!!  
I have open new discussion for kibana issue.  
For Es cluster, I can see one head plugin we can download.  
I am trying to download it using "plugin --install mobz/elasticsearch-head" . but not able to create.  
Can you help me this?

Regards,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Dominic\_Page](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominic_page/32/48318_2.png) [@Dominic\_Page](https://discuss.elastic.co/u/Dominic_Page)\
**Post date:** [November 19, 2019, 7:22am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/77 "2019-11-19T07:22:43Z")

</div>

Hi @pyerunka

The `elasticsearch-head` plugin is outside my area of expertise

I believe you can find the docs here: [https://github.com/mobz/elasticsearch-head](https://github.com/mobz/elasticsearch-head)

BR,

Dominic

---

<div class="post-metadata">

**Author:** ![Dominic\_Page](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominic_page/32/48318_2.png) [@Dominic\_Page](https://discuss.elastic.co/u/Dominic_Page)\
**Post date:** [November 19, 2019, 7:24am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/78 "2019-11-19T07:24:42Z")

</div>

Hi again @pyerunka

One update, I took a quick look at that, I think you have to run as a standalone server for Elasticsearch \>= 5.0 - the guide is here

> **[mobz/elasticsearch-head](https://github.com/mobz/elasticsearch-head#running-with-built-in-server)**
>
> A web front end for an elastic search cluster. Contribute to mobz/elasticsearch-head development by creating an account on GitHub.

Hope this helps,

Dominic

---

<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:** [December 17, 2019, 7:24am UTC](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376/79 "2019-12-17T07:24:46Z")

</div>

Closed on December 17, 2019, 7:24am UTC

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

[Previous page](https://discuss.elastic.co/t/concept-of-elasticsearch-cluster/201376.md?page=3)
