Forum Discussion
Xue-Lin_Lin_839
Nov 26, 2012Historic F5 Account
How to refresh iFile with external data source?
Anybody know how to dynamically refresh ifile used by iRules?
ifile get
ifile listall
ifile attributes
ifile size
ifile last_updated_by
ifile last_update_time
ifile revision
ifile checksum
array set [ifile attributes ]
the command of "ifile get" seems can not refresh the file configured via file management.
Any internal mechanism cashed the prior file?
The scenario is that the we retrieve update file daily or weekly from external datasource via cronb script like sftp/ftp to external server first then get the file with scheduled job and replace the file under "config/filestore/files_d/Common_d/ifile_d" invoked by iRules, thanks!
2 Replies
- hoolio
Cirrostratus
Hi Sharlee,
Here are steps I posted on creating and updating an external file for a data group. You could adapt this for the iFile content:
https://devcentral.f5.com/community/group/asg/53/aft/2159165/showtab/groupforums2235504
Aaron - Xue-Lin_Lin_839Historic F5 Account
Thank Aaron, excellent!
Using a shell or perl to put your tmsh idea for automatical refreshing action which is helpful for us.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects