Forum Discussion

PacketHead_4009's avatar
PacketHead_4009
Icon for Nimbostratus rankNimbostratus
Dec 13, 2011

iRule for Web Migration of Sharepoint

Hello,

 

 

I need help creating an iRule for migration from our SP2003 to SP2010 environment. Here is basically what I am trying to achive.

 

 

 

Current Setup:

 

 

 

1.) VIP is set with IP and site name of intranet.mybiz.com

 

 

 

2.) Default pool for the VIP is SP2010_Pool

 

 

 

3.) No SSL all standard HTTP traffic.

 

 

 

4.) Using default HTTP profile.

 

 

 

Access attempt:

 

 

 

1.) For newly migrated content users will access intranet.mybiz.com and be sent to the default pool since all new content is on the SP2010_Pool which is the default pool.

 

 

 

2.) When users try to access old content not currently migrated, they will hit the VIP and will be processed by the iRule to be sent to the SP2003_Pool.

 

 

 

Here is where I need help. I need an irule that says

 

 

 

if HTTP request for intranet.mybiz.com contains "/sites/technology" then route them to the SP2003_Pool else send to default pool of SP2010_Pool.

 

 

 

What I also need is for it to honor anything appending the main portion of the URL:

 

 

 

For example:

 

 

 

intranet.mybiz.com/sites/technology/activelogin.aspx

 

 

 

or

 

 

 

intranet.mybiz.com/sites/technology/default.aspx

 

 

 

Both of these need to be honored and processed by the iRule.

 

 

 

My goal is to have data in the iRule that allows me to direct older URL/sites to the SP2003_Pool and newer/recently migrated sites to the new and default SP2010_Pool.

 

 

 

I think it is fairly simple but I may have explained it in a complicated way ;) Any help would be appreciated.

 

 

 

Regards,

 

 

James

 

 

 

1 Reply

  • Hi James,

     

     

    I think you've figured out part of it in this post:

     

     

    http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/2159004/showtab/groupforums/Default.aspx

     

     

    Aaron