PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > ms.public.win.server.dns > DNS round robin and Apache Server
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
DNS round robin and Apache Server

Réponse
 
LinkBack Outils de la discussion
Vieux 14/06/2007, 09h19   #1
Laura
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut DNS round robin and Apache Server

Hi all !
We have a web application that is hosted on Apache HTTP server.

Now we decided to make the application more scalable so we'll replace
the single Apache server with a farm of 3 Apache Servers.

So now I need to load-balance the client requests between the 3
Apache Servers.

Is it enough if I configure DNS round-robin so that, given a domain
name, it will distribute the load between servers ? The main problem
is that I don't know if DNS round robin is able to use session
affinity, so that calls from one IP address are routed always to the
same Apache server. (If not HTTP session state will be lost.....)

If not, can you point out other alternatives ? (Hardware load-
balancer?)
By the way, the farm of Apache Servers runs on a Windows Server Box.
Thanks a lot
Francesco

  Réponse avec citation
Vieux 14/06/2007, 13h44   #2
Matheesha Weerasinghe
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DNS round robin and Apache Server



Hello Laura,

> Hi all !
> We have a web application that is hosted on Apache HTTP server.
> Now we decided to make the application more scalable so we'll replace
> the single Apache server with a farm of 3 Apache Servers.
>
> So now I need to load-balance the client requests between the 3
> Apache Servers.
>


Is it worth investigating if Network Load Balancing (NLB) that is provided
with Windows Server as standard meets the needs? Please note I have not used
it myself but have heard it used for IIS.

http://technet2.microsoft.com/window....mspx?mfr=true

HTH

M@


  Réponse avec citation
Vieux 14/06/2007, 16h11   #3
Herb Martin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DNS round robin and Apache Server


"Laura" <f.marchioni@pride.it> wrote in message
news:1181809154.589891.176360@j4g2000prf.googlegro ups.com...
> Hi all !
> We have a web application that is hosted on Apache HTTP server.
>
> Now we decided to make the application more scalable so we'll replace
> the single Apache server with a farm of 3 Apache Servers.
>
> So now I need to load-balance the client requests between the 3
> Apache Servers.
>
> Is it enough if I configure DNS round-robin so that, given a domain
> name, it will distribute the load between servers ?


In general this will give you (loose) load balancing.

> The main problem
> is that I don't know if DNS round robin is able to use session
> affinity, so that calls from one IP address are routed always to the
> same Apache server. (If not HTTP session state will be lost.....)


No, Round Robin will NOT do that but normally this you will get
something like this due to requesting DNS Server and requesting
DNS clients caching the results.

E.g., a client gets a resolution from your server (perhaps indirectly
from the client's own DNS server) and tends to keep that result
in cache at both the client and the server (for modern Windows
clients and practically all DNS servers anyway.)

> If not, can you point out other alternatives ? (Hardware load-
> balancer?)


NLB from Microsoft is built into the product (you must add/configure
it.)

NLB (Network Load Balancing) provides load balancing, explicit
affinity on either a single IP or Class-C basis, and also offers fault
tolerance.

Round Robin does NOT provide for fault tolerance.

> By the way, the farm of Apache Servers runs on a Windows Server Box.


You should also question a design that requires such affinity. Normally
all state data for such clients should be stored on a backend database
(perhaps with Server Clustering) OR on the web clients (e.g., using
).


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)


  Réponse avec citation
Vieux 15/06/2007, 15h44   #4
Laura
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DNS round robin and Apache Server

On 14 Giu, 17:11, "Herb Martin" <n...@learnquick.com> wrote:
> "Laura" <f.marchi...@pride.it> wrote in message
>
> news:1181809154.589891.176360@j4g2000prf.googlegro ups.com...
>
> > Hi all !
> > We have a web application that is hosted on Apache HTTP server.

>
> > Now we decided to make the application more scalable so we'll replace
> > the single Apache server with a farm of 3 Apache Servers.

>
> > So now I need to load-balance the client requests between the 3
> > Apache Servers.

>
> > Is it enough if I configure DNS round-robin so that, given a domain
> > name, it will distribute the load between servers ?

>
> In general this will give you (loose) load balancing.
>
> > The main problem
> > is that I don't know if DNS round robin is able to use session
> > affinity, so that calls from one IP address are routed always to the
> > same Apache server. (If not HTTP session state will be lost.....)

>
> No, Round Robin will NOT do that but normally this you will get
> something like this due to requesting DNS Server and requesting
> DNS clients caching the results.
>
> E.g., a client gets a resolution from your server (perhaps indirectly
> from the client's own DNS server) and tends to keep that result
> in cache at both the client and the server (for modern Windows
> clients and practically all DNS servers anyway.)
>
> > If not, can you point out other alternatives ? (Hardware load-
> > balancer?)

>
> NLB from Microsoft is built into the product (you must add/configure
> it.)
>
> NLB (Network Load Balancing) provides load balancing, explicit
> affinity on either a single IP or Class-C basis, and also offers fault
> tolerance.
>
> Round Robin does NOT provide for fault tolerance.
>
> > By the way, the farm of Apache Servers runs on a Windows Server Box.

>
> You should also question a design that requires such affinity. Normally
> all state data for such clients should be stored on a backend database
> (perhaps with Server Clustering) OR on the web clients (e.g., using
> ).
>
> --
> Herb Martin, MCSE, MVPhttp://www.LearnQuick.Com
> (phone on web site)


Thanks for your useful replies !!!!
regards
Francesco

  Réponse avec citation
Vieux 15/06/2007, 20h04   #5
Herb Martin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DNS round robin and Apache Server


"Laura" <f.marchioni@pride.it> wrote in message
news:1181918682.115239.218140@w5g2000hsg.googlegro ups.com...

>> > If not, can you point out other alternatives ? (Hardware load-
>> > balancer?)

>>
>> NLB from Microsoft is built into the product (you must add/configure
>> it.)
>>
>> NLB (Network Load Balancing) provides load balancing, explicit
>> affinity on either a single IP or Class-C basis, and also offers fault
>> tolerance.
>>
>> Round Robin does NOT provide for fault tolerance.
>>
>> > By the way, the farm of Apache Servers runs on a Windows Server Box.

>>
>> You should also question a design that requires such affinity. Normally
>> all state data for such clients should be stored on a backend database
>> (perhaps with Server Clustering) OR on the web clients (e.g., using
>> ).
>>
>> --
>> Herb Martin, MCSE, MVPhttp://www.LearnQuick.Com
>> (phone on web site)

>
> Thanks for your useful replies !!!!



Happy to . Pass on the to someone else in need, and be sure to
ask if you have additional questions.


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)


  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 03h25.


É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,15286 seconds with 13 queries