Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.dns
Thread: DNS round robin and Apache Server

HTVi
TV Discussion Newsgroups

DNS round robin and Apache Server
Laura <f.marchioni[ at ]pride.it> 6/14/2007 8:19:14 AM
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

Re: DNS round robin and Apache Server
Matheesha Weerasinghe <matheesha[ at ]ugh!spam.gmail.com> 6/14/2007 12:44:15 PM


Hello Laura,

[Quoted Text]
> 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/windowsserver/en/library/723ecd7d-f175-4f09-8ec7-3a73d10a06aa1033.mspx?mfr=true

HTH

M[ at ]

Re: DNS round robin and Apache Server
"Herb Martin" <news[ at ]learnquick.com> 6/14/2007 3:11:08 PM

"Laura" <f.marchioni[ at ]pride.it> wrote in message
news:1181809154.589891.176360[ at ]j4g2000prf.googlegroups.com...
[Quoted Text]
> 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
cookies).


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


Re: DNS round robin and Apache Server
Laura <f.marchioni[ at ]pride.it> 6/15/2007 2:44:42 PM
On 14 Giu, 17:11, "Herb Martin" <n...[ at ]learnquick.com> wrote:
[Quoted Text]
> "Laura" <f.marchi...[ at ]pride.it> wrote in message
>
> news:1181809154.589891.176360[ at ]j4g2000prf.googlegroups.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
> cookies).
>
> --
> Herb Martin, MCSE, MVPhttp://www.LearnQuick.Com
> (phone on web site)

Thanks for your useful replies !!!!
regards
Francesco

Re: DNS round robin and Apache Server
"Herb Martin" <news[ at ]learnquick.com> 6/15/2007 7:04:48 PM

"Laura" <f.marchioni[ at ]pride.it> wrote in message
news:1181918682.115239.218140[ at ]w5g2000hsg.googlegroups.com...

[Quoted Text]
>> > 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
>> cookies).
>>
>> --
>> Herb Martin, MCSE, MVPhttp://www.LearnQuick.Com
>> (phone on web site)
>
> Thanks for your useful replies !!!!


Happy to help. Pass on the help 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)


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen