Configuring Cache Agent

The Cache Agents behave according to the cache object management configuration set in the Cluster tab of the CDD file. Refer to the table below for the object management configuration parameters.

Out of the box using the default configuration in the asg_core.cdd file, you can run more than one instance of Cache Agent.

CDD Cluster Tab Cache OM Settings
Property Notes
Cache Agent Quorum Specifies a minimum number (quorum) of storage-enabled nodes that must be active in the cluster when the system starts up before the other agents in the cluster become fully active.

The property does not affect the running of the deployed application after startup (though a message is written to the log file if the number of Cache Agents running falls below the number specified in this property).

The default value is 1.

Number of Backup Copies The number of backup copies (also known as the backup count) specifies the number of members of the distributed cache service that hold the backup data for each unit of storage in the cache.

Value of 0 means that in the case of abnormal termination, some portion of the data in the cache will be lost.

A backup count of 1 means one server plus one backup are needed, that is, two Cache Agents.

The default value is 1.

Example Settings For Cache Agent Instance

This section shows the sample settings for Cache Agents in the ASG_HOME/bin/asg_core.cdd (XML) file. You can use the sample settings as a reference by editing the ASG_HOME/bin/asg_core.cdd (XML) file in a text editor.

<object-management>
     <cache-agent-quorum>1</cache-agent-quorum>
     <backup-copies>1</backup-copies>
   </cache-manager>
</object-management>