Skip to content

Database redundancy #71

@michaelbontyes

Description

@michaelbontyes

We're looking for database redundancy in case of any failure.

The scenario is:

  1. The main OpenMRS database is continuously and automatically synced to a secondary database as master-master or master-slave architecture.
  2. The main OpenMRS database the backend uses is failing - not responding anymore.
  3. The OpenMRS backend automatically switches to the secondary database to keep EMR operations running.
  4. Once fixed, the backend switched back to the primary database / normal behavior again.

Requirements and assumptions:

  • OpenMRS 3 is running on Docker-compose
  • Databases (MariaDB) instances are running on Docker-compose on the same network, but potentially on different devices/laptops.

Task:

  • Modify the docker-compose and create necessary configuration files to add that functionality

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions