<?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>Cluster link and multicast</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=6161480" />
  <subtitle>Cluster link and multicast</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=6161480</id>
  <updated>2026-09-12T11:20:09Z</updated>
  <dc:date>2026-09-12T11:20:09Z</dc:date>
  <entry>
    <title>RE: Cluster link and multicast</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118584945" />
    <author>
      <name>Артем Карузин</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118584945</id>
    <updated>2020-02-25T10:46:50Z</updated>
    <published>2020-02-25T10:46:50Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Mathieu Hicauber:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Problem solved for me. I answer mysefl, in case it helps others.&lt;br /&gt;&lt;br /&gt;The problem was due to a bad configuration of the /etc/hosts file. In clustered mode, RMI calls are made that use a getHostName function; this function reliez on this file to get the IP adress of the machine.&lt;br /&gt;In my case, the configuration was set this way :&lt;br /&gt;127.0.1.1 NAME_OF_THE_MACHINE&lt;br /&gt;&lt;br /&gt;While this will work for most of the case, for RMI communication the IP address must be the &amp;#34;real&amp;#34; IP address of the machine.&lt;br /&gt;&lt;br /&gt;Finally it works like a charm :-)&lt;/blockquote&gt;&lt;br /&gt;Thank you! very helpful for me!</summary>
    <dc:creator>Артем Карузин</dc:creator>
    <dc:date>2020-02-25T10:46:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Cluster link and multicast</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=11221026" />
    <author>
      <name>Stephan Huber</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=11221026</id>
    <updated>2011-10-26T08:35:26Z</updated>
    <published>2011-10-26T08:35:26Z</published>
    <summary type="html">Is there a reason why there are five different Multicast IP addresses used in the portal.properties?&lt;br /&gt;&lt;br /&gt;As the five Multicast ports are already different shouldn&amp;#39;t  there be one Multicast IP address enough?&lt;br /&gt;&lt;br /&gt;Thanks!</summary>
    <dc:creator>Stephan Huber</dc:creator>
    <dc:date>2011-10-26T08:35:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Cluster link and multicast</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9563562" />
    <author>
      <name>Mathieu Hicauber</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9563562</id>
    <updated>2011-06-23T15:04:02Z</updated>
    <published>2011-06-23T15:04:02Z</published>
    <summary type="html">Problem solved for me. I answer mysefl, in case it helps others.&lt;br /&gt;&lt;br /&gt;The problem was due to a bad configuration of the /etc/hosts file. In clustered mode, RMI calls are made that use a getHostName function; this function reliez on this file to get the IP adress of the machine.&lt;br /&gt;In my case, the configuration was set this way :&lt;br /&gt;127.0.1.1 NAME_OF_THE_MACHINE&lt;br /&gt;&lt;br /&gt;While this will work for most of the case, for RMI communication the IP address must be the &amp;#34;real&amp;#34; IP address of the machine.&lt;br /&gt;&lt;br /&gt;Finally it works like a charm :-)</summary>
    <dc:creator>Mathieu Hicauber</dc:creator>
    <dc:date>2011-06-23T15:04:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Cluster link and multicast</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9554630" />
    <author>
      <name>Mathieu Hicauber</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=9554630</id>
    <updated>2011-06-23T08:43:13Z</updated>
    <published>2011-06-23T08:43:13Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi,&lt;br&gt;&lt;br&gt;I have activated the multicast on my servers and added the following properties in the portal-ext.properties.&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;ehcache.multi.vm.config.location=/ehcache/liferay-multi-vm-clustered.xml
