Forum Discussion

LyonsG_85618's avatar
LyonsG_85618
Icon for Cirrostratus rankCirrostratus
Dec 19, 2013

TMSH commands in v11

Hi all,

 

We are in process of upgrading from v10.2.4 to v11.4 and have hit an issue.

 

Currently we have an overnight script that update an external class file (in /var/class). The script copies a file onto BigIP , then copies from new file into existing class file, then runs a tmsh command to reload file into memory:

 

modify cli admin-partitions update-partition TESTmodify ltm data-group TESTDATAGROUP access-mode read-only

 

This functionality is no longer available in v11.

 

I think we can figure out how to change partitions to access the class file. What I cant figure out is what the equivalent command is to load just this 1 file?

 

I know we could do:

 

load sys config current-partition

 

But this seems a bit of a big stick for a small problem?

 

Does anyone know how to reload just 1 individual file?

 

Thanks

 

Graham

 

2 Replies

  • Hey Graham,

     

    Can you check this post and reply there if you have any questions?

     

    https://devcentral.f5.com/questions/force-reload-of-external-datagroup-files

     

    Aaron

     

  • Thanks Aaron I did see that post but is the command you use (tmsh save /sys config) not just relaoding the entire config?

     

    The thing i liked about the previous command was that it was only reading in the new file.

     

    Graham