<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay DXP Indexing and cache not replicating</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110723833" />
  <subtitle>Liferay DXP Indexing and cache not replicating</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110723833</id>
  <updated>2026-04-03T21:02:19Z</updated>
  <dc:date>2026-04-03T21:02:19Z</dc:date>
  <entry>
    <title>RE: Liferay DXP Indexing and cache not replicating</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110725291" />
    <author>
      <name>Lokesh Sharma</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110725291</id>
    <updated>2018-08-17T08:26:32Z</updated>
    <published>2018-08-17T08:26:32Z</published>
    <summary type="html">&lt;p&gt;Thank Jose Jimenez for your reply will so as suggested.&lt;/p&gt;</summary>
    <dc:creator>Lokesh Sharma</dc:creator>
    <dc:date>2018-08-17T08:26:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay DXP Indexing and cache not replicating</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110724948" />
    <author>
      <name>Jose Jimenez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110724948</id>
    <updated>2018-08-17T08:16:27Z</updated>
    <published>2018-08-17T08:16:27Z</published>
    <summary type="html">&lt;p&gt;Hi Lokesh&lt;/p&gt;
&lt;p&gt;you have configured some obsolete properties that are not valid for DXP.&lt;/p&gt;
&lt;p&gt;The simplest way to enable a cluster is through multicast, if this
  kind of comunication is allowed in your infrastructure, you only need
  to add this property to enable the cluster:&lt;/p&gt;
&lt;pre&gt;
#
# Set this to true to enable the cluster link. This is required if you want
# to cluster indexing and other features that depend on the cluster link.
#
cluster.link.enabled=true
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Requirement&lt;/strong&gt;: Your cluster nodes need to be accesible
  between them through the default network interface&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Also you need to &lt;a
    href="https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/installing-a-search-engine"&gt;install a
    Search engine&lt;/a&gt; as Elasticsearch or Solr, and configure it in all
  the nodes in the cluster,  because Lucene is not available in DXP. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I hope this information helps to configure correctly your cluster.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;</summary>
    <dc:creator>Jose Jimenez</dc:creator>
    <dc:date>2018-08-17T08:16:27Z</dc:date>
  </entry>
  <entry>
    <title>Liferay DXP Indexing and cache not replicating</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110723832" />
    <author>
      <name>Lokesh Sharma</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110723832</id>
    <updated>2018-08-17T06:15:09Z</updated>
    <published>2018-08-17T06:15:09Z</published>
    <summary type="html">&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I have two node  when I am creating users its not getting created in
  one of the nodes.&lt;/p&gt;
&lt;p&gt;Also , when I try to create page in one node its not visible on other node.&lt;/p&gt;
&lt;p&gt;When I cleared database cache after adding page on the other node
  where the page is not visible it start appearing.&lt;/p&gt;
&lt;p&gt;For User when I re index User and organization the users starts to appear.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Below is the properties for cluster configuration.&lt;/p&gt;
&lt;p&gt;
  &lt;br /&gt; ## Cluster Configuration&lt;br /&gt;
  lucene.replicate.write=true&lt;br /&gt; cluster.link.enabled=true&lt;br /&gt;
  ehcache.cluster.link.replication.enabled=true&lt;br /&gt;
  cluster.executor.debug.enabled=true&lt;br /&gt; dl.store.impl=com.liferay.portal.store.file.system.AdvancedFileSystemStore&lt;/p&gt;
&lt;p&gt;cluster.link.channel.properties.control=unicast.xml&lt;br /&gt;
  cluster.link.channel.properties.transport.0=unicast.xml&lt;br /&gt;
  ehcache.bootstrap.cache.loader.factory=com.liferay.portal.cache.ehcache.JGroupsBootstrapCacheLoaderFactory&lt;br /&gt;
  ehcache.cache.event.listener.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory&lt;br /&gt;
  ehcache.cache.manager.peer.provider.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory&lt;br /&gt;
  net.sf.ehcache.configurationResourceName.peerProviderProperties=file=/unicast.xml&lt;br /&gt; ehcache.multi.vm.config.location.peerProviderProperties=file=/unicast.xml&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Kindly suggest on this&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Lokesh Sharma</dc:creator>
    <dc:date>2018-08-17T06:15:09Z</dc:date>
  </entry>
</feed>
