首页 > 编程知识 正文

vm.overcommit_memory,es集群迁移

时间:2023-05-06 03:07:31 阅读:152320 作者:4321

客户端停止写入1、群集shard allocation # curl-h ' content-type : application/JSON '-xput http://` hostname-I ` :910 _ clus sion settings-d ' { ' persistent ' : { ' cluster.routing.allocation.enable ' 3360 ' none ' } { ' acknowledged “永久”: {“群集”: {“路由”: }“分配”: {“启用”3360“不”}是“传输” curl-h ' content-type : application/JSON '-xpost 3358 ` hostname-I ` 33609100 synced { ' _ shards ' 3360 { ' total ' failed':0}}3、停止es群集进程4、群集shard allocation # curl-h ' content-type : application/JSON '-xput 33550 hostn net settings-d ' { ' persistent ' : { ' cluster.routing.allocation.enable ' 3360 ' all ' } { ' acknowledged } “持续”: {“群集”: {“路由”: {“分配”: {“启用”3360“全部”},“可移植” 1客户端停止写入1.1群集shardallocationput _ cluster/settings { ' persistent ' : { ' cluster.routing.allocation.enablles 停止synced1.3服务2es启动群集操作2.1启动es服务2.2重新启动群集shardallocationput _ cluster/settings { ' persistent ' 3360 { ' cluster }

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。