Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have two servers, both with Windows Network Load Balancing installed and running on them.

I have an IP that all my domain points to, and that IP is then bound to both servers. NLB then does the clever stuff and figures out which server should handle the respective request.

Here's my problem:

Say I'm on server 1, browsing the site as usual, it's all working fine. I then take server 1 offline in the NLB window, so that server 2 is the only server running, and then click another link in the page. This is when server 2 seems to take about 2 minutes to respond.

I've checked my application trace and the page itself is taking less than a second to load. At first I thought it was taking time to initialize application pools in IIS etc, but we tested that by having someone constantly browse server 2 explicitly, and then I did the same test as before (Start on server 1, take that down and continue on server 2).

Also, i had a constant ping going on the I.P that manages the load balancing, and when I took one server down, I noticed pretty much no downtime in the return ping. So this makes me think it's something to do with the server loading, rather than NLB figuring out that the server is down.

Has anyone had this before? Am I missing anything blatently obvious?

Here's the setup:

  • Windows Server 2008 R2.
  • IIS 7.0 - each site is a .NET application running framework v.3.0.

Cheers, Sean

share|improve this question
    
We need to know which NLB mode you use. Don't do the testing from the servers themselves. How do you take server 1 offline in NLB? –  tore- Jul 28 '10 at 13:07
    
@tore - we're using unicast mode, and I take the server offline by right clicking the server name under the I.P address in the "Network Load Balancing Clusters", and choose Control Host > Stop. We tried choosing "Suspend" with the same results. We are not testing the servers on the servers themselves. hope this helps! –  seanxe Jul 28 '10 at 14:34
    
Um, are you sure about the testing? You wrote: Say I'm on server 1, browsing the site as usual, it's all working fine. I then take server 1 offline in the NLB window, so that server 2 is the only server running, and then click another link in the page. This is when server 2 seems to take about 2 minutes to respond. For me that seems that you browse the site from server1, is this not correct? –  tore- Jul 30 '10 at 7:45
    
I initially start with both servers running and receiving requests. Before I refresh a page, I check which server I am currently on. I take this server offline. I then hit refresh so that my request will get routed to the other server, the only server that is online. This is what takes about 2 minutes to happen. Hope this is clearer! –  seanxe Jul 30 '10 at 10:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.