• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

NCache Manager

NCache can now also be managed and configured via a web-based application known as NCache Manager, which allows you to smoothly perform managerial tasks like creating cache, adding server/clients, monitoring and more. It is installed on all cache servers and clients by default with NCache's installation.

NCache Manager is ASP.NET Core based and, therefore, can run on Windows as well as Linux.

Supported Web Browsers

NCache Manager supports the latest versions of the following Internet browsers:

  • Google Chrome
  • Mozilla Firefox
  • Opera
  • Internet Explorer 11 (Please make sure latest version is installed). For IE, you need to add the following URLs to IE trusted sites (Read here to learn how to add URLs to trusted sites):
    • http://127.0.0.1:8251
    • http://(IPV4):8251 where IPV4 is the IP address of the machine (local or remote) on which the NCache Manager process is running.

Launching NCache Manager

  • Upon starting NCache Service, NCache Manager will auto-start by default if not already running. The NCache Management Process runs on your local server node with port 8251.

  • To launch NCache Manager in your browser, browse to the following URLs:

    • Windows: http://localhost:8251 or <server-ip>:8251
    • Linux: <server-ip>:8251
Note

Information about NCache Manager startup after service start is also logged in Event Viewer in Windows.
NCache Manager Event Viewer

Enable/Disable Auto Start of NCache Manager

By default, auto start of NCache Manager upon service start is True. To disable auto start:

  • Windows Environment
  • Linux Environment
  • Open Alachisoft.NCache.Service.exe.config (.NET) or Alachisoft.NCache.Service.dll.config (.NET Core Windows) at %NCHOME%\bin\service.

  • Change the following flag to False. In case the flag is missing, value is True by default.

<add key="NCacheServer.StartWebManagement" value="True"/>
  • Restart the NCache Service by typing the following command in PowerShell:
> Start-Service -Name NCacheSvc
  • Open Alachisoft.NCache.Daemon.dll.config at /opt/ncache/bin/service.

  • Change the following flag to False. In case the flag is missing, value is True by default.

<add key="NCacheServer.StartWebManagement" value="True"/>
  • Restart the NCache Service by typing the following in terminal:
> sudo systemctl restart ncached

Manually Start NCache Manager

If you want to manually start the NCache Manager, NCache provides the Start-NCacheManagementProcess PowerShell tool.

  • Windows Environment
  • Linux Environment
  • Go to Start menu on the Taskbar and type NCache PowerShell Management.

  • Click on the search result. This will open an instance of PowerShell with ncacheps imported, and display a list of all NCache PowerShell cmdlets.

  • Enter the following PowerShell command to start the NCache Management Process on your local server node. By default, the URL is http://localhost:8251.

Start-NCacheWebManagementProcess
  • You can now use NCache Manager by browsing to http://localhost:8251.
  • From a terminal of your choice, launch PowerShell by typing the following command:
> pwsh

A PS at the start of the new line in your terminal will indicate PowerShell has been launched.

  • Linux requires to import the NCache module so that NCache tools can be executed.
PS > Import-Module /opt/ncache/bin/tools/ncacheps/
  • Enter the following PowerShell command to start the NCache Management Process on your local server node. By default, the URL is <server-ip>:8251.
Start-NCacheManagementProcess
  • You can now use the NCache Manager by browsing to <server-ip>:8251.

Get Started with NCache Manager

To get started, you can:

  1. Create a Cache
  2. Add Server Nodes to Cache
  3. Add Client Nodes to Cache
  4. Start Cache

See Also

Configure Caches
Configure Clients
Configure Client Cache
Cache Settings

Back to top Copyright © 2017 Alachisoft