[ElasticSearch] 클러스터에서 node 제외하기

Woong·2022년 8월 29일
0

ElasticSearch

목록 보기
10/21
  • _cluster/settings 에 대해, cluster.routing.allocation.exclude._ip 로 제외할 node 의 ip 를 지정
curl -XPUT “http://<username:password@host:port>/_cluster/settings” -d 
'{
  "transient" :{
      "cluster.routing.allocation.exclude._ip" : "X.X.X.X"
   }
}'
  • 해당 IP의 node에서 다른 node 로 데이터 이전이 일어난다.
  • 데이터 이전 완료 후 해당 node 종료시 안전하게 제외된다.

reference

0개의 댓글