diff --git a/roles/keycloak/templates/standalone-infinispan.xml.j2 b/roles/keycloak/templates/standalone-infinispan.xml.j2
index fd97e84..b62eed0 100644
--- a/roles/keycloak/templates/standalone-infinispan.xml.j2
+++ b/roles/keycloak/templates/standalone-infinispan.xml.j2
@@ -509,6 +509,9 @@
PRIMARY KEY (own_addr, cluster_name))
ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
+ INSERT INTO JGROUPSPING (own_addr, cluster_name, ping_data) values (?, ?, ?)
+ DELETE FROM JGROUPSPING WHERE own_addr=? AND cluster_name=?
+ SELECT ping_data FROM JGROUPSPING WHERE cluster_name=?
@@ -675,7 +678,7 @@
-
+
@@ -715,7 +718,7 @@
-
+
diff --git a/roles/keycloak/templates/standalone-rhsso-jdg.xml.j2 b/roles/keycloak/templates/standalone-rhsso-jdg.xml.j2
index af69585..7f1fa6a 100644
--- a/roles/keycloak/templates/standalone-rhsso-jdg.xml.j2
+++ b/roles/keycloak/templates/standalone-rhsso-jdg.xml.j2
@@ -384,7 +384,7 @@
- {% for cachename in [ "sessions", "offlineSessions", "clientSessions", "offlineClientSessions", "loginFailures", "actionTokens" ] %}
+{% for cachename in [ "sessions", "offlineSessions", "clientSessions", "offlineClientSessions", "loginFailures", "actionTokens" ] %}
{{ keycloak_remotecache.trust_store_password | default("changeme") }}
- {% endfor %}
+{% endfor %}
+ INSERT INTO JGROUPSPING (own_addr, cluster_name, ping_data) values (?, ?, ?)
+ DELETE FROM JGROUPSPING WHERE own_addr=? AND cluster_name=?
+ SELECT ping_data FROM JGROUPSPING WHERE cluster_name=?
@@ -675,7 +678,7 @@
-
+
@@ -715,7 +718,7 @@
-
+
@@ -734,11 +737,11 @@
-{% if keycloak_modcluster.enabled %}
+{% if keycloak_modcluster.enabled %}
-{% endif %}
+{% endif %}