I have a ubuntu web server (LAMP). My boss wants me to scale this server by creating a clone behind a load balancer.
Load balance is ok but I have problems with syncing.
What is the easiest solution you suggest for such a problem?
Servers will have local mysql servers and I thing following is enough to sync;
- var/www/ directory
- mysql database
- php sessions
Note: I search for a solution but in the end I am confused than ever.
Aim of scaling is not performance but high availablity.