Forum Discussion

safiyet_80777's avatar
safiyet_80777
Icon for Nimbostratus rankNimbostratus
Aug 16, 2011

merge command

Hi,

 

 

Are there any icontrol method which is equal to merge command? I want to call it from an application.

 

 

thanks

 

5 Replies

  • I don't believe so, however, you could achieve this roundabout by uploading merge files via iControl and then sending your merge commands via ssh
  • I try to run command from command prompt.

     

    But it gives error for "," in external_datagroup text file.

     

     

    for example:

     

    [safiye@f5coolsube1:Standby] class b merge external_test.txt

     

    Reading configuration from external_test.txt.

     

    BIGpipe parsing error (external_test.txt Line 1):

     

    012e0008:3: The requested command (,) is invalid

     

     

    Text file likes:

     

     

    more external_test.txt

     

    "1AAA",

     

    "1BBB",

     

    "1CCC",

     

    "1DDD",

     

    "AAAA",

     

    "BBBB",

     

    "CCCC",

     

    "FFFF",

     

    "HHHH",

     

    "SSSS",

     

    "TTTT",

     

    "XXXX",
  • You can't merge the contents of an external datagroup, merge is for "internal" (for lack of a better word) configurations. Rather, you would merge in the external datagroup reference. For some good merge references, MVP Michael Yates wrote an article a couple months ago:

     

     

    http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086464/BIG-IP-and-Merge-File-Configuration-Changes.aspx Click Here