<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span></span></div><div id="yui_3_16_0_1_1421668961517_2548" dir="ltr">Hi Marek - Thanks for the below pointers. I believe my setup is good but probably the udp communication is blocked in my organization as I do not see the specific log you mentioned. Here are some of the log messages I see:</div><div id="yui_3_16_0_1_1421668961517_2596" dir="ltr"><br></div><div id="yui_3_16_0_1_1421668961517_2597" dir="ltr">Starting JGroups channel</div><div id="yui_3_16_0_1_1421668961517_2598" dir="ltr">Received new cluster view ... node 1 (no information about node2)<br> </div><div id="yui_3_16_0_1_1421668961517_2754" dir="ltr">I will look at JGroups documentation to have the communication setup using tcp on a different port. Hopefully that would address the problem.</div><div id="yui_3_16_0_1_1421668961517_2764" dir="ltr"><br></div><div id="yui_3_16_0_1_1421668961517_2765" dir="ltr">I tried out the url you provided to verify the setup but it doesn't work - checked on two different setups. fyi - I am using 1.1Beta2 version.</div><div id="yui_3_16_0_1_1421668961517_2766" dir="ltr"><br></div><div id="yui_3_16_0_1_1421668961517_2767" dir="ltr">Regards,</div><div dir="ltr">Raghu</div><div id="yui_3_16_0_1_1421668961517_2535" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1421668961517_2534" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1421668961517_2533" dir="ltr"> <hr size="1" id="yui_3_16_0_1_1421668961517_2739"> <font id="yui_3_16_0_1_1421668961517_2532" face="Arial" size="2"> <b><span style="font-weight: bold;">From:</span></b> Marek Posolda <mposolda@redhat.com><br> <b><span style="font-weight: bold;">To:</span></b> prab rrrr <prabhalar@yahoo.com>; Keycloak-user <keycloak-user@lists.jboss.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, January 19, 2015 6:09 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [keycloak-user] Keycloak Clustering Issues<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1421668961517_2560"><br><div id="yiv2569714331"><div id="yui_3_16_0_1_1421668961517_2559">
<div class="yiv2569714331moz-cite-prefix" id="yui_3_16_0_1_1421668961517_2558">That's quite strange. I've just tested
same scenario and works fine for me. If you do any change on user,
the user is invalidated from cache on node-1 and this change about
invalidation should be propagated to node-2 . As long as you have
shared database, node-2 should then retrieve newest data about
shared user from database. <br clear="none">
<br clear="none">
I would suggest to try this:<br clear="none">
<br clear="none">
* Make sure that your infinispan cluster is correctly set. You can
check it by seeing the message similar to this in server.log of
both nodes: node_1 | 10:49:50,344 INFO
[org.infinispan.remoting.transport.jgroups.JGroupsTransport]
(Incoming-10,shared=udp) ISPN000094: Received new cluster view:
[node1/keycloak|1] (2) [node1/keycloak, node2/keycloak]<br clear="none">
<br clear="none">
* Make sure that you enable "infinispan" as provider of realmCache
and userCache and configured connectionsInfinispan . When you open
admin console on any node like:
<a class="yiv2569714331moz-txt-link-freetext" id="yui_3_16_0_1_1421668961517_2599" onclick="return theMainWindow.showLinkWarning(this)" href="http://localhost:8080/auth/admin/master/console/index.html#/server-info" target="_blank" rel="nofollow" shape="rect">http://node-1:8080/auth/admin/master/console/index.html#/server-info</a><br clear="none">
<br clear="none">
you should see:<br clear="none">
connectionsInfinispan default<br clear="none">
realmCache infinispan<br clear="none">
userCache infinispan<br clear="none">
userSessions infinispan<br clear="none">
<br clear="none">
* If still seeing issues, you can try to enable trace logging for
"org.keycloak.models.cache.infinispan" category.<br clear="none">
<br clear="none">
Hope this helps,<br clear="none">
Marek<br clear="none">
<br clear="none">
<br clear="none">
On 17.1.2015 04:32, prab rrrr wrote:<br clear="none">
</div>
<blockquote id="yui_3_16_0_1_1421668961517_2713" type="cite">
<div class="qtdSeparateBR"><br><br></div><div class="yiv2569714331yqt9566109160" id="yiv2569714331yqt12189"><div id="yui_3_16_0_1_1421668961517_2712" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">
<div id="yiv2569714331yui_3_16_0_1_1421464230104_2309" dir="ltr"> Anyone
noticed any issues with Infinispan? I saw a weird issue. After
setting up a cluster with two nodes, made some changes on
node-1 (created a user and changed the first name). While the
user appeared on node-2, the change to the first name didn't
make it. Restarting the node-2 didn't help either. Wondering
if Infinispan is preventing all the changes to be picked up
from database. If so, what settings would ensure that the data
is consistent between the nodes?</div>
<div id="yiv2569714331yui_3_16_0_1_1421464230104_2333" dir="ltr"><br clear="none">
</div>
<div id="yiv2569714331yui_3_16_0_1_1421464230104_2334" dir="ltr">Thanks,</div>
<div id="yiv2569714331yui_3_16_0_1_1421464230104_2335" dir="ltr">Raghu</div>
</div></div>
<br clear="none">
<fieldset class="yiv2569714331mimeAttachmentHeader"></fieldset>
<br clear="none">
<pre>_______________________________________________
keycloak-user mailing list
<a class="yiv2569714331moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="yiv2569714331moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank" rel="nofollow" shape="rect">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br clear="none">
</div></div><br><br></div> </div> </div> </div></body></html>