Forum Discussion

RiadSanchz's avatar
Oct 31, 2018

SharePoint 2016 servers host multiple web sites, and I want to disable a pool member for a web site on the server, but not others.

SharePoint 2016 servers host multiple web sites and I would like to disable a pool member for a web site URL on the server, but not other URL's.

 

I have completed the following:

 

Created all of the Custom Health Monitors for each website.

 

Created a Pool for each website and applied the monitor to the Pool.

 

Created the LTM Policy >>> Policies > Policy list > and created a policy: SharePoint2016QA-Policy.

 

Within the Policy Sharepoint2016QA I added all of the Sharepoint URL's Matching the following conditions:

 

HTTP Host>host>is> any of legacyapps-qa.corp.abc.com HTTP Host>host>is> any of test-qa.corp.abc.com HTTP Host>host>is> any of test-qa.corp.abc.com HTTP Host>host>is> any of abacus-qa.corp.abc.com

 

When traffic is matched > Forward traffic to > pool > pool_legacyapp-qa

 

etc..

 

Once my policy was completed I applied it to the http_vs and not the https_Vs for SharePoint, is this correct? My websites are only available via HTTPS, but there is a redirect in place, so I am guessing this should work correctly.

 

In troubleshooting I have tried verifying my pools are available after applying the custom health monitors, but they fail. When I remove the custom health monitor and just set the https monitor, the pool is up. I am guessing this is a server issue because the strings may not be correct.

 

I currently have a custom monitor in place that simply monitors the server. The monitor is working correctly because it works to disable and enable the server. The status of disabled and enabled is contained in the server.html file.

 

Send String> GET /server.html HTTP/1.1\r\nHost:controlfile.corp.abc.com \r\n\r\n Receive String> Status: Enabled Receive Disable String> Status: Disabled

 

Now, Id like to do the same, but at the server URL/website level with an LTM Policy or iRule. Please advise if my LTM Policy looks correct or any recommendations.

 

1 Reply

  • Once my policy was completed I applied it to the http_vs and not the https_Vs for SharePoint, is this correct? My websites are only available via HTTPS, but there is a redirect in place, so I am guessing this should work correctly.

     

    No.

     

    The http_vs should only have a redirect (irule or L7 Policy).

     

    Any decision-making has to be made when the request is hitting the https_vs