[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Summary of approach to HA/Failover

bstansberry@jboss.com do-not-reply at jboss.com
Wed Oct 11 15:32:54 EDT 2006


"timfox" wrote : (Question: Given a JGroups address how do we know if it is on the same physical box as another JGroups address? If the machine has multiple NICs this may be tricky. Maybe we need to propagate some other kind of machine id in the state too? Or we propagate a list of NICs per box in the state.)

This is quite easy to handle due to the java.net.NetworkInterface.getNetworkInterfaces() method, from which all addresses on the machine can be discovered.  The  o.j.cache.buddyreplication.NextMemberBuddyLocator.isColocated() method uses this.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977664#3977664

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977664



More information about the jboss-dev-forums mailing list