The default versions of the clustered cache configuration files should work in most cases. However, you can if needed create and deploy customized versions.
The most likely customization that might be needed would be to the IP address and port number configured near the top of each file:
<cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory" properties="peerDiscovery=automatic,multicastGroupAddress=230.0.0.1,multicastGroupPort=4446,timeToLive=1" propertySeparator="," />
If you make any changes to these configuration files, make sure to make the same changes for all of the instances in the cluster.
To customize the clustered cache configuration files:
Use the appropriate method to undeploy the file based on whether you auto-deployed the .ear file or installed it.
endeca-portal-versionNumber.war/WEB-INF/classes/ehcache/hibernate-clustered-custom.xml
Where versionNumber is the actual version string of the endeca-portal WAR file.
net.sf.ehcache.configurationResourceName=/ehcache/hibernate-clustered-custom.xml ehcache.multi.vm.config.location=/ehcache/liferay-multi-vm-clustered-custom.xml