08-Jan-2019 08:49
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
08-Jan-2019 12:53
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
08-Jan-2019
13:21
- last edited on
01-Jun-2023
16:25
by
JimmyPackets
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