Add Local/Remote Clients
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 using config files:
Make sure NCache Service is started. If it is not started, type the following command in a terminal:
> sudo systemctl start ncached
Open /opt/ncache/config/client.ncconf file on each local/remote client machine.
Copy/paste the entire
<cache>section from the example below to the
<cache id="demoClusteredCache" load-balance="True" enable-client-logs="False" log-level="error"> <server name="220.127.116.11"/> </cache>
Make sure your
cache idis unique within client.ncconf which contains multiple cache connections.
Replace the IP address specified in the name property of
<server>tag to your server's IP address. Mention all the cache server ip-addresses here as separate
Please perform this step for all cache clients.