# Adding noeud for elasticsearch cluster

**URL:** https://discuss.elastic.co/t/adding-noeud-for-elasticsearch-cluster/340441
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [August 9, 2023, 9:09am UTC](https://discuss.elastic.co/t/adding-noeud-for-elasticsearch-cluster/340441 "2023-08-09T09:09:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ali\_Trache](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ali_trache/32/118014_2.png) [@Ali\_Trache](https://discuss.elastic.co/u/Ali_Trache)
#### Post date: [August 9, 2023, 9:09am UTC](https://discuss.elastic.co/t/adding-noeud-for-elasticsearch-cluster/340441/1 "2023-08-09T09:09:56Z")

</div>

hello community ,  
i need help please ,  
i had installer ELK stack in my virtuelle machine with one noeud ( elasticsearch , kibana , logstash)  
now i wish add a second noeud for my cluster so i had installed a second VM then i had installed elasticsearch . and i had donne necessary configuration for elasticseach .yml file

this first coniguration in about the principal noeud :  
cluster.name: my-application  
node.name: node-1  
path.data: /disk2/elasticsearch  
path.logs: /var/log/elasticsearch  
network.bind\_host: 0.0.0.0  
network.host: 10.7.163.165  
discovery.seed\_hosts: ["10.7.163.165", "10.7.178.149"]  
cluster.initial\_master\_nodes: ["node-1", "node-2"]  
xpack.security.enabled: true  
xpack.security.transport.ssl.enabled: true  
indices.lifecycle.poll\_interval: 10s  
xpack.monitoring.collection.enabled: true  
xpack.monitoring.elasticsearch.collection.enabled: true

and this is configuration file fort the noeud witch i want to add :  
cluster.name: my-application  
node.name: node-2  
path.data: /var/lib/elasticsearch  
path.logs: /var/log/elasticsearch  
network.bind\_host: 0.0.0.0  
network.host: 10.7.178.149  
discovery.seed\_hosts: ["10.7.163.165", "10.7.178.149"]  
cluster.initial\_master\_nodes: ["node-1", "node-2"]  
whene i restart elasticsearch it restart correctlly but the second noeud doesn't addeded for my cluster .  
please i need help .. i want the know what is a probleme if it is configuration probleme or i need mor things de add - un ather commende to add ?? or probleme of path logs witch is not same for thes files ..  
Thanks a lot

---

<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: [September 6, 2023, 9:10am UTC](https://discuss.elastic.co/t/adding-noeud-for-elasticsearch-cluster/340441/2 "2023-09-06T09:10:01Z")

</div>

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