According to mine solution he only needs to map 5 different CNAME
records, one for each App, and one A record for each server (5 Cname
records + 10 A records one for each Webserver= 15 records right?).
But notice that the CNAME records have NOTHING to do
with load balancing or Round Robin.
Load balancing through round robin is strictly an A record issue.
Now if if tries to add more 5 Apps to this scenario:
According with your solution he will have to have more 5 different A
records for each web server. (more 50 A records. in total he will have
50+50=100 A records) Right?
According to mine solution he only needs to map 5 different CNAME
records to the existent A records. (15+5=20 Records in total) Right?
Of course we have better Solutions for so many Apps (ehehe),
clustering, Nlb,etc.
But I'm only try to explain how CNAME could be a better work
Methodology ( I think).
CNAMES have nothing directly to do with load balancing
or clustering/NLB either.
Please post if you don't agree with that, state your reasons. Just
remember we're talking about Round and Robin solutions, Not Clustering
or any other.
Multiple A records provide load balancing amoung EACH
of the addresses associated with each A record -- since the
DNS rotates the order returned to the client and clients tend
to "pick off the top of the list".
CNAME records MERELY provide alternative names for
some (existing) A record name.
CNAME records may be useful in a solution but are irrelevant
to the LOAD BALANCING part as they merely give you
multiple names for the same IP address.
--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
Let me explain:
Of course if you place 2 A records, that will work to.
My solution was in future growth in mind.
You see if in future Madhan has for example:
5 different web applications mapped to 10 web servers:
According with your solution he will have to have 5 different A records
for each web server. (50 A records in total) Right?
App1.domain.com - > 192.168.0.1
App1.domain.com - > 192.168.0.2
App1.domain.com - > 192.168.0.3
App1.domain.com - > 192.168.0.4
App1.domain.com - > 192.168.0.5
App1.domain.com - > 192.168.0.6
App1.domain.com - > 192.168.0.7
App1.domain.com - > 192.168.0.8
App1.domain.com - > 192.168.0.9
App1.domain.com - > 192.168.0.10
App2.domain.com - > 192.168.0.1
App2.domain.com - > 192.168.0.2
App2.domain.com - > 192.168.0.3
App2.domain.com - > 192.168.0.4
App2.domain.com - > 192.168.0.5
etc , and so on ...
According to mine solution he only needs to map 5 different CNAME
records, one for each App, and one A record for each server (5 Cname
records + 10 A records one for each Webserver= 15 records right?).
Now if if tries to add more 5 Apps to this scenario:
According with your solution he will have to have more 5 different A
records for each web server. (more 50 A records. in total he will have
50+50=100 A records) Right?
According to mine solution he only needs to map 5 different CNAME
records to the existent A records. (15+5=20 Records in total) Right?
Of course we have better Solutions for so many Apps (ehehe),
clustering, Nlb,etc.
But I'm only try to explain how CNAME could be a better work
Methodology ( I think).
Please post if you don't agree with that, state your reasons. Just
remember we're talking about Round and Robin solutions, Not Clustering
or any other.
--
Best Regards
Systems Administrator
MCSA + Exchange
Hi Herb that's what I said in previous post (Create two A records
with the same name and different IpAddress, then map CNAME for one
that A records, has the A records have the same name the Round and
Robin will work, right?)
Did you read ?
He needs Round and robin for two different servers....
--
Best Regards
Systems Administrator
MCSA + Exchange
Hi
Thanks. But I am have a doubt could you pls clarify me. Since I
am a beginner I am having the problem to implement that. Could you
pls say me how should I asssign the CNAME and how to set the
properties.
Regards,
Ok I wil try and mail you after i get my result..
Thanks & Regards
CNAMES are NOT used for load balancing, i.e., Round Robin.
CNAMEs would give you multiple NAMES for a single
computer name.
You need A records for Round Robin: Multiple ADDRESSES
for the SAME name.
--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
Hi
Right click in the Domain folder (Under Dns Forward LookUp Zones)
and choose new -> Alias (CNAME).
For example:
You have a domain named: Domain.com, right click the domain name
and choose new Alias, then in the first textbox write App, then
choose the target host, as I aready mention you shoul coose one of
the 2 A records created (AppServer.domain.com)
For more inf check:
How To Configure DNS Records for Your Web Site in Windows Server
http://support.microsoft.com/default.aspx?scid=kb;en-us;324260
--
Best Regards
Systems Administrator
MCSA + Exchange
Hi
Thanks. But I am have a doubt could you pls clarify me. Since I
am a beginner I am having the problem to implement that. Could you
pls say me how should I asssign the CNAME and how to set the
properties.
Regards,
Hi
- Create two A records with the same name and different IpAddress
(Example: AppServer.domain.com-192.168.0.1,
AppServer.domain.com-192.168.0.2)
- Create a CNAME (Canonical Name) that points to the A record
(AppServer.domain.com), note you only need to add the alias name,
for example: your domain is domain.com, and the app is refered by
App, then your alias should be App, it stays (App.domain.com)
- To enable round and robin, right click dns server choose
properties, advanced tab and choose enable round and robin.
That should do the job.
--
Best Regards
Systems Administrator
MCSA + Exchange
Hi
I am deploying my ASP.Net web application in two different
servers I want to
apply or configure those server with load balancing technique
(i.e Round
Robin DNS)