Disambiguate core-identifiers, set correct bind for jgroups
parent
f4b60dc764
commit
70f13c4aba
|
@ -509,6 +509,9 @@
|
||||||
PRIMARY KEY (own_addr, cluster_name))
|
PRIMARY KEY (own_addr, cluster_name))
|
||||||
ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
|
ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
|
||||||
</property>
|
</property>
|
||||||
|
<property name="insert_single_sql">INSERT INTO JGROUPSPING (own_addr, cluster_name, ping_data) values (?, ?, ?)</property>
|
||||||
|
<property name="delete_single_sql">DELETE FROM JGROUPSPING WHERE own_addr=? AND cluster_name=?</property>
|
||||||
|
<property name="select_all_pingdata_sql">SELECT ping_data FROM JGROUPSPING WHERE cluster_name=?</property>
|
||||||
</protocol>
|
</protocol>
|
||||||
<protocol type="MERGE3"/>
|
<protocol type="MERGE3"/>
|
||||||
<protocol type="FD_SOCK"/>
|
<protocol type="FD_SOCK"/>
|
||||||
|
@ -675,7 +678,7 @@
|
||||||
</deployment-permissions>
|
</deployment-permissions>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
<subsystem xmlns="urn:jboss:domain:transactions:6.0">
|
<subsystem xmlns="urn:jboss:domain:transactions:6.0">
|
||||||
<core-environment node-identifier="${jboss.tx.node.id:1}">
|
<core-environment node-identifier="{{ inventory_hostname | default('${jboss.tx.node.id:1}') }}">
|
||||||
<process-id>
|
<process-id>
|
||||||
<uuid/>
|
<uuid/>
|
||||||
</process-id>
|
</process-id>
|
||||||
|
@ -715,7 +718,7 @@
|
||||||
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="jgroups">
|
<interface name="jgroups">
|
||||||
<subnet-match value="{{ (ansible_default_ipv4.address + '/' + ansible_default_ipv4.netmask) | ipaddr('prefix') }}"/>
|
<subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('net') }}"/>
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="public">
|
<interface name="public">
|
||||||
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
||||||
|
|
|
@ -384,7 +384,7 @@
|
||||||
<heap-memory size="10000"/>
|
<heap-memory size="10000"/>
|
||||||
</local-cache>
|
</local-cache>
|
||||||
<local-cache name="authenticationSessions"/>
|
<local-cache name="authenticationSessions"/>
|
||||||
{% for cachename in [ "sessions", "offlineSessions", "clientSessions", "offlineClientSessions", "loginFailures", "actionTokens" ] %}
|
{% for cachename in [ "sessions", "offlineSessions", "clientSessions", "offlineClientSessions", "loginFailures", "actionTokens" ] %}
|
||||||
<distributed-cache name="{{ cachename }}">
|
<distributed-cache name="{{ cachename }}">
|
||||||
<remote-store cache="{{ cachename }}"
|
<remote-store cache="{{ cachename }}"
|
||||||
remote-servers="remote-cache"
|
remote-servers="remote-cache"
|
||||||
|
@ -407,7 +407,7 @@
|
||||||
<property name="infinispan.client.hotrod.trust_store_password">{{ keycloak_remotecache.trust_store_password | default("changeme") }}</property>
|
<property name="infinispan.client.hotrod.trust_store_password">{{ keycloak_remotecache.trust_store_password | default("changeme") }}</property>
|
||||||
</remote-store>
|
</remote-store>
|
||||||
</distributed-cache>
|
</distributed-cache>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<replicated-cache name="work">
|
<replicated-cache name="work">
|
||||||
<remote-store cache="work"
|
<remote-store cache="work"
|
||||||
remote-servers="remote-cache"
|
remote-servers="remote-cache"
|
||||||
|
@ -509,6 +509,9 @@
|
||||||
PRIMARY KEY (own_addr, cluster_name))
|
PRIMARY KEY (own_addr, cluster_name))
|
||||||
ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
|
ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
|
||||||
</property>
|
</property>
|
||||||
|
<property name="insert_single_sql">INSERT INTO JGROUPSPING (own_addr, cluster_name, ping_data) values (?, ?, ?)</property>
|
||||||
|
<property name="delete_single_sql">DELETE FROM JGROUPSPING WHERE own_addr=? AND cluster_name=?</property>
|
||||||
|
<property name="select_all_pingdata_sql">SELECT ping_data FROM JGROUPSPING WHERE cluster_name=?</property>
|
||||||
</protocol>
|
</protocol>
|
||||||
<protocol type="MERGE3"/>
|
<protocol type="MERGE3"/>
|
||||||
<protocol type="FD_SOCK"/>
|
<protocol type="FD_SOCK"/>
|
||||||
|
@ -675,7 +678,7 @@
|
||||||
</deployment-permissions>
|
</deployment-permissions>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
<subsystem xmlns="urn:jboss:domain:transactions:6.0">
|
<subsystem xmlns="urn:jboss:domain:transactions:6.0">
|
||||||
<core-environment node-identifier="${jboss.tx.node.id:1}">
|
<core-environment node-identifier="{{ inventory_hostname | default('${jboss.tx.node.id:1}') }}">
|
||||||
<process-id>
|
<process-id>
|
||||||
<uuid/>
|
<uuid/>
|
||||||
</process-id>
|
</process-id>
|
||||||
|
@ -715,7 +718,7 @@
|
||||||
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="jgroups">
|
<interface name="jgroups">
|
||||||
<subnet-match value="{{ (ansible_default_ipv4.address + '/' + ansible_default_ipv4.netmask) | ipaddr('prefix') }}"/>
|
<subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('net') }}"/>
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="public">
|
<interface name="public">
|
||||||
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
||||||
|
@ -734,11 +737,11 @@
|
||||||
<outbound-socket-binding name="mail-smtp">
|
<outbound-socket-binding name="mail-smtp">
|
||||||
<remote-destination host="${jboss.mail.server.host:localhost}" port="${jboss.mail.server.port:25}"/>
|
<remote-destination host="${jboss.mail.server.host:localhost}" port="${jboss.mail.server.port:25}"/>
|
||||||
</outbound-socket-binding>
|
</outbound-socket-binding>
|
||||||
{% if keycloak_modcluster.enabled %}
|
{% if keycloak_modcluster.enabled %}
|
||||||
<outbound-socket-binding name="proxy1">
|
<outbound-socket-binding name="proxy1">
|
||||||
<remote-destination host="{{ keycloak_modcluster.reverse_proxy_url | default('localhost') }}" port="6666"/>
|
<remote-destination host="{{ keycloak_modcluster.reverse_proxy_url | default('localhost') }}" port="6666"/>
|
||||||
</outbound-socket-binding>
|
</outbound-socket-binding>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<outbound-socket-binding name="remote-cache">
|
<outbound-socket-binding name="remote-cache">
|
||||||
<remote-destination host="{{ keycloak_remotecache.server_name | default('localhost') }}" port="${remote.cache.port:11222}"/>
|
<remote-destination host="{{ keycloak_remotecache.server_name | default('localhost') }}" port="${remote.cache.port:11222}"/>
|
||||||
</outbound-socket-binding>
|
</outbound-socket-binding>
|
||||||
|
|
Loading…
Reference in New Issue