Remove Cache using Web Manager and PowerShell
An already registered cache can be removed using the following steps.
Using NCache Web Manager
Launch NCache Web Manager by browsing to
http://localhost:8251
(Windows) or<server-ip>:8251
(Windows + Linux).In the left navigation bar, click on Local Caches or Clustered Caches based on the cache to be removed. This opens up a new page at
<server-ip>:8251/
. The page shows any existing local or clustered caches and additional details like Server and Server Platform.In the Caches window, check the box against the cache name to remove, and click Remove.
- You will be prompted to confirm if you want to unregister the cache as well. Clicking Yes will unregister the cache, clicking No will only remove the cache from the Web Manager view.
Using PowerShell
Remove-Cache cmdlet enables the user to remove an already registered cache and also remove cache(s) on a specified server.
This command removes the cache named demoClusteredCache from the local server.
Remove-Cache –Name demoClusteredCache
This command removes the cache named demoClusteredCache on the server node 20.200.20.29.
Remove-Cache –Name demoClusteredCache –Server 20.200.20.29