[jboss-jira] [JBoss JIRA] (WFLY-9353) system property to set cluster name
Tomaz Cerar (JIRA)
issues at jboss.org
Sat Sep 16 15:57:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-9353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar reassigned WFLY-9353:
---------------------------------
Assignee: Paul Ferraro (was: Jason Greene)
> 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)
More information about the jboss-jira
mailing list