NCache provides easy to use and powerful tools to let you manage and monitor cache clusters and even cache clients. There are two GUI based tools, NCache Manager and NCache Monitor, to let you achieve these goals. Additionally, NCache provides you command line tools to let you script and automate your routine administration tasks. Visual Studio integration is another quick way to create and configure your cache cluster from Visual Studio.
The NCache Visual Studio Extension fully integrates NCache management commands in a tool window of Visual Studio. Using this extension allows all functions in NCache Manager to be accomplished within Visual Studio (VS).
Switching between environments is not required to complete cache management functions such as:
To use NCache Manager in VS, access the VS tool called 'NCache Explorer'.
The NCache Visual Studio Extension is available with NCache Enterprise Edition (64 bit). The NCache Visual Studio Extension (.VSIX file) can be downloaded from the Visual Studio Gallery and can be installed in any version/edition of VS, from 2012 onwards (starting in 2012 Visual Studio supports extensions).
NCache Manager in Visual Studio is called NCache Explorer. So to utilize NCache Manager features from within Visual Studio, first access the NCache Explorer window in Visual Studio. Note: for those familiar with NCache Manager, NCache Explorer in VS works exactly the same way.
Windows PowerShell is a shell developed by Microsoft to automate tasks and configuration management. This powerful shell is based on the .NET framework and it includes a command-line shell and a scripting language.
NCache has a rich set of command line tools (along with powerful GUI-based management tools). With NCache 4.8 and later, all NCache command-line cache management tools are implemented in PowerShell, which easily automates very sophisticated cache management. For example NCache remote tasks can be managed on the network through a single machine using PowerShell scripts.
The NCache PowerShell Provider is used to execute NCache related commands. The NCache PowerShell Provider is only compatible with the NCache Assembly (which comes with the NCache assemblies in the downloaded product).
Following is how to load NCache PowerShell:
Once Windows PowerShell is set up, NCache commands can be executed. In order to get a list of all the supported functionalities of the NCache module, execute the following Get-Command that runs the ncacheps script provided by NCache:
Get-Command: module ncacheps
This command (module ncacheps) provides a complete list of cmdlets that are supported by Windows PowerShell to automate NCache tasks.
Every cmdlet is further explained by using the Get-Help command of PowerShell (the Get-Help command is available in NCache 4.8 or later).
NCache Monitor is a dashboard-style monitoring tool that lets you monitor a lot of detail about your cache cluster and also the cache client machines. Just like NCache Manager, you can run NCache Monitory from a single central location and monitor everything remotely. Some of things you can monitor are:
NCache Manager is a graphical tool that you can run from a central location and administer your cache clusters remotely. It has a very easy to understand and follow GUI that allows you to perform pretty much all the administration tasks seamlessly. Some of the operations you can perform are (all for even remote servers):
In additional to providing its own powerful monitoring capabilities, NCache provides a rich set of counters for PerfMon so you can monitor them from any PerfMon compatible third-party tools. This allows you to monitor cache clusters and remote clients from the monitoring environment of your choice and also to consolidate all monitoring in a single place.
NCache logs important events in the Windows Event Log. This allows you to monitor all such events through Windows Event Viewer or any third party tools for it. Some of the events that are logged included:
Although you can use third party tools to be notified whenever NCache logs certain events in the Windows Event Log, NCache also provides a built-in Email Notification feature. This allows you to be notified via email whenever any of the following happens:
NCache provides a rich set of command line tools to let you script and automate many of the routine administration tasks. Additionally, NCache provides a stress testing tool to let you quickly test NCache performance under stress in your own environment. Here are some of the command line tools provided to you with NCache.