Modify the JGroups Configuration
The segment cache features explained in this section are for very large OLAP deployments.
The default Infinispan configuration uses JGroups to distribute the cache across all Mondrian instances it finds on the local network. If you want to modify how those communications are done, you must edit the JGroups configuration file.
Fine-grained JGroups configuration is covered in the JGroups documentation; you should read through it before making changes.
Each node might require a different configuration; the default configuration is highly portable.
If you are deploying this plugin on Amazon EC2, JGroups has a special configuration file that you copied to your /WEB-INF/classes/ directory when you installed the Analysis Enterprise Edition package. Additionally, default JGroups configuration files are inside of the JAR archive. To switch implementations, edit infinispan-config.xml and make the modification appropriate to your communication method:
Comm. type | Config entry |
---|---|
UDP communication |
<property name="configurationFile" value="jgroups-udp.xml"/> |
TCP communication |
<property name="configurationFile" value="jgroups-tcp.xml"/> |
Amazon EC2 |
<property name="configurationFile" value="jgroups-ec2.xml"/> |