In this ocation, I get hired as external consultant to help this company to solve a couple of issues.
In the first place, they need a quick solution to get a failover system.
To achieve this requierement, I just setup a bidirectional sync betteween the main production server and the mirror one. I configured the bidirectional sync in the mysql servers and used unison to keeps the filesystems syncs.
When production server will down, they just need to redirect all the petitions to a secondary domain created for this.
After that, I just helped the team to organizate in a better way, and builded a couple of tools and docker-based images and process to made all develp process as agile as I can.
I also helped to planificate they migration from a really big and old monolith service to a more agile bunch of microservices. I'm also created a couple of tools to help the develop team.