cloudfoundry-community / postgres-boshrelease

A BOSH release for deploying PostgreSQL
MIT License
8 stars 10 forks source link

How to deploy as a master-slave configuration? #14

Closed ashishjain14 closed 7 years ago

ashishjain14 commented 7 years ago

Can this postgres-boshrelease be deployed in a master slave configuration? Can you please provide any details? Currently when I deploy using this https://github.com/cloudfoundry-community/postgres-boshrelease/blob/master/templates/jobs.yml#L16, I am able to deploy 3 instances where I see all the instances are able to create users. So is it being deployed as 3 independent standalone instances or is there any configuration which I am missing?

jhunt commented 7 years ago

The example sets up a 3-node replicated cluster (on non-standard port 6432) and fronts it with pgpool running on all three nodes on the standard 5432 port.

ashishjain14 commented 7 years ago

Thanks James, closing this issue.