bind interface of infinispan-cache

32 views
Skip to first unread message

captain.p...@googlemail.com

unread,
Oct 17, 2022, 2:50:32 AM10/17/22
to Keycloak Dev
Hi,

we currently are struggling with the infinispan cache configuration. How to bind the network-interface of the infinispan cache explicitly to eth0 or eth1 when using the cache-ispn.xml?

Best regards
Pascal

captain.p...@googlemail.com

unread,
Oct 24, 2022, 1:11:08 AM10/24/22
to Keycloak Dev
anyone?

Michal Hajas

unread,
Oct 24, 2022, 3:25:34 AM10/24/22
to captain.p...@googlemail.com, Keycloak Dev
Hello,

You can try to ask the Infinispan team. Here is how to approach them: https://infinispan.org/community/

Michal

--
You received this message because you are subscribed to the Google Groups "Keycloak Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-dev/f480d1a7-833c-4e61-b650-5ed09c1b6c7dn%40googlegroups.com.

Thomas Darimont

unread,
Oct 24, 2022, 3:56:19 AM10/24/22
to Michal Hajas, captain.p...@googlemail.com, Keycloak Dev
Hello,

you could try to use -Djgroups.bind_addr=match-interface:eth0 or use an external jgroups configuration file within your infinispan config to customize your stack.

also: http://www.jgroups.org/schema/jgroups.xsd (look for bind_addr attribute comment)

<infinispan ... >
...
    <jgroups>
        <!-- Allows custom jgroups configuration -->
        <stack-file path="/opt/keycloak/conf/jgroups-jdbcping-enc.xml" name="custom"/>
    </jgroups>
...
   <cache-container name="keycloak">
   ...
  </cache-container>
...
</infinispan>

Cheers,
Thomas

captain.p...@googlemail.com

unread,
Oct 25, 2022, 2:35:45 AM10/25/22
to Keycloak Dev
@Thomas Darimont: Thanks a lot that was totally it. We were so close but we got the value of the parameter wrong... we tried it with " -Djgroups.bind_addr=eth0" instead of " -Djgroups.bind_addr=match-interface:eth0" thx. This saves our day :-)

Stian Thorgersen

unread,
Oct 25, 2022, 7:29:35 AM10/25/22
to captain.p...@googlemail.com, Keycloak Dev
This mailing list is exclusively for discussing development and contributions to Keycloak. For help please use GitHub Discussions or the user mailing list!

Reply all
Reply to author
Forward
0 new messages