Hey,
im searching for a solution to bind the infinispan communication on a specific ip adress to use unicast tcpping.
I found some snipplets in the net and thats my cache-ispn.xml :
<infinispan
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:11.0 http://www.infinispan.org/schemas/infinispan-config-11.0.xsd"
xmlns="urn:infinispan:config:11.0">
<jgroups>
<stack name="tcpping" extends="tcp">
<TCP bind_addr="192.168.10.23" bind_port="7800" />
<TCPPING iinitial_hosts="192.168.10.22[7800],192.165.10.23[7800]"
stack.combine="REPLACE"
stack.position="MPING" />
</stack>
</jgroups>
<cache-container name="keycloak">
<transport cluster="testcluster" node-name="keycloak1" lock-timeout="60000"
stack="tcpping" />
.....
</cache-container>
</infinispan>
this code did not change the ip adress, the only workaround i found is to set the java options " -Djgroups.bind.port=7800 -Djgroups.bind.address=192.168.10.23"
enviroment:
keycloak version 20.0.1
openjdk-11-jre
Grateful for any good tip
best regards
michael