Add Local/Remote Clients
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 Manager or PowerShell cmdlets.
NCache Manager
Right click on Client Nodes in Cache Explorer for the demoClusteredCache that you created and select the Add Node option.
Provide the client machine name/IP by expanding Network Neighborhood or you can manually enter client node name/IP in text box.
Important
If you have more than one IP address on a client machine, enter the IP address on which NCache service is running.
Click on the Finish button, newly added client node appears under Client Nodes in Cache Explorer tree view.
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 maintaining data integrity, refer to this chapter.
Using Windows 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.29 to demoClusteredCache already existing on server node 20.200.20.38.
Add-Clientnode -CacheName demoClusteredCache -Server 20.200.20.38 -ClientNode 20.200.20.29
See Also
Simulate Cache Usage
Monitor Caches in PerfMon
Use NCache from .NET Application
Use NCache for ASP.NET Sessions
NCache Programmer's Guide
NCache PowerShell Guide