[jboss-dev-forums] [Clustering Development] New message: "Re: Partition and Node identities"

Brian Stansberry do-not-reply at jboss.com
Tue Mar 2 13:24:44 EST 2010


JBoss development,

A new message was posted in the thread "Partition and Node identities":

http://community.jboss.org/message/529446#529446

Author  : Brian Stansberry
Profile : http://community.jboss.org/people/bstansberry@jboss.com

Message:
--------------------------------------------------------------
> mailto:david.lloyd at jboss.com wrote:
> 
> Yeah, I think that no matter what, if someone is running two instances on the same machine, they'll have to distinguish the node name somehow.  The case I was describing to Jaikiran was the case where there are two machines with instances bound to 0.0.0.0 in the same cluster - using the name of the bound interface would not work in this (common) case.
 
DOH! Yes, of course.
 
Re: the extra properties; what you say makes sense: jboss.host.qualified.name and jboss.host.name are useful whether or not they end up as part of the server identity.
 
Even if in AS 7 we force people to specify a name, jboss.node.name is still a useful way for users to access that value.
 
A problem with using defaults is the node name leaks outside the data center, and if the default is used that means information about the server configuration is leaking. For example, the node name would become the logical value for the jvmRoute used by mod_jk and mod_cluster, and that ends up being appended to the session id for web sessions, which anyone can look at in a browser.
 
So, defaults are convenient but leak information. Part of my thinking on requiring their configuration once the domain configuration is in place is the inconvenience is less -- you set up your configuration once and re-use it; you don't have to retype -Djboss.node.name=xxx every time.
 
The previous discussion around this basic topic is at http://community.jboss.org/thread/91830?tstart=60
 
Besides the use cases listed on that thread, JBossTS also needs a unique integer id for each server on the same host: http://community.jboss.org/thread/145892?start=0&tstart=0

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/529446#529446




More information about the jboss-dev-forums mailing list