Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!
1. Describe your incident:
I currently want to deploy a cluster with OpenSearch like this :
- 1 master node (“master-1”, 192.168.40.136)
- 2 data nodes (“data-1”, 192.168.40.137 / “data-2”, 192.168.40.139)
I don’t understand how to fill in the various parameters in the config file especially what to put in discovery.seed_hosts (should it be all the adress of nodes, including this on which I am configuring OpenSearch) and cluster.initial_cluster_manager_nodes. I find that the official documentation don’t explain this really well and all the tutorial are on Elasticsearch, which will be deprecated.
When I want to try to interact with OpenSearch, after the configuration, on one of my nodes like this : curl 192.168.40.136:9200
I got the following output :
curl: (52) Empty reply from server
However, while checking the status with systemctl status opensearch, all the service are active (but only the master is enabled)
2. Describe your environment:
-
OS Information:
Debian 12 -
Package Version:
2.15.0 -
Service logs, configurations, and environment variables:
Here is the config files of my 3 nodes (expect experimental features which are unchanged).
master-1 :
cluster.name: myCluster
node.name: master-1
path.data: /var/lib/opensearch
path.logs: /var/log/opensearch
network.host: 192.168.40.136
http.port: 9200
discovery.seed_hosts: ["192.168.40.136", "192.168.40.137", "192.168.40.139"]
cluster.initial_cluster_manager_nodes: ["master-1", "data-1", "data-2"]
data-1 :
cluster.name: myCluster
node.name: data-1
path.data: /var/lib/opensearch
path.logs: /var/log/opensearch
network.host: 192.168.40.137
http.port: 9200
discovery.seed_hosts: ["192.168.40.136", "192.168.40.137", "192.168.40.139"]
cluster.initial_cluster_manager_nodes: ["master-1", "data-1", "data-2"]
data-2 :
cluster.name: myCluster
node.name: data-2
path.data: /var/lib/opensearch
path.logs: /var/log/opensearch
network.host: 192.168.40.139
http.port: 9200
discovery.seed_hosts: ["192.168.40.136", "192.168.40.137", "192.168.40.139"]
cluster.initial_cluster_manager_nodes: ["master-1", "data-1", "data-2"]
3. What steps have you already taken to try and solve the problem?
Basically all the configurations that I can find on internet but it don’t work so I guess i’ve made an error in my implementation
4. How can the community help?
I guess it’s a really little error but if someone can light me on the origin of the error
Feel free to ask me for more details if you need it