[jboss-jira] [JBoss JIRA] (AS7-1751) infinispan setup to support environment variables within the standalone.xml file
Richard Achmatowicz (JIRA)
jira-events at lists.jboss.org
Sun Feb 26 12:31:37 EST 2012
[ https://issues.jboss.org/browse/AS7-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671061#comment-12671061 ]
Richard Achmatowicz commented on AS7-1751:
------------------------------------------
Discussed this issue with Paul and we decided to do the following:
(i) define a new attribute of the cache-container transport element called cluster which allows specifying a name for the underlying JGroups channel used to support the cache container:
{noformat}
<cache-container name="web" ...>
<transport cluster="some-cluster-name" .../>
</cache-container/>
{noformat}
(ii) allow the following attributes to allow expressions:
JGroups subsystem: default-stack, site, rack, machine
Infinispan subsystem: default-cache-container, default-cache, cluster
In this instance, we chose the minimal set of attributes which would be cluster / machine dependent.
> infinispan setup to support environment variables within the standalone.xml file
> --------------------------------------------------------------------------------
>
> Key: AS7-1751
> URL: https://issues.jboss.org/browse/AS7-1751
> Project: Application Server 7
> Issue Type: Enhancement
> Components: Clustering
> Affects Versions: 7.0.1.Final
> Reporter: Dan Sirbu
> Assignee: Richard Achmatowicz
> Priority: Blocker
> Fix For: 7.1.1.Final
>
>
> When I kickstart the inifispan subsystem by using the start=EAGER option, saw that there are multiple "clusters" that get kickstarted as:
> GMS: address=traffic_instance_PL-3-31315, cluster=hibernate
> ........................................, cluster=web
> and others.
> Now, if I do have mutliple blades e.g. SC-1, SC-2, PL-3, PL-4 and then I would like to define two clusters e.g. "oam" , "traffic" where "oam" should be assigned for SC-x and "traffic" for PL-x, then I will certainly need to go in the standalone-ha.xml file and change all the "cache-container name" entries in order to have "oam" cluster distinguished from "traffic" cluster, right ?
> If so, it would be better if for example I could pass an jvm option via e.g. -DCLUSTER="oam" and then in the standalone-ha.xml file have this set as: "cache-container name=${CLUSTER}-"
> In this way, I can obtain a dynamic config at runtime.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list