Monitor the AD RMS Message Queue

Applies To: Windows Server 2008 R2, Windows Server 2012

AD RMS logging uses Message Queuing to send events to the logging database. Each server in the AD RMS cluster sends messages to its own message queue. The AD RMS logging service on each server retrieves logging messages from the Message Queuing queue and writes them to the logging database. If your logging database or database server becomes unavailable, or if the AD RMS logging service is stopped, Message Queuing stores the messages in the queue. If you are planning to shut down the logging database or database server temporarily, we recommend that you first stop the AD RMS logging service on every server in the cluster. When you are ready to restart the database server, restart the AD RMS logging service on every server in the AD RMS cluster.

In the default configuration, Message Queuing will store all queued messages up to the limit of the free storage space on the server. If Message Queuing uses all of the available hard disk space, the AD RMS server cannot service client requests.

Membership in the AD RMS Enterprise Administrators and the local Administrators group, or equivalent, is the minimum required to complete this procedure.

To limit the amount of disk space used for message queuing

  1. Log on to a server in the AD RMS cluster.

  2. Open Server Manager. Click Start , point to Administrative Tools , and then click Server Manager .

  3. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes .

  4. Expand Features , expand Message Queuing , and then click Private Queues .

  5. Right-click the AD RMS logging queue, click Properties , select the Limit message storage to (KB) check box, and then type the total size, in kilobytes, of all queue messages that can be stored in the queue.

  6. Click OK .

  7. Repeat steps 1–6 for all AD RMS servers in the cluster.

Additional references