IP Binding with 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 Alachisoft.NCache.Daemon.dll.config File
This file is located in the
/opt/ncache/bin/service folder on all cache servers.
<appSettings> ... <add key="NCacheServer.BindToClusterIP" value="126.96.36.199"> <add key="NCacheServer.BindToClientServerIP" value="188.8.131.52"> ... <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