?
Solved

MSMQ 2.0 and Domain Controllers role

Posted on 2005-04-26
4
Medium Priority
?
656 Views
Last Modified: 2013-11-15
I have an environment (Windows 2000 Server) that uses MSMQ 2.0 to transport messages throughout the environment.  During installation I have MSMQ just automatically discover a DC, which is no problem works everytime.  However, i began to wonder and then proved it by shutting down the DC in the environment and all my services failed as they are dependent on MSMQ.

So I was thinking that if I had two DC's in the environment, if one failed, the queues would just be picked up from the other DC.  By the way, I am using Public Queues.  So I added another DC, made them both Global Catalog dc's and reinstalled MSMQ, then again had it discover a DC.  That worked no problem, however when I shut down the original DC to simulate a "crash" the services failed and the queues could not be read from the other machine.  I then began to wonder if it had to do with what the logon server was for a particular machine.  So I logged off the machine and back on and viola! it picked up the queues.

So here is my question!  I cannot find anything on this.  How does MSMQ work in regards to this??  I was hoping it was dynamic and able to query any available domain within its subnet.  But this does not seem to be the case.  Does anybody know??

Thank you so much for your help!!
0
Comment
Question by:authentify
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Joseph Nyaema
ID: 13876726
From what I can see from your comments.
MSMQ is using Active Directory for Authentication Purposes.

Windows 2000 and letter use DNS to find the Role servers in Active Directory.

Which seems to suggetst that you may need to configure to DNS servers in your environment.
0
 
LVL 1

Author Comment

by:authentify
ID: 13877402
Good guess, but DNS is working properly in the environment as all nslookups respond normally.  

There is just no clear cut documentation out there on this....this is killing me.  How do you make MSMQ redundant with MQIS servers?  I can't beleive Microsoft did not think of this!!!
0
 
LVL 16

Accepted Solution

by:
Joseph Nyaema earned 2000 total points
ID: 13887021
OK authentify...
Done a little more reading about MSMQ.

Basically this is the scoop...
At startup your application queries Active Directory to find a DC which running MSMQ
and connects to a que on that server.
Now if that server goes down, the application still connected to that que and waits for that server to come up.
It doesn't look for another server to provide a que
i.e. No fault tolerance.

To achieve Fault tolerance you rely on other server techonologies.
Basically you can choose from
1. Network Load Balancing
2. Cluster Servers
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/7c06d0fc-8b43-46a0-a6ec-b0d1685f791f.mspx

Network Load Balancing Might be the answer you are looking for.

You may also consider upgrading to Windows 2003
which offers more features in its new release of Message Queing.
Also the new MSMQ 3.0 client can access active directory directly
The earlier clients can't.

MSMQ 2.0 Feature List
http://www.microsoft.com/windows2000/technologies/communications/msmq/20features.asp

Message Queuing 3.0  features
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/4f2ac01c-c680-4c53-b89d-f59c7ba912e6.mspx
0
 
LVL 1

Author Comment

by:authentify
ID: 13887510
Excellent information, thanks much!!!  That really shocks me that it cannot dynamically search for a DC.  I mean looking into the registry entries for a box with MSMQ installed you can set a static and what not.  WHy even give the choice.  I understand the idea, but it makes no sense.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question