简体   繁体   English

JBOSS JMS集群数据库复制

[英]JBOSS JMS Clustering DB replication

I was doing JMS clstering. 我正在做JMS整理。 I was successful in doing HASingleton JMS clustering failover. 我成功完成了HASingleton JMS集群故障转移。 But 1 thing encouter was the they need to share same database for persistance. 但是,令人鼓舞的一件事是他们需要共享相同的数据库来保持持久性。 cannot we have seperate database and replicate through jms or jgroups. 我们不能拥有单独的数据库并通过jms或jgroups复制。

Any suggestion is welcomed. 任何建议都欢迎。

You probably are using JBoss AS 5.x or 4.3, which uses JBoss Messaging as the JMS implementation. 您可能正在使用JBoss AS 5.x或4.3,它使用JBoss Messaging作为JMS实现。 For JBoss Messaging, you'll have a single database configuration to store your messages. 对于JBoss Messaging,您将具有一个数据库配置来存储消息。 This, AFAIK, cannot be changed. 这是AFAIK,无法更改。 What you can do is to also use a clustered database (like MySQL Cluster or Oracle RAC), and then configure JBoss Messaging to use it. 可以做的是还使用集群数据库(例如MySQL Cluster或Oracle RAC),然后配置JBoss Messaging来使用它。 This way, you have HA in the database-side as well. 这样,您也可以在数据库端拥有HA。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM