[jboss-as7-dev] Per-host configurations
Brian Stansberry
brian.stansberry at redhat.com
Tue Jan 10 16:37:10 EST 2012
This is one of the use cases for expressions in the configuration model.
So in the JGroups/Infinispan subsystem the relevant attributes would
need to support expressions and the domain.xml configuration would use
expressions:
<host-topology site="${host-topology.site}" rack="${host-topology.rack}"
machine="${host-topology.machine}"/>
The host.xml server element can be used to specify the values:
<server name="server-one" ...>
<system-properties>
<property name="host-topology.site" value="s1"/>
...
</system-properties>
</server>
On 1/10/12 1:49 AM, Tristan Tarrant wrote:
> Dear AS7 devs,
>
> for the JGroups/Infinispan topology stuff (AS7-3023) I need to have some
> information configured per-host. In particular I was thinking of
> something like the following snippet of XML:
>
> <servers>
> <server name="server-one" group="main-server-group">
> <host-topology site="s1" rack="r1" machine="m1" />
> </server>
> <server name="server-two" group="main-server-group">
> <host-topology site="s1" rack="r1" machine="m2" />
> </server>
> </servers>
>
> How and where should I add this information ?
>
> Thanks
>
> Tristan
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
More information about the jboss-as7-dev
mailing list