Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Convert Internal Data Group to External Data Group

Can I convert an internal data group to an external data group? The internal data group is referenced in 2 irules. If I cannot convert do I delete the internal group and create an external group with the same group name?

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hi David,

To answer your question with best of my knowledge,

  • Can I convert an internal data group to an external data group?

The answer is NO. The internal data group is in the memory. The external is refernced on files.

  • The internal data group is referenced in 2 irules. If I cannot convert do I delete the internal group and create an external group with the same group name?

Yes you have to delete the internal dgl (lets say : sample_externaldgl) first inorder to create with the same name in the external dgl (lets say : sample_externaldgl). Same DGL (sample_externaldgl) names cannot reside in the same partition, it would throw error that it already exists. And you cannot also just delete the internal dgl, as its already referenced in your 2 Irules.

Simple steps to create via CLI.

  • vi /var/tmp/sample_externaldgl_file.txt

(save and quit)

  • tmsh create sys file data-group sample_externaldgl_file separator ":=" source-path file:/var/tmp/sample_externaldgl_file.txt type string
  • tmsh create ltm data-group external sample_externaldgl external-file-name sample_externaldgl_file
0
Comments on this Answer
Comment made 4 weeks ago by David Tyrrell 1

Thanks for response will give this a try.

0
Comment made 2 weeks ago by David Tyrrell 1

All worked great thanks for the help.

0