swap external file associated with data-group

f5 BIG-IP LTM VE v11.4.0 on ESXi

Using the web admin console : for a data-group of type external-file , it does not seem possible to dynamically swap the data-group file.

Data-group files can be created independently via : System > File Management > Data Group File List > Import

When creating a data-group via : Local Traffic > Virtual Server > iRules > Data Group List > Create

you have the option to select one of the previously created data-group files.

However apparently it’s not possible to later swap-in another file -- at least not via the UI.

Or am I just not seeing how to do this ?

I believe you’ve discovered an issue. Good catch.

In the meantime, here’s one way to get around the problem:

  1. Upload your file to the BIG-IP (ie. scp)
  2. tmsh modify ltm data-group external [dg name] source-path file:///[path to file]

This will actually change the contents of the existing external data-group file.

I tested this successfully in 11.2 or so:

Aaron

Guys.. Any luck on modifying existing external datagroup to use new file imported on 11.4?

modify external ext-dg2 description “created for rule abc” source-path file:/shared/save/Test2.dat does not seems to work

Thanks.