NCache 4.4 - Online Documentation

Multiple Network Cards

 
If you have dedicated network cards configured for public and private communication, then you might not be able to create new clusters or possibly existing NCache cluster could not communicate with others. Please note, the following problems will occur if nodes are unable to communicate with each other on specific interface(s).
 
  • NCache Service starts at one interface whereas other nodes try to communicate with it on the other interface. Therefore the two nodes are always unable to communicate with each other even when apparently both nodes are fully functional.
  • NCache Clients connect to NCache Server to get OutProc cache instances. So, it is possible that NCache Server starts at one interface whereas the client tries to connect to it on the other interface. This way, though NCache Server is ready to accept the client requests, client applications will always be unable to connect to the OutProc caches.
  • Situations can arise where cluster nodes are unable to join with each other and no cluster is forming. The reason could be that one node is listening join requests from other nodes on one network interface whereas other nodes send join requests on other network interface.
 
Workaround
 
To avoid such problems, you can bind NCache service to specific IP that is publicly available to other nodes in the cluster. Here is how you can bind IP to NCache service:
 
<add key = "NCacheServer.BindToClientServerIP" value = "" />
 
BindToClusterIP: You can inform NCache which interface to use for cluster-wide communication. In order to do so, provide the IP Address you want the cluster server to bind with.
BindToClientServerIP: You can inform NCache which interface to use for client communication. In order to do so, please provide the IP Address you want the client's (NCache client) server to bind with.
 
 
 
 
If you want to initialize your clustered cache as InProc, you need to provide same information in your application's config file. Otherwise, this node may not join with other cluster nodes.
 
 
 
See Also