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.
Many BizTalk Server operations are performed within the scope of a Microsoft Distributed Transaction Coordinator (MSDTC) transaction.
A clustered MSDTC resource must be available on the Windows Server cluster to provide transaction services for any clustered BizTalk Server components or dependencies. BizTalk Server components or dependencies that can be configured as Windows Server cluster resources include the following:
- BizTalk Host
- Enterprise Single Sign-On (SSO) service
- SQL Server instance
- Message Queuing (MSMQ) service
- Windows File system
Windows Server 2003 only supports running MSDTC on cluster nodes as a clustered resource.
Windows Server 2008 supports running a local DTC on any server node in the failover cluster; even if a default clustered DTC resource is configured.
- To start the Failover Cluster Management program, click Start, Programs, Administrative Tools, and then click Failover Cluster Management.
- In the left pane, right-click Failover Cluster Management, and then click Manage a Cluster.
- In the Select a cluster to manage dialog box, enter the cluster to be managed, and then click OK.
- 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.
- If the Before You Begin page of the High Availability Wizard is displayed, click Next.
- On the Select Service or Application page, click Message Queuing, and then click Next.
- On the Client Access Point page, enter a value for Name, enter an available IP address under Address, and then click Next.
- On the Select Storage page, click a disk resource, and then click Next.
- On the Confirmation page, click Next.
- On the Summary page, click Finish.
- To create a clustered MSDTC resource on the cluster so that there is transaction support for the clustered MSMQ resource, follow this steps:
- To start the Failover Cluster Management program, click Start, Programs, Administrative Tools, and then click Failover Cluster Management.
- In the left hand pane, right-click Failover Cluster Management, and then click Manage a Cluster.
- In the Select a cluster to manage dialog box, enter the cluster to be managed, and then click OK.
- To start the High Availability Wizard, in the left pane click to expand the cluster, right-click Services and Applications, and then click Configure a Service or Application.
- If the Before You Begin page of the High Availability Wizard is displayed, click Next.
- On the Select Service or Application page, click Distributed Transaction Coordinator, and then click Next.
- On the Client Access Point page, enter a value for Name, enter an available IP address under Address, and then click Next.
- On the Select Storage page, click to select a disk resource and then click Next.
- On the Confirmation page, click Next.
- On the Summary page, click Finish.
- To open the Component Services management console, click Start, Programs, Administrative Tools, and then click Component Services.
- Click to expand Component Services, click to expand Computers, click to expand My Computer, click to expand Distributed Transaction Coordinator, click to expand Clustered DTCs, right-click the clustered DTC resource, and then click Properties.
- Click the Security tab.
- If network DTC access is not already enabled, click to enable the Network DTC Access option. Network DTC access must be enabled to accommodate transactional support for BizTalk Server.
- Under Transaction Manager Communication, enable the following options:
- Allow Inbound
- Allow Outbound
- Incoming Caller Authentication Required
- After changing security settings for the clustered distributed transaction coordinator resource, the resource will be restarted. Click Yes and OK when prompted.
- Close the Component Services management console.
- To start the Cluster Administrator program, click Start, point to Programs, point to Administrative Tools, and then click Cluster Administrator.
- Click to select a cluster group other than the quorum group that contains a Name and Disk resource.
- On the File menu, point to New, and then click Resource.
- Enter a value for the Name field of the New Resource dialog box, for example, MSMQ.
- In the Resource type drop-down list, click Message Queuing, and then click Next.
- In the Possible Owners dialog box, include each cluster node as a possible owner of the message queuing resource, and then click Next.
- 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.
- Click OK in the dialog box that indicates that the resource was created successfully.
- To create a clustered MSDTC resource on the cluster so that there is transaction support for the clustered MSMQ resource, follow this steps:
To add an MSDTC resource to an existing cluster group (Windows Server 2003)
- To start the Cluster Administrator program, click Start, Programs, Administrative Tools, and then click Cluster Administrator.
- Click to select a cluster group other than the quorum group that contains a Physical Disk, IP Address, and Network Name resource. To create a group with a Physical Disk, IP Address, and Network Name resource if one does not already exist.
- On the File menu, point to New, and then click Resource.
- Enter a value for the Name field of the New Resource dialog box, for example, MSDTC.
- In the Resource type drop-down list, click Distributed Transaction Coordinator, and then click Next.
- In the Possible Owners dialog box, include each cluster node as a possible owner of the distributed transaction coordinator resource, and then click Next.
- 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.
- In the dialog box that indicates that the resource was created successfully, click OK.
- To open the Component Services management console, click Start, Programs, Administrative Tools, and then Component Services.
- Click to expand Component Services, and then click to expand Computer.
- Right-click My Computer, and then select the Properties menu item to display the My Computer Properties dialog box.
- Click the MSDTC tab.
- To display the Security Configuration dialog box, click Security Configuration .
- If network DTC access is not already enabled, click to enable the Network DTC Access option. Network DTC access must be enabled to accommodate transactional support for BizTalk Server.
- Under Transaction Manager Communication, enable the following options:
- Allow Inbound
- Allow Outbound
- Incoming Caller Authentication Required
- Stop and restart the Distributed Transaction Coordinator service.
Filed under: Biztalk, Cluster Configuration Tagged: biztalk, cluster resource, Cluster services, clustering, failovercluster
