Forum Discussion

Steve_Albrecht's avatar
Steve_Albrecht
Icon for Nimbostratus rankNimbostratus
Jul 21, 2017

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

 

8 Replies

  • 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

    tmsh load sys conf merge from-file /var/tmp/your-data-group.txt
    . Create one dummy data group first if you need reference of compliant format.

    Rgds,

    • Steve_Albrecht's avatar
      Steve_Albrecht
      Icon for Nimbostratus rankNimbostratus

      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's avatar
      Hannes_Rapp_162
      Icon for Nacreous rankNacreous

      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's avatar
      Hannes_Rapp_162
      Icon for Nacreous rankNacreous

      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

       

  • 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

    tmsh load sys conf merge from-file /var/tmp/your-data-group.txt
    . Create one dummy data group first if you need reference of compliant format.

    Rgds,

    • Steve_Albrecht's avatar
      Steve_Albrecht
      Icon for Nimbostratus rankNimbostratus

      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's avatar
      Hannes_Rapp
      Icon for Nimbostratus rankNimbostratus

      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's avatar
      Hannes_Rapp
      Icon for Nimbostratus rankNimbostratus

      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