!!! The architecture below is set up on virtual servers and ready to run. !!!
All virtual machines have their own download links available in the README.md
file within their respective folders, and all commands to be executed after starting the virtual machines are also included.
Please read the README.md
file in each folder after starting the virtual machines.
The entire structure below is designed to be suitable for HA/DR solutions on virtual machines. While doing these installations, I used a total of 17 virtual machines. The setup includes the following technologies. All server installations were performed on Ubuntu:
- HAProxy
- PgBouncer
- PostgreSQL Cluster
- Consul Cluster
- Patroni
- PgBackRest
- PgWatch
- PgBadger
- Logical Replication
- Debezium - Zookeeper - Kafka Cluster
- MongoDB Cluster
The total size is around 400 GB. Each server has the same configuration, requiring a minimum of 17 GB RAM. Additionally, to ensure the structure works correctly, please watch the video (Starting up the servers) I’ve prepared before starting the servers; otherwise, they may not work. You need to follow the steps in the video in order. This Hands-on lab will provide you with numerous opportunities for testing and learning —> Click to add a new node to the cluster.
- Consul - 1
- Consul - 2
- Consul - 3
- TestDb - Master
- TestDb - Slave - 1
- TestDb - Slave - 2
- Application Layer
- Database Load Balancing Layer
- Backup Server
- ReportingDb - Master
- ReportingDb - Slave
- Zookeeper - Kafka - 1
- Zookeeper - Kafka - 2
- MongoDB - Primary
- MongoDB - Slave
- DelayedDb
- PgWatch - PgBadger
Erol Çimen