net.sf.ehcache.configurationResourceName=/ehcache/hibernate-clustered.xml&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;But when I alter a WCM content on my fist liferay instance, I cannot see it right away on the second. I have to wait (at least that's my guess) that hibernate cache expires to see the altered content on the second liferay.&lt;br&gt;&lt;br&gt;My two liferay instances are behind an apache server each, and each apache server is behinf a physical load balancer.&lt;br&gt;&lt;br&gt;Any guess ? Anything more to configure ?&lt;br&gt;&lt;br&gt;Something more : I found 5 addresses in the portal.properties file related to the multicast / cluster thing : 233.0.0.1 to 233.0.0.5.&lt;br&gt;&lt;br&gt;When I try to ping those addresses from one of my two liferay server, each IP address seems to respond correctly (1 packet send, 1 packet received, 1 duplicate =&amp;gt; multicast appears to work) BUT for the 233.0.0.3 address which do not respond to the ping command.&lt;br&gt;&lt;br&gt;What is this IP address for (that's the "multicast.group.address["cluster-link-mping"]" property) ? Could it be related to my problem ?&lt;br&gt;&lt;br&gt;Thank you VERY much for any clue !&lt;br&gt;&lt;br&gt;Mathieu.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Mathieu Hicauber</dc:creator>
    <dc:date>2011-06-23T08:43:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: Cluster link and multicast</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8256296" />
    <author>
      <name>Ankit Srivastava</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8256296</id>
    <updated>2011-04-15T08:13:16Z</updated>
    <published>2011-04-15T08:13:16Z</published>
    <summary type="html">Hi ,&lt;br /&gt;&lt;br /&gt;      I have done clustering using two nodes in Linux and Windows both.But When i am adding one more node,In Linux it is working fine but in windows after starting 3rd node stops.Is this problem because of Multicasting?&lt;br /&gt;&lt;br /&gt;How to configure Multicasting in windows environment?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks in advance</summary>
    <dc:creator>Ankit Srivastava</dc:creator>
    <dc:date>2011-04-15T08:13:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: Cluster link and multicast</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6168296" />
    <author>
      <name>Juan Gonzalez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6168296</id>
    <updated>2010-10-15T19:54:37Z</updated>
    <published>2010-10-15T19:54:37Z</published>
    <summary type="html">Thanks very much Christopher! Totally clear now.</summary>
    <dc:creator>Juan Gonzalez</dc:creator>
    <dc:date>2010-10-15T19:54:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Cluster link and multicast</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6167043" />
    <author>
      <name>Christopher Lui</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6167043</id>
    <updated>2010-10-15T17:20:03Z</updated>
    <published>2010-10-15T17:20:03Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi Juan,&lt;br&gt;&lt;br&gt;ClusterLink only clusters the indexes.&lt;br&gt;&lt;br&gt;&lt;br&gt;You will also need to cluster your Ehcache, have a shared database, and will probably need to share a document library repository.&lt;br&gt;&lt;br&gt;To cluster your Ehcache.&lt;br&gt;Put these properties in your portal-ext.properties to do so:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;    
ehcache.multi.vm.config.location=/ehcache/liferay-multi-vm-clustered.xml
net.sf.ehcache.configurationResourceName=/ehcache/hibernate-clustered.xml
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Hope this helps.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Christopher Lui</dc:creator>
    <dc:date>2010-10-15T17:20:03Z</dc:date>
  </entry>
  <entry>
    <title>Cluster link and multicast</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6161479" />
    <author>
      <name>Juan Gonzalez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6161479</id>
    <updated>2010-10-15T06:57:32Z</updated>
    <published>2010-10-15T06:57:32Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi all!&lt;br&gt;&lt;br&gt;I've searching for a while to know what is the best cluster configuration.&lt;br&gt;&lt;br&gt;I know cluster link enables clustering for indexes but, does it enable clustering for something else?&lt;br&gt;&lt;br&gt;Looking into portal.properties I've found this properties for configuring multicast:&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt; 
    multicast.group.address["cluster-link-control"]=239.0.0.12
    multicast.group.port["cluster-link-control"]=23301

    #
    # See the properties "cluster.link.channel.properties.transport.0" and
    # "cluster.link.channel.system.properties".
    #
    multicast.group.address["cluster-link-udp"]=239.0.0.13
    multicast.group.port["cluster-link-udp"]=23302

    #
    # See the property "cluster.link.channel.system.properties".
    #
    multicast.group.address["cluster-link-mping"]=239.0.0.14
    multicast.group.port["cluster-link-mping"]=23303

    #
    # See the properties "net.sf.ehcache.configurationResourceName" and
    # "net.sf.ehcache.configurationResourceName.peerProviderProperties".
    #
    multicast.group.address["hibernate"]=239.0.0.15
    multicast.group.port["hibernate"]=23304

    #
    # See the properties "ehcache.multi.vm.config.location" and
    # "ehcache.multi.vm.config.location.peerProviderProperties".
    #
    multicast.group.address["multi-vm"]=239.0.0.16
    multicast.group.port["multi-vm"]=23305
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;If I enable cluster link, isn't enabled by default the "hibernate" clustering and "multi-vm" clustering, or do I have to enable by myself if I want total clustering?&lt;br&gt;&lt;br&gt;Thanks very much!&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Juan Gonzalez</dc:creator>
    <dc:date>2010-10-15T06:57:32Z</dc:date>
  </entry>
</feed>
