[Elasticsearch] 클러스터 rolling restarts
클러스터의 무중단 서비스를 위해 노드의 순차적인 재시작이 필요한 경우가 있다.- OS 업그레이드- 플러그인 설치- 엘라스틱 업그레이드 결론부터 정리하면 샤드가 배치되어 있는 데이터 노드에서 아래 1번부터 5번까지의 과정을 반복하면 된다. 1. shard allocation 옵션을 disabled 처리12345$ curl -XPUT 'localhost:9200/_cluster/settings?pretty=true' -d '{ "transient" : { "cluster.routing.allocation.enable" : "none" }}'Colored by Color Scriptercs 2. 노드 shutdown1$ kill -9 {PID}cs 3. Elasticsearch 플러그인 설치 4. Elasti..