Forum Discussion
Clearing of RAM-Cache or Web Acceleration profiles
I need a way to clear the web cache from off box. I'm playing around with PowerShell for iControl but don't see any ramcache related commands listed. I found a sample script the references the 'Get-RAMCacheEntry' command but this doesn't seem to exist any more.
Basically, I need a good way of doing what this command does without giving my application people CLI access to the big-ip.
tmsh delete ltm profile ramcache [cache profile name]
Ideas?
Thanks,
Patrick
- Patrick_Brown_7Nimbostratus
I did more digging and found this command
Get-F5.LTMRAMCacheEntries
I don't have a working script yet but I'm getting there.
--Patrick
- afedden_1985Cirrus
From your question I can't tell if you are dealing with RAM cache or Web Accelerator, when we were on version 10 code To manually clear the BIG-IP WebAccelerator cache and the LTM HotCache from the command line, type the following command: run util bash then do wa_clear_cache
- traviss_131496NimbostratusI'm needing to do the same (on 11.4.1), but we'd prefer to use the iControl REST interface. I've tried using https:///mgmt/tm/ltm/profile/ramcache just to see the profiles, but I get 403 responses with a message of "Operation is not allowed on configuration item /ltm/profile/ramcache".
I tried the evict all cache method that What's beneath suggested myself and it seems to be working.
However, it seems to empty all entries from all profiles. If you're OK with that I can write an iControl script for you.
/Patrik
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