Part X. 운영 시나리오
클러스터를 처음 세우는 일과 계속 운영하는 일은 성격이 다르다. 이 Part는 실제 운영에서 주기적으로 마주치는 작업들을 절차 중심으로 다룬다. restart가 필요한 파라미터 변경과 마이너 업그레이드, pg_upgrade를 동반하는 메이저 업그레이드, 노드 증설과 제거, 재해 복구를 위한 standby cluster, 그리고 pgBackRest나 Barman 같은 백업 도구와의 통합까지, 각 작업에서 Patroni가 해 주는 것과 DBA가 직접 해야 하는 것을 구분해 정리한다.
- 10.1 rolling restart와 마이너 업그레이드 — pending restart·patronictl restart·switchover 활용
- 10.2 메이저 업그레이드 — pg_upgrade·initialize key·Spilo inplace upgrade
- 10.3 노드 추가와 제거 — 자동 합류·clonefrom·member key TTL·slot 관리
- 10.4 standby cluster — standby leader·DR·promote-cluster·demote-cluster
- 10.5 백업 도구 통합 — pgBackRest·WAL-E·Barman·custom bootstrap·permanent slot