您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

Elasticsearch Cluster-没有已知的主节点,计划重试

Elasticsearch Cluster-没有已知的主节点,计划重试

通过以下回答解决了问题:如何设置ES集群?:

节点1:

cluster.name: mycluster
node.name: "node1"
node.master: true
node.data: true
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["node1.example.com"]
@H_403_7@

节点2:

cluster.name: mycluster
node.name: "node2"
node.master: false
node.data: true
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["node1.example.com"]
@H_403_7@
  

          

解决方法

我有一台运行elasticsearch和kibana的服务器。我添加了第二个节点以形成集群,但只希望该第二个节点从主节点复制数据。

基于有关如何执行此操作的有限文档,我第二次遇到以下错误

[DEBUG][action.admin.indices.get ] [Match] no known master node,scheduling a retry

我无法确定两台服务器的最佳配置来实现这一目标,但这是我到目前为止所做的:

主节点配置:

cluster.name: elasticsearch
node.master: true
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true

节点2

cluster.name: elasticsearch
node.master: false
node.data: true
index.number_of_shards: 5
index.number_of_replicas: 1
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true

我假设我在某处缺少其他配置。任何帮助都感激不尽。

喜欢与人分享编程技术与工作经验,欢迎加入编程之家官方交流群!
cluster.name: mycluster
node.name: "node2"
node.master: false
node.data: true
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["node1.example.com"]
@H_403_7@
 

          

解决方法

我有一台运行elasticsearch和kibana的服务器。我添加了第二个节点以形成集群,但只希望该第二个节点从主节点复制数据。

基于有关如何执行此操作的有限文档,我第二次遇到以下错误

[DEBUG][action.admin.indices.get ] [Match] no known master node,scheduling a retry

我无法确定两台服务器的最佳配置来实现这一目标,但这是我到目前为止所做的:

主节点配置:

cluster.name: elasticsearch
node.master: true
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true

节点2

cluster.name: elasticsearch
node.master: false
node.data: true
index.number_of_shards: 5
index.number_of_replicas: 1
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true

我假设我在某处缺少其他配置。任何帮助都感激不尽。

喜欢与人分享编程技术与工作经验,欢迎加入编程之家官方交流群!
[DEBUG][action.admin.indices.get ] [Match] no known master node,scheduling a retry
cluster.name: elasticsearch
node.master: true
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true
cluster.name: elasticsearch
node.master: false
node.data: true
index.number_of_shards: 5
index.number_of_replicas: 1
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true

节点2:

我有一台运行elasticsearch和kibana的服务器。我添加了第二个节点以形成集群,但只希望该第二个节点从主节点复制数据。

基于有关如何执行此操作的有限文档,我第二次遇到以下错误

我无法确定两台服务器的最佳配置来实现这一目标,但这是我到目前为止所做的:

主节点配置:

节点2

我假设我在某处缺少其他配置。任何帮助都感激不尽。

节点2:

cluster.name: mycluster
node.name: "node2"
node.master: false
node.data: true
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["node1.example.com"]
@H_403_7@
 

          

解决方法

我有一台运行elasticsearch和kibana的服务器。我添加了第二个节点以形成集群,但只希望该第二个节点从主节点复制数据。

基于有关如何执行此操作的有限文档,我第二次遇到以下错误

[DEBUG][action.admin.indices.get ] [Match] no known master node,scheduling a retry

我无法确定两台服务器的最佳配置来实现这一目标,但这是我到目前为止所做的:

主节点配置:

cluster.name: elasticsearch
node.master: true
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true

节点2

cluster.name: elasticsearch
node.master: false
node.data: true
index.number_of_shards: 5
index.number_of_replicas: 1
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true

我假设我在某处缺少其他配置。任何帮助都感激不尽。

喜欢与人分享编程技术与工作经验,欢迎加入编程之家官方交流群!
[DEBUG][action.admin.indices.get ] [Match] no known master node,scheduling a retry
cluster.name: elasticsearch
node.master: true
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true
cluster.name: elasticsearch
node.master: false
node.data: true
index.number_of_shards: 5
index.number_of_replicas: 1
path.data: /local00/elasticsearch/
path.work: /local00/el_temp/
network.host: 0.0.0.0
http.port: 9200
script.disable_dynamic: true

我有一台运行elasticsearch和kibana的服务器。我添加了第二个节点以形成集群,但只希望该第二个节点从主节点复制数据。

基于有关如何执行此操作的有限文档,我第二次遇到以下错误

我无法确定两台服务器的最佳配置来实现这一目标,但这是我到目前为止所做的:

主节点配置:

节点2

我假设我在某处缺少其他配置。任何帮助都感激不尽。

其他 2022/1/1 18:18:54 有506人围观

撰写回答


你尚未登录,登录后可以

和开发者交流问题的细节

关注并接收问题和回答的更新提醒

参与内容的编辑和改进,让解决方法与时俱进

请先登录

推荐问题


联系我
置顶