[JBoss JIRA] Created: (JBMESSAGING-784) Add Active/Passive deployment feature for JBoss Messaging in 2 node cluster (Need HA part and not Clustering part)
by Rohit Chowdhary (JIRA)
Add Active/Passive deployment feature for JBoss Messaging in 2 node cluster (Need HA part and not Clustering part)
------------------------------------------------------------------------------------------------------------------
Key: JBMESSAGING-784
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-784
Project: JBoss Messaging
Issue Type: Task
Components: JMS Clustering
Affects Versions: 1.2.1
Reporter: Rohit Chowdhary
Assigned To: Ovidiu Feodorov
Need to be able to deploy JBoss Messaging nodes in a HA configuration, but not load-balanced.
Such that only one node is actively serving all the requests, if the current active node goes down, then the passive node picks up the load.
Reason would be: To use the available h/w resources at best.
We have one dedicated physical server for running JBoss msg. Another physical server that hosts existing JBoss instance running some application. We want to use this second server running a passive JBossMsg instance. So in case when the dedicated JBossMsg goes down, then the second shared server can take the load temporarily automatically, till we bring back the dedicated up again.
Other reason would be that we bring down the dedicated JBossMsg server for OS level patching, essentially minimizing the app downtime and increase availablity.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months
[JBoss JIRA] Created: (JBMESSAGING-1081) Allow configuration of distribution policy for queues with multiple consumers
by Julian Scheid (JIRA)
Allow configuration of distribution policy for queues with multiple consumers
-----------------------------------------------------------------------------
Key: JBMESSAGING-1081
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1081
Project: JBoss Messaging
Issue Type: Feature Request
Components: Messaging Core
Affects Versions: 1.4.0 CR3
Reporter: Julian Scheid
Assigned To: Tim Fox
Priority: Minor
The distribution policy for queues is currently hardwired to RoundRobinDistributor (in MessagingQueue.java) like this:
localDistributor = new DistributorWrapper(new RoundRobinDistributor());
remoteDistributor = new DistributorWrapper(new RoundRobinDistributor());
distributor = new ClusterRoundRobinDistributor(localDistributor, remoteDistributor);
This is a good default for when multiple clients are consuming a queue for purposes of load balancing. However, when there are multiple consumers for purposes of fail-over it can be desirable to use the FirstReceiverDistributor policy instead so that a second consumer only gets messages when the first consumer fails. (I am aware that this is simplifying matters a bit, FirstReceiverDistributor makes no such guarantees.)
This policy can currently only be changed by patching the source code and recompiling. It would be great if it would be possible to configure the distribution policy in a configuration file instead, ideally on a per-queue basis in destinations-service.xml.
This would ideally allow specifying arbitrary class names so that it's possible to install custom distributors.
All of this would obviously be useful for topics as well once JBMESSAGING-377 is implemented.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months