简体   繁体   English

迁移到分布式 Elasticsearch 集群

[英]Moving to distributed Elasticsearch cluster

I have already elasticsearch installed in standalone mode, in 1 node cluster.我已经在 1 节点集群中以独立模式安装了 elasticsearch。 I created many Elasticsearch indexes for analysis on kibana.我创建了许多 Elasticsearch 索引用于在 kibana 上进行分析。 Now I wanna switch it to distributed cluster of 3 node cluster !现在我想把它切换到 3 节点集群的分布式集群!

I wonder if that will cause the delete of elasticsearch indexes???我想知道这是否会导致删除 elasticsearch 索引???

is it that the old data stored on elasticsearch will stay safe on the node 1 only or it will be distributed on 3 nodes???存储在 elasticsearch 上的旧数据是只在节点 1 上安全还是分布在 3 个节点上???

please don't hesitate for help !!请不要犹豫寻求帮助!

best regards !!最好的祝福 !!

Tldr; Tldr;

Elasticsearch is built to be distributed, adding, deleting nodes are standard operation that should not destroy data. Elasticsearch是为分布式构建的,添加、删除节点是标准操作,不应该破坏数据。

There is a bit of documentation about this topic .有一些关于此主题的文档

Elasticsearch supports easy addition and removal of master and data nodes as a distributed database. Elasticsearch作为分布式数据库支持轻松增删master和data节点。 You need to be careful about how you are adding or removing nodes to avoid split brain problem.您需要注意如何添加或删除节点以避免脑裂问题。 No data will be lost and will only be distributed if you enable shard replicaton.没有数据会丢失,只有在启用分片复制时才会分发。

See also: How to add a new node to my Elasticsearch cluster另请参阅: 如何将新节点添加到我的 Elasticsearch 集群

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM