Add Local/Remote Clients
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.
A client is your web or application server. This can be either local or remote client. To configure a web or application server as a cache client, you can use either NCache Web Manager or PowerShell cmdlets.
Note
You might get prompted with a dialog box upon these changes, asking whether to reload or overwrite the cache config file. For more detail on maintaining data integrity, refer to Resolving Cache Conflicts page.
Using NCache Web Manager
Launch NCache Web Manager 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 host name. 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 PowerShell
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.21.149 to demoClusteredCache already existing on server node 20.200.20.40.
Add-ClientNode -CacheName demoClusteredCache -Server 20.200.20.40 -ClientNode 20.200.21.149
See Also
Use NCache for Data Caching
Use NCache for Web Application Caching
NCache Programmer's Guide
NCache PowerShell Guide