如何在弹性搜索中创建新的集群? [英] How to create new cluster in elasticsearch?
问题描述
但是我想创建另一个集群。
我已经查看了弹性搜索的官方文档但是我没有找到创建另一个或多个集群的任何步骤。
您需要更新 ES_HOME /配置/ elasticsearch.yml
。在群集部分下,更改群集名称参数。
cluster.name:my_cluster
群集名称的默认值为 elasticsearch
ES的一个实例可以是仅一个集群的一部分。如果所有ES实例/计算机具有相同的集群名称,那么只要机器全部打开,弹性搜索将自动形成集群相同的网络
I have installed elastic search on my ubuntu system and it's working fine with default cluster.
But i want to create another cluster.
I have checked official document of elastic search but i haven't found any steps for create another or multiple cluster.
You need to update ES_HOME/config/elasticsearch.yml
. Under the cluster section, change the cluster name parameter.
cluster.name: my_cluster
Default value for cluster name is elasticsearch
One instance of ES can be a part of only one cluster. If all ES instances / machines have the same cluster name, elasticsearch will form a cluster automatically as long as the machines are all on the same network
这篇关于如何在弹性搜索中创建新的集群?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!