Configure IP Binding in Multiple NICs
If you have multiple network cards (meaning multiple IP addresses) in your cache servers then you must bind the NCache server to one of the IP addresses. NCache installer automatically binds the cache server to one of the IP addresses but you may want to change this binding based on your preference. Once bound, this IP address must be specified to identify this cache server both for cluster configuration (config.ncconf) and for client/server configuration (client.ncconf).
Step 1: Modify Cache Service Configuration File
You can specify IP by modifying the service configuration file of all servers. The cache service configuration file is found in the NCache installation as Alachisoft.NCache.Service.dll.config located in %NCHOME%/bin/service.
<appSettings> ... <add key="NCacheServer.BindToClusterIP" value="184.108.40.206"> <add key="NCacheServer.BindToClientServerIP" value="220.127.116.11"> ... <appSettings>
Step 2: Restart NCache Service
For the configuration changes made to take effect, restart the NCache Service. Make sure you have enough privileges to restart the service. If the user is not part of the Administrator's group, make sure to run PowerShell as administrator, otherwise, you might get an error message that Cannot open ncachesvc service on computer.
Execute the following command in PowerShell to restart the NCache Service:
Restart-Service -Name NCacheSvc