0

We have a two-node active/passive Windows 2003 cluster running MSMQ among other things. Windows picked the Quorum drive to store the queue messages, but this drive has VERY limited disk space. How can we change the location?

2 Answers2

1

There is one and only one way to move the storage directory for MSMQ. It cannot be done in a scripted manner; it can only be done manually.

  • Go to the computer management MMC
  • Expand the "Services and Applications" node
  • Right click "Message Queuing" and select "properties"
  • Go to the storage tab and modify the location.

The MMC utility does the following:

  1. Makes sure the new target is valid (meaning, not a network share but a local disk).
  2. Makes the directory tree
  3. Sets proper permissions
  4. Moves the data

Official reference material.

Wesley
  • 32,690
  • 9
  • 82
  • 117
  • Your article also says "Note - It is not supported to change the locations for a clustered MSMQ resource and no UI is available to allow you to do this." – Jason Dentler Apr 17 '12 at 12:15
  • Ah, yes. The cluster part of the equation is important. – Wesley Apr 17 '12 at 15:58
  • updated link: https://docs.microsoft.com/en-us/archive/blogs/johnbreakwell/changing-the-msmq-storage-location – kevinpo Jun 30 '21 at 13:39
0

The MSMQ location is based on the disk resource you choose when you set up MSMQ as a cluster service. In my case, we have 4 disks in a single resource. According to our MS tech, this isn't a supported configuration.

The solution is to set up the disks as individual cluster resources. Then, we can choose the specific disk we want when we set up MSMQ.

  • To become separate resources, each disk must present as a unique LUN to the OS, not just a partition on a single large RAID array. – Jason Dentler Apr 22 '12 at 00:48