PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Thoughts on multiple servers
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Thoughts on multiple servers

Réponse
 
LinkBack Outils de la discussion
Vieux 22/10/2007, 23h15   #1
Ronald Wiplinger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Thoughts on multiple servers

At current stage I have two servers installed, whereby the first one
does all, but the second is a database server.

I need to install on different location a server pair, which should work
together, fail-fall-over, ...

The idea is to have in the dns for the servers:

abc.example.com <== general term
tw.abc.example.com <== redirected to, if the user is closer to Taiwan
de.abc.example.com <== redirected to, if the user is closer to Germany

abc will be in my office (10Mbps), tw.abc & de.abc are server
co-location with each 150 Mbps.

The database server is connected to the web server via second Ethernet
port and a private IP (192.168.x.x) via cross over cable.
The other ethernet port of the web server is connected to the Internet
(either through another ADSL, like at my office) or to like the web
server directly to the Internet HUB.
The mySQL servers should be set-up as a cluster server and should work
together within a VPN.

Questions:
1. Any hints on above configuration?
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) ?
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, ... ?
5. How to make it fail-fall-over if one of the server (web and/or
database server!) is not working?

Thanks for you input!

bye

Ronald
  Réponse avec citation
Vieux 23/10/2007, 10h43   #2
Per Jessen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Thoughts on multiple servers

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
though.


/Per Jessen, Zürich
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 16h12.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08673 seconds with 10 queries