# How to config Elasticsearch with this my model?\[es 7.1\]

**URL:** <https://discuss.elastic.co/t/how-to-config-elasticsearch-with-this-my-model-es-7-1/184141>\
**Category:** Elasticsearch\
**Created:** [June 4, 2019, 9:55am UTC](https://discuss.elastic.co/t/how-to-config-elasticsearch-with-this-my-model-es-7-1/184141 "2019-06-04T09:55:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![duythienitsl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/duythienitsl/32/47435_2.png) [@duythienitsl](https://discuss.elastic.co/u/duythienitsl)\
**Post date:** [June 4, 2019, 9:55am UTC](https://discuss.elastic.co/t/how-to-config-elasticsearch-with-this-my-model-es-7-1/184141/1 "2019-06-04T09:55:23Z")

</div>

This is my picture of the model:

 ![Untitled%20Diagram](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b62d03d2d0abf243219ebd44c50417efbc162125.png)  
Is it possible?? thank you so much...

Here are my config's nodes(2 master eligible nodes , 2 data nodes, 1 client node):  
**- Master\_node\_1:**  
cluster.name: kinghub\_es\_cluster

node.name: es\_master\_node\_1

node.master: true

node.data: false

node.ingest: false

cluster.remote.connect: false

network.host: ["es\_master\_host\_1",_local_]

discovery.seed\_hosts:["es\_master\_host\_1","es\_master\_host\_2""]

cluster.initial\_master\_nodes:["es\_master\_node\_1","es\_master\_node\_2"]

**- Master\_node\_2:**  
cluster.name: kinghub\_es\_cluster

node.name: es\_master\_node\_2

node.master: true

node.data: false

node.ingest: false

cluster.remote.connect: false

network.host: ["es\_master\_host\_1",_local_]

discovery.seed\_hosts:["es\_master\_host\_1","es\_master\_host\_2"]

cluster.initial\_master\_nodes:["es\_master\_node\_1","es\_master\_node\_2"]

**-Data\_node\_1:**

cluster.name: kinghub\_es\_cluster

node.name: es\_data\_node\_1

node.master: false

node.data: true

node.ingest: false

cluster.remote.connect: false

network.host: ["es\_data\_host\_1",_local_]

discovery.seed\_hosts:["es\_master\_host\_1","es\_master\_host\_2"]

cluster.initial\_master\_nodes:["es\_master\_node\_1","es\_master\_node\_2"]

**-Data\_node\_2:**

cluster.name: kinghub\_es\_cluster

node.name: es\_data\_node\_2

node.master: false

node.data: true

node.ingest: false

cluster.remote.connect: false

network.host: ["es\_data\_host\_2",_local_]

discovery.seed\_hosts:["es\_master\_host\_1","es\_master\_host\_2"]

cluster.initial\_master\_nodes:["es\_master\_node\_1","es\_master\_node\_2"]

**-Client\_node:**

cluster.name: kinghub\_es\_cluster

node.name: es\_client\_node

node.master: false

node.data: false

node.ingest: false

cluster.remote.connect: false

network.host: ["es\_client\_host",_local_]

discovery.seed\_hosts:["es\_master\_host\_1","es\_master\_host\_2"]

cluster.initial\_master\_nodes:["es\_master\_node\_1","es\_master\_node\_2"]

---

<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:** [July 2, 2019, 9:55am UTC](https://discuss.elastic.co/t/how-to-config-elasticsearch-with-this-my-model-es-7-1/184141/2 "2019-07-02T09:55:32Z")

</div>

Closed on July 2, 2019, 9:55am UTC

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