Configuring LiveCache to be fault-tolerant (GridServer 3.2)

Configuring LiveCache to be fault-tolerant (GridServer 3.2)

book

Article ID: KB0085676

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

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:

&ltservlet>
  &ltservlet-name&gtlivecache</servlet-name>
  &ltdescription&gtDataSynapse LiveCache Server</description>
  &ltservlet-class&gtcom.livecluster.servlet.LiveCacheServlet</servlet-class>
  &ltinit-param>
    &ltparam-name&gtBASE_DIR</param-name>
    &ltparam-value>%basedir%</param-value>
  </init-param>
  &ltload-on-startup&gt4</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.

Issue/Introduction

Configuring LiveCache to be fault-tolerant (GridServer 3.2)