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 NCache Management Center or PowerShell cmdlets.
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. For more details on maintaining data integrity, refer to the Resolving Cache Conflicts page.
Using the NCache Management Center
Launch the NCache Management Center by browsing to
<server-ip>:8251
.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 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.20.39 to demoClusteredCache already existing on server node 20.200.20.40.
PS> Add-ClientNode -CacheName demoClusteredCache -Server 20.200.20.40 -ClientNode 20.200.20.39