高峰只对攀登它而不是仰望它的人来说才有真正意义。

移除了elasticsearch的节点,如何安全的加进去

Elasticsearch | 作者 john123 | 发布于2019年05月27日 | 阅读数:3043

curl -XPUT localhost:9200/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.exclude._ip" : "192.168.110.128"
}
}'
使用了如上命令后,移除了节点,更换换硬盘后,如何重新加入节点,并把数据迁回节点
已邀请:

Ombres

赞同来自:

换硬盘了?如果没有升级版本,之前的数据文件应该还能用,把之前的所有文件都拷贝到新硬盘重新启动节点。启动之后把之前改过的配置改回来,然后等自动同步就可以了

juin - 大数据开发

赞同来自:

1. 集群现在什么状态? 几个节点
2. 索引是否都有副本

zqc0512 - andy zhou

赞同来自:

curl -XPUT localhost:9200/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.exclude._ip" : null
}
}'

laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net

赞同来自:

推荐实践过的:Elasticsearch集群管理之1——如何高效的添加、删除节点?https://blog.csdn.net/laoyang3 ... 18266
 

要回复问题请先登录注册