Friday, July 07, 2006

How to setup a mirror of exist server

Setup a mirror will take over main server with a minimum of downtime when main server crashes

In this article, I show you some experiences to replicate a real machine when I have been involved in the small true system mirroring process.

The exist system specification
OS: Debian 4.0
Web server: Apache 2.x
Database: MySQL 2.x
1. Solutions considering
There' re two solutions which depends on exist system configuration.
- Using VM technology
- Not VM
In case of your system is running with Virtual Machine technology like OpenVZ, VMWare .. You can do live-migration ( I will post in a other article)

- Software

2. Implementation
- Database replication
- Resource replication
- Web Server load balancing