Configure IP Binding (Optional)
If you have multiple network cards (meaning multiple IP addresses) in your cache servers then you must bind 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 Alachisoft.NCache.Daemon.dll.config File
This file is located in
/opt/ncache/bin/service folder on all cache servers.
<appSettings> ... <add key="NCacheServer.BindToClusterIP" value="220.127.116.11"> <add key="NCacheServer.BindToClientServerIP" value="18.104.22.168"> ... <appSettings>
Step 2: Restart NCache Service
Anytime you modify Alachisoft.NCache.Daemon.dll.config, you must restart NCache Service on all cache servers. Do the following in PowerShell.
> sudo systemctl restart ncached