Mirror Linux Systems Running Game Servers And Payment Managing servers
I am building a sort of professional hosting service and want to be able to just switch machines if something goes down on one I use AMP which is a web server along with a game hosting server platform as well as whmcs which is kind of a payment processor it manages giving access to servers and when to charge people PayPal does the actual charging of credit cards. this is a web server as well as PHP And MySQL. what can I do to mirror these servers to another?
Refrences-
https://cubecoders.com/AMP
https://www.whmcs.com/tour/
Hi and welcome to Serverfault.
Your question touches several topics and providing a useful technical answer for your needs would need a lot of assumptions on what availability, data loss, and cost would be acceptable for you.
Because there are lots of things to consider with the setup you describe, there is no straightforward answer.
To give out a few starting points:
- How long is it acceptable for your system to be unavailable?
- How much data is acceptable to be lost?
- Replication/Mirroring is highly application specific. Find out how to perform the task for each application and be aware of the implications.
- High availability can be done in a lot of ways as well, CARP/VRRP, DNS Roundrobin, keepalived/corosync/pacemaker, just to name a few.
- You might also need a load balancer.
- Try to use one system for one application.