Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

2016 SharePoint Migration/re-direct

Robert_373615
Nimbostratus
Nimbostratus

I would like to know if it is possible to write an irule that reference 2 different data group lists. first list would hold a list of 2010 sharepoint sites and the second would hold a list of share point sites that have been migrated to 2016 from 2010. Is this possible? we have over a 50 sites and I would prefer to manage data group lists during the migration rather the irule itself. Bob

 

2 REPLIES 2

Leonardo_Souza
Cirrocumulus
Cirrocumulus

Yes, it is possible.

 

You can use multiple data group in an iRule, and direct the traffic to the 2016 or 2010 pool.

 

Here are a few links that can help you:

 

https://devcentral.f5.com/wiki/irules.class.ashx

 

https://devcentral.f5.com/wiki/irules.pool.ashx

 

https://devcentral.f5.com/wiki/irules.uri__host.ashx

 

Stanislas_Piro2
Cumulonimbus
Cumulonimbus

I suggest to create only one datagroup with path as key and pool as value

/app1 := pool-sp2010    
/app2 := pool-sp2010    
/app3 := pool-sp2016   
/app4 := pool-sp2016    

Then read datagroup matching this condition

if {[set sp_pool [class match -value [HTTP::path] starts_with SHAREPOINT_DG]] != ""}    

If it matches, assign pool with

pool $sp_pool