Networking Forums

Networking Forums > Computer Networking > Windows Networking > IIS 7 Setting LoadBalancerCapabilities

Reply
Thread Tools Display Modes

IIS 7 Setting LoadBalancerCapabilities

 
 
siman
Guest
Posts: n/a

 
      01-10-2009, 04:47 PM
In IIS6 you had to set LoadBalancerCapabilities=1 when using windows NLB so
it would terminate the ip connection (when the app pool had an issue - which
is what I want it to do) and not return 503 error.

Now I'm using IIS 7 is the same still true (i.e. IIS assumes layer 7 load
balancing by default)? If so how do I change it to layer 3/4 so it
terminates the ip and does not return 503? To do this in IIS 6.0 I used the
following script but it doesn't work with IIS 7.

Set oIISPrv = GetObject("winmgmts:/root/MicrosoftIISv2")
Set oAppPoolSettings =
oIISPrv.Get("IIsApplicationPoolSetting='W3SVC/AppPools/DefaultAppPool'")
oAppPoolSettings.LoadBalancerCapabilities=1
oAppPoolSettings.Put_()

This fails with a 8004100e scripting error - I assume the WMI changes have
caused this but cannot find the alternative.

Cheer
s


 
Reply With Quote
 
 
 
 
siman
Guest
Posts: n/a

 
      01-11-2009, 09:29 AM
Found the solution! its now a property of the application pool iteself (go
to advanced properties) and change "service unavailable respose type" from
HTTPLevel to TCPLevel :-)
s

"siman" <myname @ nospam.com> wrote in message
news:4968df46$0$20308$(E-Mail Removed)...
> In IIS6 you had to set LoadBalancerCapabilities=1 when using windows NLB
> so it would terminate the ip connection (when the app pool had an issue -
> which is what I want it to do) and not return 503 error.
>
> Now I'm using IIS 7 is the same still true (i.e. IIS assumes layer 7 load
> balancing by default)? If so how do I change it to layer 3/4 so it
> terminates the ip and does not return 503? To do this in IIS 6.0 I used
> the following script but it doesn't work with IIS 7.
>
> Set oIISPrv = GetObject("winmgmts:/root/MicrosoftIISv2")
> Set oAppPoolSettings =
> oIISPrv.Get("IIsApplicationPoolSetting='W3SVC/AppPools/DefaultAppPool'")
> oAppPoolSettings.LoadBalancerCapabilities=1
> oAppPoolSettings.Put_()
>
> This fails with a 8004100e scripting error - I assume the WMI changes have
> caused this but cannot find the alternative.
>
> Cheer
> s
>



 
Reply With Quote
 
Augusto Alvarez
Guest
Posts: n/a

 
      01-11-2009, 01:31 PM
Great. Sharing the solution with the commmunity, even better.

Cheers

--

augusto alvarez | it professional
MCP - MCTS - MCITP DBA
http://blog.augustoalvarez.com.ar/


"siman" <myname @ nospam.com> escribió en el mensaje de
noticias:4969ca0a$0$18159$(E-Mail Removed). ..
> Found the solution! its now a property of the application pool iteself (go
> to advanced properties) and change "service unavailable respose type" from
> HTTPLevel to TCPLevel :-)
> s
>
> "siman" <myname @ nospam.com> wrote in message
> news:4968df46$0$20308$(E-Mail Removed)...
>> In IIS6 you had to set LoadBalancerCapabilities=1 when using windows NLB
>> so it would terminate the ip connection (when the app pool had an issue -
>> which is what I want it to do) and not return 503 error.
>>
>> Now I'm using IIS 7 is the same still true (i.e. IIS assumes layer 7 load
>> balancing by default)? If so how do I change it to layer 3/4 so it
>> terminates the ip and does not return 503? To do this in IIS 6.0 I used
>> the following script but it doesn't work with IIS 7.
>>
>> Set oIISPrv = GetObject("winmgmts:/root/MicrosoftIISv2")
>> Set oAppPoolSettings =
>> oIISPrv.Get("IIsApplicationPoolSetting='W3SVC/AppPools/DefaultAppPool'")
>> oAppPoolSettings.LoadBalancerCapabilities=1
>> oAppPoolSettings.Put_()
>>
>> This fails with a 8004100e scripting error - I assume the WMI changes
>> have caused this but cannot find the alternative.
>>
>> Cheer
>> s
>>

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up FTP shank Windows Networking 2 05-09-2009 02:13 PM
Setting up VPN Richard Windows Networking 8 10-16-2006 01:25 AM
setting up Steve Healey Wireless Networks 1 01-14-2006 09:30 PM
setting up a LAN Annice Wireless Networks 2 08-15-2004 10:45 AM
Wep Key setting Tom Broadband Hardware 0 01-26-2004 02:43 AM



1 2 3 4 5 6 7 8 9 10 11