« Previous Next »

Thread: IIS Failover on Single affinity

Last post 10-20-2009 3:59 AM by qbernard. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 10-14-2009, 4:44 AM

    IIS Failover on Single affinity

    Hi guys,

    I setup NLB on 2 Windows 2K3 server using IIS 6.  Our programmer is using ASP.NET session so I set the NLB to Single affinity. Now my problem is that when my IIS is down on one of the server user is not routed to the other server, unless I remove the server on cluster.

    Is there any workaround for this? I found something using httpmon but this is for win2000 server and I unable to find the download for it.

  • 10-14-2009, 5:11 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,413

    Re: IIS Failover on Single affinity

    What NLB do you use? A load balancer or Windows Load Balancing Service?
    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 10-19-2009, 9:45 PM In reply to

    Re: IIS Failover on Single affinity

    it's windows NLB.

  • 10-20-2009, 2:47 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,413

    Re: IIS Failover on Single affinity

    http://technet.microsoft.com/en-us/library/bb687542.aspx

    Many people experience this Single affinity issue. Since you are using Windows NLB, System Center team offers a feature pack to ease management in failure scenarios,

    http://blogs.msdn.com/clustering/archive/2009/04/28/9572859.aspx

    Regards,

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 10-20-2009, 3:54 AM In reply to

    Re: IIS Failover on Single affinity

    TechSupport.PH:
    Our programmer is using ASP.NET session so I set the NLB to Single affinity
     

    I think you have exposed a weakness in the design of your application. A better approach would be to store your Asp.Net session data externally as described here :

    Session-State Modes

    Regards,

    Paul Lynch | www.iisadmin.co.uk
  • 10-20-2009, 3:59 AM In reply to

    Re: IIS Failover on Single affinity

    Huh? i have tons of NLB, everything we just issue drain stop request then perform upgrade/maintenace on the node, we have never experienced any issue with regards to the nlb cluster. When you drain stop it, all current session will stay valid until session end, while new request are never route to the node. You are not seeing this?

    And of coz NLB is network layer protocol, it doesn't have visibility to your application stack, so if IIS is down and NLB is still up, request will still route to the box but with error as IIS is not fulfilling request. You can always get some 3rd party tool or write a script to query IIS status if it is down, then issue NLB stop command to pull the node out of the cluster.

     

    Cheers,
    Bernard Cheah
Page 1 of 1 (6 items)
Microsoft Communities