I don't know if this is a bug, working as intended, or my configuration is
incorrect.  Thanks in advance for your help.

I'm setting up 2+ remote caches as a cluster for redundancy / failover.
Each has its own UPDATE style disk auxiliary (I need persistence), and are
set up for cluster consistency.  The idea is that during normal operation
they will basically be mirrors of each other.

If an object isn't found in remote cache A, but is found in clustered cache
B, the item doesn't get written to A's disk auxiliary - it gets added to A's
memory only.  Do I need to set something up differently for the item to be
written to disk as well on a clustered lookup?  I'm using similar cache.ccf
for each remote server, see below:

# Registry used to register and provide the IRemoteCacheService service.
registry.host=localhost
registry.port=1103
# call back port to local caches.
remote.cache.service.port=1103
# cluster setting
remote.cluster.AllowClusterGet=true

# DEFAULT CACHE REGION

jcs.default=DC
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=100
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru
.LRUMemoryCache
jcs.default.cacheattributes.DiskUsagePatternName=UPDATE
jcs.default.cacheattributes.MaxSpoolPerRun=500
jcs.default.cacheattributes.UseMemoryShrinker=false
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=true


# PRE-DEFINED CACHE REGIONS

jcs.region.uoi=DC,RCluster
jcs.region.uoi.cacheattributes=org.apache.jcs.engine.CompositeCacheAttribute
s
jcs.region.uoi.cacheattributes.MaxObjects=1000
jcs.region.uoi.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.
lru.LRUMemoryCache
jcs.region.uoi.cacheattributes.MaxSpoolPerRun=500
jcs.region.uoi.cacheattributes.UseMemoryShrinker=false
#jcs.region.uoi.cacheattributes.MaxMemoryIdleTimeSeconds=3600
#jcs.region.uoi.cacheattributes.ShrinkerIntervalSeconds=3600
jcs.region.uoi.cacheattributes.DiskUsagePatternName=UPDATE
jcs.region.uoi.elementattributes=org.apache.jcs.engine.ElementAttributes
#UOIs are good for a week... active UOIs really should be rebuilt every
night
jcs.region.uoi.elementattributes.IsEternal=false
jcs.region.uoi.elementattributes.MaxLifeSeconds=604800


# AVAILABLE AUXILIARY CACHES

jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFacto
ry
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDis
kCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=D:/jcsCache
jcs.auxiliary.DC.attributes.maxKeySize=100000
jcs.auxiliary.DC.attributes.OptimizeOnShutdown=true
jcs.auxiliary.DC.attributes.MaxPurgatorySize=-1


jcs.auxiliary.RCluster=org.apache.jcs.auxiliary.remote.RemoteCacheFactory
jcs.auxiliary.RCluster.attributes=org.apache.jcs.auxiliary.remote.RemoteCach
eAttributes
jcs.auxiliary.RCluster.attributes.RemoveUponRemotePut=false
jcs.auxiliary.RCluster.attributes.GetOnly=false
jcs.auxiliary.RCluster.attributes.RemoteTypeName=CLUSTER
jcs.auxiliary.RCluster.attributes.ClusterServers=dollar:1103
jcs.auxiliary.RCluster.attributes.LocalClusterConsistency=true

Thanks again,

Dennis Jacobs
Esurg Corporation

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to