Forum Discussion
Adrian_Goszczyn
Jul 01, 2011Nimbostratus
Proxy between web servers.
Hi Guys,
I'm new in F5 and iRules, so need some help.
We are during migration proces of sharpoint 2007 to new farm 2010. We have a web application which contains many site collection which can't be migrate at a time. So in the same time we will have two web servers which will bind the same application i.e. http://apps.corp.net. And to make migration transparent for the clients, we need to proxy requests to old farm server if site collection wasn't migrate or to new one if it was.
For example
there are two addresses
http://apps.corp.net/sites/it
http://apps.corp.net/sites/hr
And first one was migrated so we need to proxy it to the new server (IP 10.0.0.200),
the second one is still on the old farm so should be proxy to old server (IP 10.0.0.100).
Is there any iRule we could use to make such proxy? Or maybe you have some other concept.
Best wishes,
Adrian
- The_BhattmanNimbostratusHi Adrian,
when HTTP_REQUEST { if { [HTTP::host] eq "apps.corp.net" } { switch -glob [string tolower [HTTP::uri]] { "/sites/it" { pool pool1 } "/sites/hr" { pool pool 2 } } } }
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