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 184.108.40.206 to demoCache already existing on server node 220.127.116.11.
Add-ClientNode -CacheName demoCache -Server 18.104.22.168 -ClientNode 22.214.171.124