Products | Versions |
---|---|
TIBCO DataSynapse GridServer | - |
Not Applicable | - |
Resolution:
By default, LiveCache resides on each Broker in your Grid. This means it is not fault-tolerant by default; if a Broker fails, the contents of its cache is lost. You can, however, configure all of your Brokers to store the contents of its cache on a shared mount point that will be available even if one Broker fails.
To configure your Brokers to use a single cache:
1) Edit the /webapps/livecluster/WEB-INF/web.xml file.
2) Find the following element that defines LiveCache parameters:
<servlet>
<servlet-name>livecache</servlet-name>
<description>DataSynapse LiveCache Server</description>
<servlet-class>com.livecluster.servlet.LiveCacheServlet</servlet-class>
<init-param>
<param-name>BASE_DIR</param-name>
<param-value>%basedir%</param-value>
</init-param>
<load-on-startup>4</load-on-startup>
</servlet>
3) Change %basedir% to the location of a shared directory that can be accessed by all Brokers.
4) Repeat steps 1-3 for each Broker in your Grid.