Forum Discussion
Regarding iRules + iFile
i want to put up a lot of files at once. Is there a neat way to do it (without uploading them one-by-one through the F5 interface)?
Can I upload them to some folder in the F5 and get them from there? Tried /config/filestore/files_d/Common_d/ifile_d but it didn't work.
Thx
3 Replies
- hoolio
Cirrostratus
Hi Piang,
I outlined steps for uploading and loading external data group files here:
https://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/53/aft/2159165/showtab/groupforums/Default.aspx
The process should be similar for iFiles. If you have questions, you can check the tmsh guide or reply back here.
Aaron - piang_72184
Nimbostratus
Hi Aaron,Sorry but as I'm not very familiar with the F5, I don't know how to repeat the steps you've outlined in the link for iFiles. Say, for example, I got a full hierarchy of files with tens to hundreds of files inside them, how do I go about letting the F5 know about this structure and be able to use simple and fast commands like [iFile get filename] to retrieve them from the F5?
Thanks for the help,
Piang
- hoolio
Cirrostratus
Hi Piang,
You can write a tmsh script to create the iFile file and config object. The steps in the link I gave are fairly complete (https://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/53/aft/2159165/showtab/groupforums/Default.aspx2235504).
That said, I would questions why you want to use LTM to host hundreds of files. Each file is loaded into TMM memory and takes away from what is available for load balancing and the other main responsibilities you use an ADC for. Wouldn't it be cheaper to set up a remotely hosted static web application for this?
Aaron
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
