Re: Thoughts on multiple servers

From: Date: Tue, 23 Oct 2007 09:43:16 +0000
Subject: Re: Thoughts on multiple servers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-263528@lists.php.net to get a copy of this message
Ronald Wiplinger wrote: > Questions: > 1. Any hints on above configuration? I would take a look at LinuxHA for a high-availability N+1 solution. > 2. Has anybody experience with a cluster mysql? > 3. How to get the web servers working with the closest connection > (according to the users IP) ? You could set up two different views on your DNS, and then try to pick the right view depending on the geographical location of your customer. There are also systems out there that will examine the routing tables, and pick the "closest" server based on that. I think UltraMonkey will do something like that. > 4. How do I get info about the users IP (within the web server) to > provide startup settings, like Time zone & so time of the user, > language, country, ... ? Geographical mapping of the IP is your best option. Lookup the IP in a database to determine the country, then set a default for timezone, language etc., but let the user override it. > 5. How to make it fail-fall-over if one of the server (web and/or > database server!) is not working? A high availability for geographically dispersed servers? Maybe you should take a look at Linux Virtual Server, I'm not certain it'll help though. /Per Jessen, Zürich

« previous php.general (#263528) next »