Forum Discussion
fillstrsoh_2962
Nimbostratus
Oct 26, 2011SharePoint 2010 - virtual with two pools
We are trying to implement SharePoint 2010 using one virtual server with two pools using a pool for each site. dv-strsohioportal is the virtual server which has an irule that sends traffic to a specific pool based on the URI being either dv-strsohioportal/sites/inv or dv-strsohioportal/sites/its. The irule works but it appears that the AAM is not configured correctly because SharePoint returns a 404 error once it translates the URI to dv-strsohioportal/sites/inv/default.aspx or dv-strsohioportal/sites/its/default.aspx.
irule:
when HTTP_REQUEST {
log local0. "URI - [HTTP::uri]"
if { [HTTP::host] contains "dv-strsohioportal" } {
log local0. "URI - [HTTP::uri]"
switch -regexp [string tolower [HTTP::uri]] {
"/sites/its.*" {
log local0. "This time pool - ITS"
pool dv-strsohioportal_its_pool }
"/sites/inv.*" {
log local0. "This time pool - INV"
pool dv-strsohioportal_inv_pool }
}
}
}
If they add dv-strsohioportal to the AAM configuration it redirects to 10.100.x.x/sites/inv/default.aspx or 10.100.x.x/sites/its/default.aspx. Should we abandon using AAM and try to use the IIS rewrite rules instead?
Thanks,
Mark
12 Replies
- fillstrsoh_2962
Nimbostratus
Kurt,
Using the BigIP allowed us to use a common TLD dv-strsohioportal for multiple sites hosted on different SharePoint servers. The irule was needed to define the pool based on the URI and also modify the full URL to contain a hostname that the SharePoint servers had defined such as paris-test or dublin-test1 within the AAM. The links that I mentioned above like /sites/inv do work within SharePoint but are handled by performing a redirect. Taking the BigIP out of the mix, if I requested http://paris-test/sites/inv SharePoint still performs a redirect causing the request to become http://paris-test/sites/inv/default.aspx. Unfortunately I can no longer continue testing as my SharePoint admin has abandoned the concept of using the BigIP based on the recommendation of Microsoft.
Thanks for your help.
Mark - The links that I mentioned above like /sites/inv do work within SharePoint but are handled by performing a redirect. Taking the BigIP out of the mix, if I requested http://paris-test/sites/inv SharePoint still performs a redirect causing the request to become http://paris-test/sites/inv/default.aspx.
O.K. there is nothing in the iRule that would redirect /sites/inv to /sites/inv/default.aspx, except sharepoint itself (or your STREAM profile - please check that!).
Unfortunately I can no longer continue testing as my SharePoint admin has abandoned the concept of using the BigIP based on the recommendation of Microsoft.
I'm sorry to say, but Sharepoint is a big mess, not just in terms of load balancing ;-))
Regards
Kurt Knochner
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects