Add Local/Remote Clients
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 a local or remote client. To configure a web or application server as a cache client, you can use either NCache Management Center or PowerShell.
You might get prompted with a dialog box upon these changes, asking whether to reload or overwrite the cache config file. For more details on maintaining data integrity, refer to the Resolving Cache Conflicts page.
Using the NCache Management Center
Launch NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251on 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. 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.
Add-ClientNode cmdlet enables the user to add one or more client nodes to existing clustered cache(s).
This command adds a Client node 184.108.40.206 to demoClusteredCache already existing on server node 220.127.116.11.
Add-ClientNode -CacheName demoClusteredCache -Server 18.104.22.168 -ClientNode 22.214.171.124