February 2017
Intermediate to advanced
536 pages
28h 47m
English
For this recipe, we will need at least three PostgreSQL servers. As before, we'll assume they are named pg1, pg2, and pg3. Follow these steps on all three servers except where indicated:
tar -xzf v1.1.tar.gz
cd patroni-1.1
sudo python setup.py install
export FIXDIR=$(python -c \
'import site; print(site.getsitepackages()[0])')
sudo chmod -R a+r $FIXDIR
sudo find $FIXDIR -type d -exec chmod a+x {} \;
pg_config --bindir
Read now
Unlock full access