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

NCache Web Manager

NCache can now also be managed and configured via a web-based application known as Web 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 Web manager is ASP.NET Core based and therefore, can run on Windows as well as Linux.

Supported Web Browsers

NCache Web 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 Web Manager process is running.

Launching NCache Web Manager

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

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

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

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

Enable/Disable Auto Start of NCache Web Manager

By default, auto start of NCache Web 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 NCache Service by typing the following 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 NCache Service by typing the following in terminal:
> sudo systemctl restart ncached

Manually Start NCache Web Manager

If you want to manually start Web Manager, NCache provides the Start-NCacheWebManagementProcess 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 Web Management Process on your local server node. By default, the URL is http://localhost:8251.

Start-NCacheWebManagementProcess
  • You can now use NCache Web 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 Web Management Process on your local server node. By default, the URL is <server-ip>:8251.
Start-NCacheWebManagementProcess
  • You can now use NCache Web Manager by browsing to <server-ip>:8251.

Get Started with NCache Web 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