mwalost_58335
Oct 14, 2012Nimbostratus
Re-direct based on an external file.
I have a pool (my-pool) with 2 members 10.10.10.10 and 10.10.10.11.
I also have an external file (my-file) in the format "RESULT" := "X",
X is either 1 or 2 where 1 relates to 10.10.10.10 and 2 to 10.10.10.11.
I've got scripts to allow the external file to be updated indirectly without giving access to the F5 device, so the value can be changed dynamically.
I want to direct anyone accessing fred.co.uk to be directed to the member identified in the external file, so if result is 1 then 10.10.10.10 and if its 2 10.10.10.11.
The problem is if the content of the result file changes I still want the original connection to be maintained. I've tried various ways but seem to have run into a dead end, any ideas.
Thanks