FAQ Week for NLB: Friday

Published Mar 15 2019 02:06 PM 245 Views
Microsoft
First published on MSDN on Jul 23, 2010

Every day this week the Clustering & High-Availability is writing about some of the top questions we get about Network Load Balancing (NLB) in Windows Server 2008 R2.  We hope you find these helpful!

·         Monday: http://blogs.msdn.com/b/clustering/archive/2010/07/20/10040072.aspx

·         Tuesday: http://blogs.msdn.com/b/clustering/archive/2010/07/20/10040467.aspx

·         Wednesday: http://blogs.msdn.com/b/clustering/archive/2010/07/21/10041067.aspx

·         Thursday: http://blogs.msdn.com/b/clustering/archive/2010/07/22/10041612.aspx

Gary Jackman

Software Test Engineer

Network Load Balancing

Microsoft

Does NLB detect the health or availability of the application it is directing traffic to?

No, for simplicity, NLB is designed to be unaware of any application being hosted on the cluster.  For monitoring application health you will need to use a SCOM Management Pack, 3 rd party tool, or write your own monitoring tool that checks your application and controls NLB appropriately.

Refer to nlbmon.vbs for an example of a custom management utility.  While it does not adjust the node weights, it does stop and start NLB on the nodes based on workload health.  More information: http://msdn.microsoft.com/en-us/library/cc307934(VS.85).aspx

We added health monitoring capability in the SCOM Management Pack specifically for IIS via an IIS-NLB integrated MP. Here is some information on that:

· http://blogs.msdn.com/clustering/archive/2008/06/24/8648702.aspx

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

· http://www.microsoft.com/downloads/details.aspx?FamilyId=78D8C93A-BAE6-4C5D-90AF-B0BF2CE12998&a...

Does NLB support multi-homed web servers?

Yes.  You can bind multiple IP addresses to multiple virtual web sites and still use NLB to load balance traffic between them.  Refer to the port rule question on Wednesday’s FAQ for more information.

%3CLINGO-SUB%20id%3D%22lingo-sub-371644%22%20slang%3D%22en-US%22%3EFAQ%20Week%20for%20NLB%3A%20Friday%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-371644%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Jul%2023%2C%202010%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3EEvery%20day%20this%20week%20the%20Clustering%20%26amp%3B%20High-Availability%20is%20writing%20about%20some%20of%20the%20top%20questions%20we%20get%20about%20Network%20Load%20Balancing%20(NLB)%20in%20Windows%20Server%202008%20R2.%26nbsp%3B%20We%20hope%20you%20find%20these%20helpful!%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Monday%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fb%2Fclustering%2Farchive%2F2010%2F07%2F20%2F10040072.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fb%2Fclustering%2Farchive%2F2010%2F07%2F20%2F10040072.aspx%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Tuesday%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fb%2Fclustering%2Farchive%2F2010%2F07%2F20%2F10040467.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fb%2Fclustering%2Farchive%2F2010%2F07%2F20%2F10040467.aspx%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Wednesday%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fb%2Fclustering%2Farchive%2F2010%2F07%2F21%2F10041067.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fb%2Fclustering%2Farchive%2F2010%2F07%2F21%2F10041067.aspx%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Thursday%3A%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fb%2Fclustering%2Farchive%2F2010%2F07%2F22%2F10041612.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fb%2Fclustering%2Farchive%2F2010%2F07%2F22%2F10041612.aspx%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3EGary%20Jackman%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3ESoftware%20Test%20Engineer%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3ENetwork%20Load%20Balancing%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3EMicrosoft%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3CB%3E%20Does%20NLB%20detect%20the%20health%20or%20availability%20of%20the%20application%20it%20is%20directing%20traffic%20to%3F%20%3C%2FB%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3ENo%2C%20for%20simplicity%2C%20NLB%20is%20designed%20to%20be%20unaware%20of%20any%20application%20being%20hosted%20on%20the%20cluster.%26nbsp%3B%20For%20monitoring%20application%20health%20you%20will%20need%20to%20use%20a%20SCOM%20Management%20Pack%2C%203%20%3CSUP%3E%20rd%20%3C%2FSUP%3E%20party%20tool%2C%20or%20write%20your%20own%20monitoring%20tool%20that%20checks%20your%20application%20and%20controls%20NLB%20appropriately.%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3ERefer%20to%26nbsp%3Bnlbmon.vbs%20for%20an%20example%20of%20a%20custom%20management%20utility.%20%26nbsp%3BWhile%20it%20does%20not%20adjust%20the%20node%20weights%2C%20it%20does%20stop%20and%20start%26nbsp%3BNLB%20on%20the%20nodes%20based%20on%20workload%20health.%20%26nbsp%3BMore%20information%3A%20%3CA%20href%3D%22http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fcc307934(VS.85).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fcc307934(VS.85).aspx%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3EWe%20added%20health%20monitoring%20capability%20in%20the%20SCOM%20Management%20Pack%20specifically%20for%26nbsp%3BIIS%20via%20an%26nbsp%3BIIS-NLB%20integrated%20MP.%20Here%20is%20some%20information%20on%20that%3A%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%C2%B7%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fclustering%2Farchive%2F2008%2F06%2F24%2F8648702.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fclustering%2Farchive%2F2008%2F06%2F24%2F8648702.aspx%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%C2%B7%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fclustering%2Farchive%2F2009%2F04%2F28%2F9572859.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fclustering%2Farchive%2F2009%2F04%2F28%2F9572859.aspx%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%C2%B7%20%3CA%20href%3D%22http%3A%2F%2Fwww.microsoft.com%2Fdownloads%2Fdetails.aspx%3FFamilyId%3D78D8C93A-BAE6-4C5D-90AF-B0BF2CE12998%26amp%3Bdisplaylang%3Den%26amp%3Bdisplaylang%3Den%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fwww.microsoft.com%2Fdownloads%2Fdetails.aspx%3FFamilyId%3D78D8C93A-BAE6-4C5D-90AF-B0BF2CE12998%26amp%3Bamp%3Bdisplaylang%3Den%26amp%3Bdisplaylang%3Den%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3CB%3E%20Does%20NLB%20support%20multi-homed%20web%20servers%3F%20%3C%2FB%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3EYes.%20%26nbsp%3BYou%20can%20bind%20multiple%20IP%20addresses%20to%20multiple%20virtual%20web%20sites%20and%20still%20use%20NLB%20to%20load%20balance%20traffic%20between%20them.%26nbsp%3B%20Refer%20to%20the%20port%20rule%20question%20on%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fb%2Fclustering%2Farchive%2F2010%2F07%2F21%2F10041067.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20Wednesday%E2%80%99s%20FAQ%20%3C%2FA%3E%20for%20more%20information.%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-371644%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Jul%2023%2C%202010%20Every%20day%20this%20week%20the%20Clustering%20%26amp%3B%20High-Availability%20is%20writing%20about%20some%20of%20the%20top%20questions%20we%20get%20about%20Network%20Load%20Balancing%20(NLB)%20in%20Windows%20Server%202008%20R2.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-371644%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIIS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Enetwork%20load%20balancing%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENLB%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Mar 15 2019 02:06 PM
Updated by: