[
https://issues.jboss.org/browse/WFLY-9353?page=com.atlassian.jira.plugin....
]
Brad Maxwell commented on WFLY-9353:
------------------------------------
[~pferraro] I think that covers the ejb one, from a holistic level if someone needs to
separate clusters they can use different multicast address or change the cluster names on
the transport level. So if one needs to change the transport cluster names, I think they
would need to change them all (else say changing the ejb one separates the SLSB, but then
sfsb and web would still cluster). While there could be an unusual setup, it seems like
the typical use case if one was going to change the cluster name would need to change it
on all transports.
system property to set cluster name
-----------------------------------
Key: WFLY-9353
URL:
https://issues.jboss.org/browse/WFLY-9353
Project: WildFly
Issue Type: Enhancement
Components: Clustering
Affects Versions: 11.0.0.CR1
Reporter: Brad Maxwell
Assignee: Paul Ferraro
The cluster name is basically always server/web/ejb/hibernate/... as shown below. It
would be useful to define a system property substitution in the standard configs to make
it easy to set for instances where multiple clusters are needed.
Something like ${jboss.cluster.name:}-ejb or ${jboss.partition.name:DefaultPartition}
would make it clear what the cluster name is and how to change it.
{code}
<cache-container name="ejb" aliases="sfsb"
default-cache="dist"
module="org.wildfly.clustering.ejb.infinispan">
<transport lock-timeout="60000"
cluster="${jboss.cluster.name:}-ejb"/>
{code}
{code}
<subsystem xmlns="urn:jboss:domain:infinispan:4.0">
<cache-container name="server" aliases="singleton
cluster" default-cache="default"
module="org.wildfly.clustering.server">
<transport lock-timeout="60000"/>
...
<cache-container name="web" default-cache="dist"
module="org.wildfly.clustering.web.infinispan">
<transport lock-timeout="60000"/>
...
<cache-container name="ejb" aliases="sfsb"
default-cache="dist"
module="org.wildfly.clustering.ejb.infinispan">
<transport lock-timeout="60000"/>
...
<cache-container name="hibernate"
default-cache="local-query" module="org.hibernate.infinispan">
<transport lock-timeout="60000"/>
...
</subsystem>
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)