Forum Discussion
fillstrsoh_2962
Oct 26, 2011Nimbostratus
SharePoint 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 specif...
fillstrsoh_2962
Nov 01, 2011Nimbostratus
Kurt,
I added a STREAM profile and modified the irule as you suggested. I also changed it so that it can handle traffic to both SharePoint sites correctly. The SharePoint sites now display and function as expected.
when HTTP_REQUEST {
if { [HTTP::host] contains "dv-strsohioportal" and [HTTP::uri] contains "inv" } {
log local0. "URI - [HTTP::uri]"
log local0. "This time pool - INV"
pool dv-strsohioportal_inv_pool
HTTP::header replace Host paris-test
HTTP::uri "http://paris-test[HTTP::uri]"
log local0. "URL - [HTTP::method] [HTTP::host][HTTP::uri]"
log local0. "Host: [HTTP::header Host]"
log local0. "Request: [HTTP::request]"
}
elseif { [HTTP::host] contains "dv-strsohioportal" and [HTTP::uri] contains "its" } {
log local0. "URI - [HTTP::uri]"
log local0. "This time pool - ITS"
pool dv-strsohioportal_its_pool
HTTP::header replace Host dublin-test1
HTTP::uri "http://dublin-test1[HTTP::uri]"
log local0. "URL - [HTTP::method] [HTTP::host][HTTP::uri]"
log local0. "Host: [HTTP::header Host]"
log local0. "Request: [HTTP::request]"
}
}
The only issue now is that the SharePoint sites are configured with links that only contain the directory path without specifying an actual page. When these links are accessed SharePoint performs a redirect which takes it away from the BigIP.
Thanks,
Mark
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