[jboss-jira] [JBoss JIRA] (AS7-2409) host.xml host name should default to something unique

Rich Sharples (Created) (JIRA) jira-events at lists.jboss.org
Thu Oct 27 14:58:45 EDT 2011


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: Clustering
    Affects Versions: 7.1.0.Alpha1
         Environment: all
            Reporter: Rich Sharples
            Assignee: Paul Ferraro
             Fix For: 7.1.0.Beta1


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