Hello ! What about building HA and load balancing between two remote LAMP servers (in different server farms) ? Does it make sense ? Is it possible to do ? Thank you
To make it really HA, you need a load balancer cluster. as far as I know they have to be in the same subnet. That does not tell anything about the physical distance. but e.g. you will have problems if two datacenters are connected via ATM over the Ethernet is simulated. The rest should not be that big problem to split the location of the backend servers. Another thing is about which services are you talking that shall be loadbalanced and HA?
Yes. But you need two load balancers that are i nthe same subnet so that they can share an IP address ("virtual IP address"). Take a look at these tutorials: http://www.howtoforge.com/high-availability-load-balancer-haproxy-heartbeat-debian-etch http://www.howtoforge.com/high-availability-load-balancer-pound-keepalived-debian-etch http://www.howtoforge.com/haproxy_loadbalancer_debian_etch If you need master-master replication for your MySQL database (on your LAMP nodes), take a look here: http://www.howtoforge.com/mysql5_master_master_replication_debian_etch To merge your access logs from both LAMP nodes, read here: http://www.howtoforge.com/logresolvemerge.pl_merge_apache_access_logs