- 禁用分片分配 Disable shard allocation
PUT /_cluster/settings
{
"transient" : {
"cluster.routing.allocation.enable" : "none"
}
}
2.停止非必要的索引并執(zhí)行同步刷新 Stop non-essential indexing and perform a synced flush
POST _flush/synced
3.停止并升級單個節(jié)點 stop one node ,and do upgrade
3.1 復(fù)制配置誉帅,檢查版本配置沖突
3.2 下載對應(yīng)版本
3.3 解壓并且替換配置文件
3.4 更新插件
4.啟動節(jié)點
5.啟用分片分配
PUT /_cluster/settings
{
"transient" : {
"cluster.routing.allocation.enable" : "all"
}
}
6.等待集群green
7.重復(fù)上面步驟