Add Local/Remote Clients
A client is your web or application server. This can be either a local or remote client. To configure a web or application server as a cache client, you can use either the NCache Management Center or Command Line Interface.
Note
The process of adding Local/Remote clients to your cache cluster is exactly the same for all store types. This section uses the example of the Distributed Cache store type, but you can follow the same steps for all other store types as well.
Note
You might get prompted with a dialog box upon these changes, asking whether to reload or overwrite the cache config file.
Add Local/Remote Clients Using NCache Management Center
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251
on Windows and Linux.In the left navigation bar, click on Clustered Caches, based on the cache to which the client will be added. Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache. The Client Nodes tab displays a list and status of any existing client nodes of the cache.
Click on the button and specify the client node IP or hostname. Click on to add it to the cache. A success notification will be displayed.
- The newly added node is displayed in the Client Nodes list, with client cache status.
Using Command Line Interface
The Add-ClientNode cmdlet enables the user to add one or more client nodes to existing clustered cache(s).
This command adds a client node 20.200.20.40 to demoClusteredCache already existing on server node 20.200.20.39.
Add-ClientNode -CacheName demoClusteredCache -Server 20.200.20.39 -ClientNode 20.200.20.40
See Also
Use NCache for Data Caching
Use NCache for ASP.NET Core Caching
NCache Programmer's Guide
NCache Command Line Interface