Export (0) Print
Expand All

How to Cluster Message Queuing

Cluster support is provided for the BizTalk Server MSMQ adapter by running the MSMQ adapter handlers in a clustered instance of a BizTalk Host. If the BizTalk Server MSMQ adapter handlers are run in a clustered instance of a BizTalk Host, a clustered Message Queuing (MSMQ) resource should also be configured to run in the same cluster group as the clustered BizTalk Host when using the Send adapter or the Receive adapter for BizTalk Server 2006 R2 and earlier. This should be done for the following reasons:

  • MSMQ adapter receive handler – The MSMQ adapter receive handler for BizTalk Server 2006 R2 and earlier does not support remote transactional reads; only local transactional reads are supported. The MSMQ adapter receive handler on BizTalk Server 2006 R2 and earlier must run in a host instance that is local to the clustered MSMQ service in order to complete local transactional reads with the MSMQ adapter.

  • MSMQ adapter send handler - To ensure the consistency of transactional sends made by the MSMQ adapter, the outgoing queue used by the MSMQ adapter send handler should be highly available, so that if the MSMQ service for the outgoing queue fails, it can be resumed. Configuring a clustered MSMQ resource and the MSMQ adapter send handlers in the same cluster group will ensure that the outgoing queue used by the MSMQ adapter send handler will be highly available. This will mitigate the possibility of message loss in the event that the MSMQ service fails.

  1. To start the Failover Cluster Management program, click Start, Programs, Administrative Tools, and then click Failover Cluster Management.

  2. In the left pane, right-click Failover Cluster Management, and then click Manage a Cluster.

  3. In the Select a cluster to manage dialog box, enter the cluster to be managed, and then click OK.

  4. To start the High Availability Wizard, i the left pane, click to expand the cluster, right-click Services and Applications, and then click Configure a Service or Application.

  5. If the Before You Begin page of the High Availability Wizard is displayed, click Next.

  6. On the Select Service or Application page, click Message Queuing, and then click Next.

  7. On the Client Access Point page, enter a value for Name, enter an available IP address under Address, and then click Next.

  8. On the Select Storage page, click a disk resource, and then click Next.

  9. On the Confirmation page, click Next.

  10. On the Summary page, click Finish.

  11. To create a clustered MSDTC resource on the cluster so that there is transaction support for the clustered MSMQ resource, follow the steps in How to Cluster MSDTC.

    Dd897482.note(en-US,BTS.10).gifNote
    The clustered MSDTC resource does not have to exist in the same cluster group as the clustered MSMQ resource to provide transaction support. If the clustered MSDTC resource exists in a different cluster group, the Windows Server cluster uses the DTC proxy to handle requests for transaction services.

  1. To start the Cluster Administrator program, click Start, point to Programs, point to Administrative Tools, and then click Cluster Administrator.

  2. Click to select a cluster group other than the quorum group that contains a Name and Disk resource.

  3. On the File menu, point to New, and then click Resource.

  4. Enter a value for the Name field of the New Resource dialog box, for example, MSMQ.

  5. In the Resource type drop-down list, click Message Queuing, and then click Next.

  6. In the Possible Owners dialog box, include each cluster node as a possible owner of the message queuing resource, and then click Next.

  7. In the Dependencies dialog box, add a dependency to a network name resource and the disk resource associated with this group, and then click Finish.

    Dd897482.note(en-US,BTS.10).gifNote
    The specified network name resource must have the option for Enable Kerberos Authentication enabled.

  8. Click OK in the dialog box that indicates that the resource was created successfully.

  9. To create a clustered MSDTC resource on the cluster so that there is transaction support for the clustered MSMQ resource, follow the steps in How to Cluster MSDTC.

    Dd897482.note(en-US,BTS.10).gifNote
    The clustered MSDTC resource does not have to exist in the same cluster group as the clustered MSMQ resource to provide transaction support. If the clustered MSDTC resource exists in a different cluster group, the Windows Server cluster uses the DTC proxy to handle requests for transaction services.

Show:
© 2014 Microsoft