<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Best way to configure jgroups without multicast / running in azure or any other cloud in CRM and CX Q&amp;A</title>
    <link>https://community.sap.com/t5/crm-and-cx-q-a/best-way-to-configure-jgroups-without-multicast-running-in-azure-or-any/qaa-p/12114464#M416057</link>
    <description>&lt;P&gt;how did u setup ur tcp cluster xml file ? &lt;/P&gt;&lt;P&gt;i am getting &lt;BR /&gt;2021-03-22 18:23:44,846 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-2 timed out (after 3000 ms), on try 9
2021-03-22 18:23:47,849 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-3 timed out (after 3000 ms), on try 9
2021-03-22 18:23:50,850 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-2 timed out (after 3000 ms), on try 9
2021-03-22 18:23:53,850 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-0 timed out (after 3000 ms), on try 9
2021-03-22 18:23:56,851 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-3 timed out (after 3000 ms), on try 9
2021-03-22 18:23:59,853 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-1 timed out (after 3000 ms), on try 9&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Mar 2021 19:51:12 GMT</pubDate>
    <dc:creator>cybersolutions</dc:creator>
    <dc:date>2021-03-22T19:51:12Z</dc:date>
    <item>
      <title>Best way to configure jgroups without multicast / running in azure or any other cloud</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/best-way-to-configure-jgroups-without-multicast-running-in-azure-or-any/qaq-p/12114463</link>
      <description>&lt;P&gt;Most cloud providers do not allow any multicast connects between nodes. When nodes are joining the cluster they need another kind of strategy to discover the other cluster nodes. With jgroups you can achieve this via the JDBC_PING strategy. &lt;/P&gt;
&lt;P&gt;The parameters hybris.database.username / password / url / driver are explicitly needed and may be identical to the corresponding db.url, db.password, ... properties.&lt;/P&gt;
&lt;P&gt;Is there a better way?&lt;/P&gt;
&lt;P&gt;I had success with the following properties:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; clustermode=true
 cluster.nodes.autodiscovery=true
 cluster.broadcast.methods=jgroups
 cluster.broadcast.method.jgroups.configuration=jgroups-tcp.xml
 hybris.database.username=&amp;lt;VALUE&amp;gt;
 hybris.database.password=&amp;lt;VALUE&amp;gt;
 hybris.database.driver=&amp;lt;VALUE&amp;gt;
 hybris.database.url=&amp;lt;VALUE&amp;gt;
 hybris.jgroups.bind_port=9999
 hybris.jgroups.schema=&amp;lt;SQL_DDL&amp;gt;
 
 for MS-SQL use:
 
 IF NOT EXISTS (  SELECT [name] FROM sys.tables WHERE [name] = 'JGROUPSPING' ) 
 CREATE TABLE JGROUPSPING (own_addr varchar(200) NOT NULL, cluster_name varchar(200) NOT NULL, 
 ping_data varbinary(5000) DEFAULT NULL, PRIMARY KEY (own_addr, cluster_name))
 
 for MySQL use:
 
 CREATE TABLE IF NOT EXISTS JGROUPSPING (own_addr varchar(200) NOT 
 NULL, cluster_name varchar(200) NOT NULL, ping_data varbinary(5000) 
 DEFAULT NULL, PRIMARY KEY (own_addr, cluster_name)) ENGINE=InnoDB 
 DEFAULT CHARSET=utf8 COLLATE=utf8_bin

 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jan 2019 09:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/best-way-to-configure-jgroups-without-multicast-running-in-azure-or-any/qaq-p/12114463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-25T09:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to configure jgroups without multicast / running in azure or any other cloud</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/best-way-to-configure-jgroups-without-multicast-running-in-azure-or-any/qaa-p/12114464#M416057</link>
      <description>&lt;P&gt;how did u setup ur tcp cluster xml file ? &lt;/P&gt;&lt;P&gt;i am getting &lt;BR /&gt;2021-03-22 18:23:44,846 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-2 timed out (after 3000 ms), on try 9
2021-03-22 18:23:47,849 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-3 timed out (after 3000 ms), on try 9
2021-03-22 18:23:50,850 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-2 timed out (after 3000 ms), on try 9
2021-03-22 18:23:53,850 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-0 timed out (after 3000 ms), on try 9
2021-03-22 18:23:56,851 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-3 timed out (after 3000 ms), on try 9
2021-03-22 18:23:59,853 WARN  []  [localhost-startStop-1] [org.jgroups.protocols.pbcast.GMS] hybrisnode-2: JOIN(hybrisnode-2) sent to hybrisnode-1 timed out (after 3000 ms), on try 9&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 19:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/best-way-to-configure-jgroups-without-multicast-running-in-azure-or-any/qaa-p/12114464#M416057</guid>
      <dc:creator>cybersolutions</dc:creator>
      <dc:date>2021-03-22T19:51:12Z</dc:date>
    </item>
  </channel>
</rss>

