0

I m setting up an 3 node postgres HA setup with patroni and etcd for high availability. when I define data directory variable in patroni.yml file, same directory on all 3 nodes ( local path ) its working fine. but if i update different values for different server like below :

server A  /etc/patroni/patroni.yml  
              data directory : /nas/serverA/data
server B  /etc/patroni/patroni.yml
             data directory : /nas/serverB/data
server C  /etc/patroni/patroni.yml
            data directory : /nas/serverC/data

replica nodes are in start state only but not moving to running state.

Quetion 1: can we use nas location for patroni yml file ? if yes should i gave same nas location for all 3 servers or should the location should be different according to the server ?

right now i m expecting that on all 3 servers patorni.yml should be same. but if i want to use nas location can i give only 1 location to all 3 servers ?

Adelino Silva
  • 577
  • 3
  • 16
rishikanth
  • 21
  • 1

0 Answers0