Forum Discussion

IainThomson85_1's avatar
IainThomson85_1
Icon for Cumulonimbus rankCumulonimbus
Mar 23, 2015

Reload External Class - Version 10 to 11 behaviour

Hi All,

 

We have recently completed an upgrade from version 10.2.4 HF8 to version 11.5.1 HF7

 

As part of a script we have to manually change an external class file which is referenced by an iRule (/var/class/external.dat)

 

To then force a reload of the class we used the syntax

 

tmsh modify ltm data-group $EXTERNAL_CLASS external-file-name $FILE_REFERENCED_BY_CLASS

 

Unfortunatley this isn't working any longer, and the original value is being set in memory and thefore not changing the behaviour of the iRule.

 

Any ideas?

 

4 Replies

  • have you imported data group file to filestore? in gui, it is system > file management > data group file list.

    root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) create sys file data-group ?
    Identifier:
      [object identifier]  Name of the external Data Group file.
    
  • Hi Iain,

    here is the procedure I´m using at one of my clients (v11.5.1HF8) to update a external datagroup.

    The import_file is copied to /shared/ directory. Make sure there are no Windows Carriage Returns, correct separator and trailing "," after each line.

    Now the following commands are used to import the new file to filestore, to save config and synchronize to peer:
    tmsh modify sys file data-group  source-path file:/shared/
    tmsh save sys config partitions all
    tmsh run cm config-sync to-group   
    

    By now I haven´t heard complains about not updated datagroups.

    Thanks, Stephan

    PS: It was working fine as well in TMOS v11.2.1 and recently in v11.5.1HF7.