Forum Discussion
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
- nitass
Employee
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. - IainThomson85_1
Cumulonimbus
Yup, updated in the filestore.
- StephanManthey
Nacreous
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-groupBy 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. - IainThomson85_1
Cumulonimbus
@Stephan,
I'll give this a go shortly, i'll report back with the results
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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