[jboss-jira] [JBoss JIRA] (AS7-2409) host.xml host name should default to something unique
David Lloyd (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Nov 1 17:55:45 EDT 2011
[ https://issues.jboss.org/browse/AS7-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639097#comment-12639097 ]
David Lloyd commented on AS7-2409:
----------------------------------
The most reasonable default for host name is ${jboss.host.name} or ${jboss.qualified.host.name} (probably the latter). The server name (aka node name) should then default to ${jboss.host.name}:${server name}.
> host.xml host name should default to something unique
> -----------------------------------------------------
>
> Key: AS7-2409
> URL: https://issues.jboss.org/browse/AS7-2409
> Project: Application Server 7
> Issue Type: Enhancement
> Components: Domain Management
> Affects Versions: 7.1.0.Alpha1
> Environment: all
> Reporter: Rich Sharples
> Labels: eap6-ux
> Fix For: 7.1.0.CR1
>
>
> in a distribibuted domain environment (ie. typical production env.) host name in host.xml must be unique :
> <host xmlns="urn:jboss:domain:1.1"
> name="RichS">
> otherwise we get a startup error. To avoid having to modify this config for all machines (could be 10^3), we need a way to default this to a unique id. One idea would be to have a UUID property generated from the host-ip + process-id. That would provide unique IDs across the domain and also allow multiple instances per machine.
> In domain mode this really should be the default (ie. we shold always use the property in domain/configuration/host.xml).
> Note : if we do use host-ip+process-id then the ID is going to be different every time the process start - that may be a problem in itself.
--
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