MSMQ Cluster losing messages on failover

夙愿已清 提交于 2019-12-25 02:28:06

问题


I've got a MSMQ Cluster setup with nodes (active/passive) that share a drive.

Here are the tests I'm performing. I send messages to the queue that are recoverable. I then take the MSMQ cluster group offline and then bring it online again.

Result: The messages are still there.

I then simulate failover by moving the group to node 2. Moves over successfully, but the messages aren't there.

I'm sending the messages as recoverable and the MSMQ cluster group has a drive that both nodes can access.

Anyone?

More Info:

The Quorum drive stays only on node 1.

I have two service/app groups. One MSMQ and one that is a generic service group.

Even more info:

When node 1 is active, I pump it full of messages. Failover to node 2. 0 message in the queue for 02. Then I failover back to 01, and the messages are in 01.


回答1:


You haven't clustered MSMQ or aren't using clustered MSMQ properly. What you are looking at are the local MSMQ services.

http://blogs.msdn.com/b/johnbreakwell/archive/2008/02/18/clustering-msmq-applications-rule-1.aspx

Cheers John

==================================

OK, maybe the drive letter being used isn't consistently implemented.

  1. What is the storage location being used by clustered MSMQ?
  2. If you open this storage location up in Explorer from Node 1 AND Node 2 at the same time, are the folder contents exactly the same? If you create a text file via Node 1's Explorer window, does it appear after a refresh in Node 2's Explorer window?


来源:https://stackoverflow.com/questions/8452187/msmq-cluster-losing-messages-on-failover

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!