Forum Discussion
Difference between External and Internal Data Groups
I am doing redirects for our CMS change and would be interested to know the difference between internal and external Data Groups. If i am needing to do >1000 redirects is one better to use than the other. I am specifically interested in performance issues. It looks like i can input redirects 1 by 1 into an internal DG but i can import a completed file into an external DG. Is there any other difference between these two methods of using a DG?
Steven Albercht University of Colorado Denver
- Hannes_Rapp_162
Nacreous
If performance is your main concern, go for string-type internal data group
To ease your work, take the source file, run some search & replace functions. Make it comply with format of internal data group as expressed in /config/bigip.conf file. Once ready, proceed by merging it to your config with
. Create one dummy data group first if you need reference of compliant format.tmsh load sys conf merge from-file /var/tmp/your-data-group.txt
Rgds,
- Steve_Albrecht
Nimbostratus
Thanks for the answer. I do have a follow up question. Is there a difference between creating and editing an internal data group in the gui and using the tmsh load sys conf merge from-file?
Steve Albrecht
- Hannes_Rapp_162
Nacreous
The difference is the speed at which you get your work done.
If you do it in GUI, expect 2 hours minimum. If you have a good grasp on Vi or Nano, you can get it done in 5-15 minutes. If you wanted to do 25 redirects instead of 1K+, I would not have recommended this.
- Hannes_Rapp_162
Nacreous
If you need help with the actual conversion, upload the source file with all redirects to implement in txt format somewhere.
If needed, replace occurrences of your true hostname portion with something fictional
- Hannes_Rapp
Nimbostratus
If performance is your main concern, go for string-type internal data group
To ease your work, take the source file, run some search & replace functions. Make it comply with format of internal data group as expressed in /config/bigip.conf file. Once ready, proceed by merging it to your config with
. Create one dummy data group first if you need reference of compliant format.tmsh load sys conf merge from-file /var/tmp/your-data-group.txt
Rgds,
- Steve_Albrecht
Nimbostratus
Thanks for the answer. I do have a follow up question. Is there a difference between creating and editing an internal data group in the gui and using the tmsh load sys conf merge from-file?
Steve Albrecht
- Hannes_Rapp
Nimbostratus
The difference is the speed at which you get your work done.
If you do it in GUI, expect 2 hours minimum. If you have a good grasp on Vi or Nano, you can get it done in 5-15 minutes. If you wanted to do 25 redirects instead of 1K+, I would not have recommended this.
- Hannes_Rapp
Nimbostratus
If you need help with the actual conversion, upload the source file with all redirects to implement in txt format somewhere.
If needed, replace occurrences of your true hostname portion with something fictional
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com