[jboss-user] [JBoss Messaging] - Can I configure JMS XA Recovery for use with Amazon EC2 auto-scaling in EAP 5.1.2?

Stanley Tso do-not-reply at jboss.com
Tue Jul 2 11:52:17 EDT 2013

Stanley Tso [https://community.jboss.org/people/stso0001] created the discussion

"Can I configure JMS XA Recovery for use with Amazon EC2 auto-scaling in EAP 5.1.2?"

To view the discussion, visit: https://community.jboss.org/message/826014#826014

I am attempting to configure a cluster of JBoss EAP 5.1.2 nodes at Amazon EC2.  My goal is to set up a template image so that I can use the nearly the same configuration when I add new nodes with Amazon auto-scaling.  I am following the documentation at  *https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/5/html-single/Messaging_User_Guide/index.html#recovery https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/5/html-single/Messaging_User_Guide/index.html#recovery* and I need clarification on what it is saying.

Let say that I add a new JBoss node using Amazon auto-scaling and I wish for this node to join the existing JBoss cluster, in particular JMS.  Is it even possible for a new JMS node to dynamically appear in the cluster and participate in the JMS XA recovery process?  My understanding of what the documentation says is that it is possible for a new JMS provider to be defined and added dynamically in "*server/all/deploy/messaging/hajndi-jms-ds.xml*" because this file is located in a directory watched by the hot deployment scanner.  I would have to add the new provider (JMS node) to all of the existing JMS nodes in this particular configuration file.  However, for new JMS nodes to participate in JMS XA recovery, would I have to also modify "*server/all/conf/jbossts-properties.xml*" to tell the recovery manager that there are new JMS nodes from which we must recover?  Isn't this file statically loaded by each JBoss node and if so, does that mean I have to restart the existing JBoss JMS nodes to pick up this new configuration?  That would defeat the purpose of auto-scaling in the first place, wouldn't it?

Am I on the right track here?  Thank you in advance for your help!
Stan Tso

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130702/ab6a5dc2/attachment-0001.html 

More information about the jboss-user mailing list