Here is the setup I have.
Web Server A
- Proof site
- Staging site
- Live site
- Proof uploader (deployer)
- Staging uploader (deployer)
- Live uploader (deployer)
Web Server B
- Proof site
- Staging site
- Live site
- Proof uploader (deployer)
- Staging uploader (deployer)
- Live uploader (deployer)
Both web servers have the cache channel service running on it. All sites have caching enabled in cd_storage_conf_xml (deployer and site).
Here is a sample of what the config looks like
<ObjectCache Enabled="true">
<!--Optional:-->
<Policy Type="LRU" Class="com.tridion.cache.LRUPolicy">
<!--
The maximum size of memory used by the cache. The string must consist a number
followed by units: "k" or "kb" for kilobytes; "m" or "mb" for megabytes (case insensitive)
-->
<Param Name="MemSize" Value="128mb"/>
</Policy>
<!--Optional:-->
<!-- The Features element specifies classes that add additional functionality to the cache. -->
<Features>
<Feature Type="DependencyTracker" Class="com.tridion.cache.DependencyTracker"/>
</Features>
<!--Optional:-->
<!--
The optional RemoteSynchronization element specifies a remote Cache Channel Service.
The remote Cache Channel Service is used to send messages between caches that are running
on separate virtual machines. (For example, if the Broker and the Deployer run on separate
virtual machines.)
The Cache Channel Service must be running and listening on the configured host and port for
remote synchronization to function.
If this element is omitted, the cache does not use any inter-virtual machine cache communication.
You must use the RemoteSynchronization element in conjunction with the Cache Channel service in
order for objects to be updated or removed from the Broker's object cache when they are published
or unpublished using the Deployer.
-->
<!-- RMI CacheChannel Connector example-->
<RemoteSynchronization Queuesize="128" ServiceMonitorInterval="10000" FlushCacheDuringDisconnectInterval="20000">
<Connector Class="com.tridion.cache.RMICacheChannelConnector" Host="127.0.0.1" Port="1099" />
</RemoteSynchronization>
<ItemTypes defaultStorageId="defaultdb" cached="true">
<Item typeMapping="Page" cached="true" storageId="defaultdb"/>
<Item typeMapping="Binary" cached="true" storageId="defaultdb"/>
Here is the issue When I publish a content item to all 3 sites (staging, proof, live) both server node A and node B for staging get the updated content.
For live and proof node B never resets its cache.
Why are nodes B on live and proof not resetting their cache???
Update:
Each sites (staging, proof, live) have their own broker database but each web server (A and B) point to the same broker DB. Each server does have a deployer running for each site.