[jboss-jira] [JBoss JIRA] (WFLY-9353) system property to set cluster name

Brad Maxwell (JIRA) issues at jboss.org
Fri Sep 15 19:32:00 EDT 2017


Brad Maxwell created WFLY-9353:
----------------------------------

             Summary: system property to set cluster name
                 Key: WFLY-9353
                 URL: https://issues.jboss.org/browse/WFLY-9353
             Project: WildFly
          Issue Type: Enhancement
          Components: Server
    Affects Versions: 11.0.0.CR1
            Reporter: Brad Maxwell
            Assignee: Jason Greene


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