Chapter 22 Configuring Cache Servers (Cache OM) : Configuring a Cache Server

Configuring a Cache Server
This section builds on cluster-level configuration settings and assumes they are in place. See the following chapters for those settings:
Configuring a Dedicated Cache Server Node
Do the following to ensure that a node functions only as a cache server node.
1.
Begin with an engine property (TRA) file that has been configured for the cache cluster, or add the properties to a supplementary property file you will use in addition to the configured be-engine.tra file.
2.
be.engine.cacheServer=true
3.
java.property.tangosol.coherence.distributed.localstorage
(By default this property is set to true.)
Configuring an Agent Node to Also be a Cache Server
By default, an EAR file containing BAR files for inference or query agents (or both), also deploys as a cache server.
This enables simple deployment in test environments, with minimal configuration and using fewer machines. It is not generally recommended for production environments.
To configure an agent node to also be a cache server, do one of the following:
be.engine.cacheServer=false
java.property.tangosol.coherence.distributed.localstorage=true