Add Local/Remote Clients to Cache
A client is your web or application server. This can be either local or remote client. You can configure a web/app server as a cache client in NCache Professional using PowerShell.
- For .NET, make sure NCache Service (NCacheSvc) is started. If it is not started, type the following command in PowerShell (run as admin):
Start-Service -Name NCacheSvc
- For .NET Core, run NCache Service (NCacheSvc) as Administrator. Please refer to this section for detail.
Add-ClientNode cmdlet enables the user to add one or more client nodes to existing clustered cache(s).
This command adds a Client node 126.96.36.199 to demoCache already existing on server node 188.8.131.52.
Add-ClientNode -CacheName demoCache -Server 184.108.40.206 -ClientNode 220.127.116.11