JBoss Community

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

created by Stanley Tso in JBoss Messaging - View the full discussion

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 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