Last post Aug 30, 2007 10:19 AM by naturehermit
Aug 29, 2007 02:10 PM|triggered|LINK
I have an LDAP query that authenticates users in our domain. I want to purchase a second server, that way if one goes down the other can take over. How will this effect my query? Can it support two active directories? What do I need to do/consider?
Aug 30, 2007 07:52 AM|naturehermit|LINK
There are two ways to look at the problem, one is as Web Garden which I am not sure you are referring to and the other is the replication server load balancing.
If you are looking for the former, please read this
The other part which is not related to web garden, actually kind of related as well is that if one server goes down, the other takes over..
This can be accomplished by DNS Alias, and can work without any code changes.
Aug 30, 2007 10:13 AM|triggered|LINK
that was a great article, however it doesn't cover how the active directory is effected. Say I am doing an active directory query, and my connection string is server1.domain/uc= etc...
when switched over to the other server, my query will bomb out cause that server is down.
Aug 30, 2007 10:19 AM|naturehermit|LINK
Thats precisely why i said about the second stuff about DNS aliasing, which doesnt require you to change your query.
Heres how it works,
1. Set alias to second server and loopback,
2. Set hostheader in IIS with named aliases above.
Now when the query runs say server1 goes down, IIS will look for hostheaders and loopback and since server1 is down, the DNS aliases will kick in because it will realise that the ip is down and hence forward your query to second server which has same alias
and hence your query will keep on working. And thats why I said that second server has to be a replication.
Hope that helps