MSMQ clustering - odd behavior

Associate
Joined
28 Apr 2012
Posts
800
Hi.

so ive been able to create a successful MSMQ clustered environment on VMWare using WS2008R2.

all has been working well. I can create a transactional MSMQ and send messages to it no problems.

my client though, they have also created a cluster of some kind but VERY odd behavior.

when they send messages, it appears to be sent but it is not in the queue. nothing on the outbound queue or even on the clustered incoming queue.

so I took a quick look.
I created a transactional queue and used the same app that I used in my VMWare environment on theirs.

First I figured out that the server name they supplied to send/connect to the MSMQ was incorrect. So I used the "correct" clustered MSMQ server name.
After that, I was able to send messages to the queue. I could see the message on the incoming private queue. great.

I then purged the queue

I then resent messages. This time - no messages! Then took a while and the messages appeared.
I deleted the queue, recreated it, sent messages and then saw the message.
I deleted it again, created the queue once again, sent messages and no messages to be found on outbound or incoming clustered MSMQ!

what on earth is going on? I made the queue transactional to ensure reliability and durability.

anyone know what to look for next? I am leaning on some network issue somewhere. Nothing obvious on their eventlogs.

any help/guidence/hints appreciated! its quite odd. sometimes it works, other times it does not but on my VM Environment works flawlessly. Oh - they are using WS2008 datacentre edition. I am using WS2008R2 enterprise edition (shouldnt make much difference)
 
im not sure. I tried to do that and thats how it was working then didnt work..then worked...and now not so much.

on my own environment I did try sending it from the clustered MSMQ itself (well, one of the nodes in the cluster) and worked fine. but also from outside the clustered nodes and that also worked fine.

they do have DTC enabled for inbound and outbound comms and with no authentication required
 
yeh.
I mean, I even tried with the IP Address and still the same problem.

right now, I created a new transcational queue. able to send messages to it.
Then when i run a WCF app to read the queue - it cant read it because apperently either the queue does not exist or I dont have permissions... the app crashes (I expect it to crash)

then when I try to resend messages to the same queue... it appears to be "sent" but they dont exist anywhere.....
 
I actually didnt create the account - it was the "IT" team.
The format I use to connect to is:

OS:ClusterName\private$\queueName

or if its TCP:

TCP:IP.Address.Goes.Here\private$\queueName

But I dont get it - it works PERFECTLY on my own VM Environment....
the one difference i noticed is that I dont have clustered DTC but they do. shouldnt make much different anyway.
 
Back
Top Bottom