vitabaks / postgresql_cluster

PostgreSQL High-Availability Cluster (based on Patroni). Automating with Ansible.
https://postgresql-cluster.org
MIT License
1.69k stars 411 forks source link

exchanging Cluster types #428

Closed marwan17705 closed 1 year ago

marwan17705 commented 1 year ago

Hello,

After deployed successfully with Cluster types "B", how could I change from Cluster types "B" to Cluster types "A" ?

vitabaks commented 1 year ago

Hi!

  1. Specify the servers in the inventory file in the "balancers" group

  2. Deploy load balancers with the option to disable vip-manager

ansible-playbook balancers.yml -e "vip_manager_disable=true"