Set the mcast addr and port.

This commit is contained in:
Andrea Dell'Amico 2022-12-29 16:34:04 +01:00
parent d9db72a3ff
commit 2f717dd7cb
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
3 changed files with 26 additions and 6 deletions

View File

@ -81,3 +81,6 @@ keycloak_cluster: false
keycloak_cache_type: ispn
keycloak_cache_stack: tcp
keycloak_cache_container_name: keycloak
keycloak_jgroups_multicast_port: '46655'
keycloak_jgroups_multicast_address: '228.6.7.8'
keycloak_jgroups_multicast_net: '224.0.0.1'

View File

@ -1,13 +1,13 @@
galaxy_info:
author: Andrea Dell'Amico
description: Systems Architect
description: Role that installs Keycloak, <https://www.keycloak.org>
company: ISTI-CNR
issue_tracker_url: https://redmine-s2i2s.isti.cnr.it/projects/provisioning
role_name: keycloak
license: EUPL 1.2+
min_ansible_version: 2.8
min_ansible_version: "2.9"
# To view available platforms and versions (or releases), visit:
# https://galaxy.ansible.com/api/v1/platforms/
@ -20,9 +20,9 @@ galaxy_info:
- jammy
- name: EL
versions:
- 7
- 8
- 9
- "7"
- "8"
- "9"
galaxy_tags:
- users

View File

@ -21,6 +21,23 @@
xsi:schemaLocation="urn:infinispan:config:11.0 http://www.infinispan.org/schemas/infinispan-config-11.0.xsd"
xmlns="urn:infinispan:config:11.0">
<jgroups>
<UDP
mcast_port="{{ keycloak_jgroups_multicast_port }}"
mcast_addr="{{ keycloak_jgroups_multicast_address }}"
ucast_recv_buf_size="5M"
ucast_send_buf_size="640K"
mcast_recv_buf_size="5M"
mcast_send_buf_size="640K"
max_bundle_size="64K"
ip_ttl="${jgroups.udp.ip_ttl:2}"
enable_diagnostics="true"
thread_pool.min_threads="2"
thread_pool.max_threads="8"
thread_pool.keep_alive_time="5000"/>
</jgroups>
<cache-container name="{{ keycloak_cache_container_name }}">
<transport lock-timeout="60000"/>
<local-cache name="realms">