0

What is the FOSS solution that provides High Availability to stateful docker apps between geographically dispersed data centers?

  • OS: CentOS 7
  • FOSS: no support contract
  • Specific requirements: HA/failover of stateful Docker containers (mongodb/postgres) between data centers.

bumped to the homepage by Community yesterday

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • The problem is that I need to figure out which questions to ask. I think that I need ceph in conjunction with REX-Ray to achieve my goal, but the configuration/architecture is really the conundrum that I am trying to figure out. It seems to be out of the scope of this site. – Alex Jan 20 at 18:33
  • Well, it's asking for software now, so it seems legit. – Izzy Jan 20 at 18:43
0

For Databases it depends on the Database/Use case:

Postgres: Postgres BDR with HAProxy

MongoDB: Replica Sets and modify API URI to mongodb://db1.example.net:27017,db2.example.net:2500/?replicaSet=test

Though Mongodb can be used with HAProxy, the Mongodb's internal failover system has to be disabled and it would probably be easier to just change the URI as stated above.

The native replication/failover functionality needs to be used for the database and sometimes proxied to.

For other persistent Docker volumes, DRBD would probably be sufficient.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.