627
Contents Microsoft BizTalk Server Operations Guide................................................................................ 33 Which Versions of BizTalk Server Does the Guide Cover? ..................................................... 33 What's in It? ........................................................................................................................... 33 Interesting! Where Do I Start? ................................................................................................ 33 Acknowledgments .................................................................................................................. 34 Planning the Environment for BizTalk Server ............................................................................. 34 Deciding Whether BizTalk Server Is the Right Tool for the Job ............................................... 35 Deciding Which Edition of BizTalk Server Is Right for the Job ................................................. 36 Planning for Message Load .................................................................................................... 36 Planning for Expansion .......................................................................................................... 36 In This Section ....................................................................................................................... 37 BizTalk Server Roles and Responsibilities ................................................................................. 37 Roles and Responsibilities for a BizTalk Server Environment ................................................. 37 See Also ................................................................................................................................ 43 Planning the BizTalk Server Tier ................................................................................................ 44 In This Section ....................................................................................................................... 44 Planning for Sending and Receiving .......................................................................................... 44 Determining Which Adapters and Accelerators You Will Use .................................................. 44 Functionality Supported by BizTalk Adapters .......................................................................... 45 Line of Business Adapters ...................................................................................................... 49 BizTalk Accelerators .............................................................................................................. 50 Configuring Your Domain When Exposing Transports to the Internet ...................................... 50 High Availability Considerations ............................................................................................. 52 Performance Considerations .................................................................................................. 52 Planning for Ordered Message Delivery ................................................................................. 53 See Also ................................................................................................................................ 54 Planning the BizTalk Solution .................................................................................................... 54 Scoping the Solution .............................................................................................................. 55 Performance Considerations ............................................................................................... 55 Hardware Considerations .................................................................................................... 55 Planning the Solution ............................................................................................................. 55 Solution Milestones Timeline............................................................................................... 55 Non-Microsoft Software Considerations .............................................................................. 56 Preparing for the Solution....................................................................................................... 56 Detailed Design of the Solution Platform ............................................................................. 56

BizTalk

  • Upload
    bk422

  • View
    121

  • Download
    2

Embed Size (px)

DESCRIPTION

readiness

Citation preview

ContentsMicrosoft BizTalk Server Operations Guide................................................................................ 33 Which Versions of BizTalk Server Does the Guide Cover? ..................................................... 33 What's in It? ........................................................................................................................... 33 Interesting! Where Do I Start? ................................................................................................ 33 Acknowledgments .................................................................................................................. 34 Planning the Environment for BizTalk Server ............................................................................. 34 Deciding Whether BizTalk Server Is the Right Tool for the Job ............................................... 35 Deciding Which Edition of BizTalk Server Is Right for the Job ................................................. 36 Planning for Message Load .................................................................................................... 36 Planning for Expansion .......................................................................................................... 36 In This Section ....................................................................................................................... 37 BizTalk Server Roles and Responsibilities ................................................................................. 37 Roles and Responsibilities for a BizTalk Server Environment ................................................. 37 See Also ................................................................................................................................ 43 Planning the BizTalk Server Tier................................................................................................ 44 In This Section ....................................................................................................................... 44 Planning for Sending and Receiving .......................................................................................... 44 Determining Which Adapters and Accelerators You Will Use .................................................. 44 Functionality Supported by BizTalk Adapters .......................................................................... 45 Line of Business Adapters ...................................................................................................... 49 BizTalk Accelerators .............................................................................................................. 50 Configuring Your Domain When Exposing Transports to the Internet ...................................... 50 High Availability Considerations ............................................................................................. 52 Performance Considerations .................................................................................................. 52 Planning for Ordered Message Delivery ................................................................................. 53 See Also ................................................................................................................................ 54 Planning the BizTalk Solution .................................................................................................... 54 Scoping the Solution .............................................................................................................. 55 Performance Considerations ............................................................................................... 55 Hardware Considerations .................................................................................................... 55 Planning the Solution ............................................................................................................. 55 Solution Milestones Timeline............................................................................................... 55 Non-Microsoft Software Considerations .............................................................................. 56 Preparing for the Solution ....................................................................................................... 56 Detailed Design of the Solution Platform ............................................................................. 56

Building Out the Environment for the Solution......................................................................... 57 See Also ................................................................................................................................ 58 Planning for Single Sign-On ...................................................................................................... 58 Backing Up the Master Secret ................................................................................................ 58 Configuring SSO for High Availability...................................................................................... 58 Following Established SSO Security Recommendations ......................................................... 58 Planning for Tracking................................................................................................................. 59 Configuring and Enabling the DTA Purge and Archive SQL Agent Job ................................... 59 Creating a Dedicated Tracking Host ....................................................................................... 60 Testing to Measure Maximum Sustainable Tracking Throughput ............................................ 60 Planning for Publishing Web Services ....................................................................................... 60 Enabling Web Services .......................................................................................................... 61 Internet Information Services 5.0, 5.1, and 6.0 .................................................................... 61 BizTalk Isolated Hosts ........................................................................................................ 61 Database Access for Single Server Installations .................................................................. 63 Database Access for Multiple Server Installations ............................................................... 63 Minimizing Account Privileges and User Rights ................................................................... 64 Security Recommendations for BizTalk Web Services Publishing Wizard ............................ 64 Enabling ASP.NET 2.0 for Published Web Services ............................................................ 64 Enabling Web Services for Windows 2000 Server and Windows XP.................................... 64 Enabling Web Services for Windows Server 2003 ............................................................... 64 Using the BizTalk Web Services Publishing Wizard ................................................................ 64 Planning for Publishing WCF Services ................................................................................... 64 See Also ................................................................................................................................ 65 Planning for Consuming Web Services ...................................................................................... 65 See Also ................................................................................................................................ 69 Planning for Performance .......................................................................................................... 69 Settings That You Should Apply to All BizTalk Server Environments ....................................... 69 Considerations for Testing and Optimizing a BizTalk Solution ................................................. 69 See Also ................................................................................................................................ 70 Planning for High Availability and Disaster Recovery ................................................................. 70 Hardware Considerations ....................................................................................................... 70 Software Considerations ........................................................................................................ 71 High Availability vs. Disaster Recovery ................................................................................... 71 See Also ................................................................................................................................ 71 Planning for Testing .................................................................................................................. 72 Planning for Unit Testing ........................................................................................................ 72 Planning for Load Testing ...................................................................................................... 72

Plan to Test for the Lifetime of the Solution ............................................................................ 72 See Also ................................................................................................................................ 73 Planning the Database Tier ....................................................................................................... 73 In This Section ....................................................................................................................... 73 Planning for Database Performance .......................................................................................... 73 Considerations for the Version and Edition of SQL Server ...................................................... 73 See Also ................................................................................................................................ 74 Planning for Database Availability.............................................................................................. 74 Hardware Considerations ....................................................................................................... 75 Software Considerations ........................................................................................................ 75 High Availability vs. Disaster Recovery ................................................................................... 75 See Also ................................................................................................................................ 76 Planning for Database Testing................................................................................................... 76 Considerations When Planning for Database Testing ............................................................. 76 See Also ................................................................................................................................ 77 Planning the Development, Testing, Staging, and Production Environments .............................. 77 Using Virtual Server During the Release Management Process .............................................. 77 Development Environment ..................................................................................................... 78 Testing Environment .............................................................................................................. 79 Staging Environment .............................................................................................................. 79 Production Environment ......................................................................................................... 79 Guidelines for Allocating Servers ............................................................................................ 79 See Also ................................................................................................................................ 80 Operations Checklists................................................................................................................ 80 Operational Readiness Checklists .......................................................................................... 80 Routine Maintenance Checklists ............................................................................................ 81 In This Section ....................................................................................................................... 81 Related Sections .................................................................................................................... 81 See Also ................................................................................................................................ 81 Operational Readiness Checklists ............................................................................................. 81 Typical Prerequisite Software ................................................................................................. 81 Additional Components .......................................................................................................... 82 In This Section ....................................................................................................................... 82 Checklist: Configuring Windows Server ..................................................................................... 83 In This Section ....................................................................................................................... 87 See Also ................................................................................................................................ 87 Installing COM+ Hotfix Rollup Packages.................................................................................... 87

Installing the COM+ Rollup Package ...................................................................................... 87 Installing the DTC Rollup Package ......................................................................................... 88 Disabling Windows Server 2003 SP1 and SP2 Denial of Service Checking ................................ 88 How Denial of Service Can Affect TCP/IP Connections .......................................................... 88 Modifying the Registry Entry................................................................................................... 89 See Also ................................................................................................................................ 89 Monitoring and Reducing DTC Log File Disk I/O Contention ...................................................... 89 Monitoring Usage in Clustered and Non-Clustered Environments ........................................... 89 Troubleshooting DTC ............................................................................................................. 89 See Also ................................................................................................................................ 90 Checklist: Configuring Internet Information Services .................................................................. 90 In This Section ....................................................................................................................... 91 Publishing Web Services ........................................................................................................... 91 Using a Reverse Proxy........................................................................................................... 91 Using BizTalk Servers in the Perimeter Network ..................................................................... 91 See Also ................................................................................................................................ 92 Checklist: Configuring SQL Server ............................................................................................ 92 Configuring SQL Server ......................................................................................................... 92 Performing SQL Server Maintenance Procedures .................................................................. 95 Backing Up the BizTalk Server Databases ............................................................................. 95 Using SQL Server Log Shipping For Disaster Recovery ......................................................... 95 Monitoring BizTalk Server SQL Agent Jobs ............................................................................ 95 Purging and Archiving Tracking Data...................................................................................... 96 In This Section ....................................................................................................................... 96 Best Practices for Configuring SQL Server ................................................................................ 97 Configuring SQL Server ......................................................................................................... 97 Maintaining SQL Server ......................................................................................................... 97 See Also ................................................................................................................................ 98 SQL Server Settings That Should Not Be Changed ................................................................... 98 SQL Server Max Degree of Parallelism .................................................................................. 98 SQL Server Statistics on the MessageBox Database.............................................................. 99 Changes to the MessageBox Database .................................................................................. 99 Default Settings for the Database Index Rebuilds and Defragmentation.................................. 99 See Also .............................................................................................................................. 100 Monitoring and Reducing Database I/O Contention.................................................................. 100 Monitoring Disk I/O............................................................................................................... 100 Separating the MessageBox and DTA Databases ................................................................ 101 See Also .............................................................................................................................. 101

Reviewing and Testing SQL Server Cluster Configuration for Failover Scenarios ..................... 101 Evaluating Failover for an Active/Active Cluster .................................................................... 101 Using an Active/Active/Passive Cluster ................................................................................ 102 See Also .............................................................................................................................. 102 Defining Auto-Growth Settings for Databases .......................................................................... 102 How Instant File Initialization Works ..................................................................................... 102 Enabling Instant File Initialization.......................................................................................... 103 Backing Up Databases ............................................................................................................ 103 Advantages of the Backup BizTalk Server Job ..................................................................... 103 Guidelines for the Backup BizTalk Server Job ...................................................................... 103 Additional Resources ........................................................................................................... 104 See Also .............................................................................................................................. 104 Using BizTalk Server Log Shipping for Disaster Recovery ....................................................... 104 How Log Shipping Works ..................................................................................................... 104 Using Log Shipping for Disaster Recovery............................................................................ 104 See Also .............................................................................................................................. 105 Monitoring SQL Server Agent Jobs.......................................................................................... 105 Guidelines for Monitoring the SQL Server Agent Jobs .......................................................... 105 Additional Resources ........................................................................................................... 106 Purging and Archiving Tracking Data ....................................................................................... 106 Guidelines for Using the DTA Purge and Archive Job ........................................................... 106 See Also .............................................................................................................................. 107 Checklist: Configuring BizTalk Server ...................................................................................... 107 In This Section ..................................................................................................................... 108 Best Practices for Configuring BizTalk Server .......................................................................... 108 See Also .............................................................................................................................. 109 Configuring Hosts and Host Instances ..................................................................................... 109 Separating Host Instances by Functionality .......................................................................... 109 See Also .............................................................................................................................. 110 Configuring a Dedicated Tracking Host .................................................................................... 110 Advantages of Using a Dedicated Tracking Host .................................................................. 110 Optimizing Performance for a Dedicated Tracking Host ........................................................ 111 See Also .............................................................................................................................. 112 Setting SOAP and HTTP Adapter Concurrent Connections...................................................... 112 Increasing the Number of Concurrent Connections ............................................................... 112 Tuning IIS and ASP.NET Settings ........................................................................................ 113

See Also .............................................................................................................................. 113 Upgrading and Versioning Strategies for Applications .............................................................. 113 When to Use Versioning....................................................................................................... 113 Using Factoring for Assembly Versioning ............................................................................. 114 Additional Resources ........................................................................................................... 114 See Also .............................................................................................................................. 115 Using Scripts to Deploy Applications........................................................................................ 115 Using BTSTask .................................................................................................................... 115 See Also .............................................................................................................................. 115 Checklist: Providing High Availability with Fault Tolerance or Load Balancing .......................... 115 See Also .............................................................................................................................. 118 Checklist: Increasing Availability with Disaster Recovery ......................................................... 118 Backing Up BizTalk Server ................................................................................................... 118 Restoring BizTalk Server ...................................................................................................... 119 See Also .............................................................................................................................. 119 Checklist: Monitoring Operational Readiness ........................................................................... 120 In This Section ..................................................................................................................... 120 Monitoring Disk Space Usage.................................................................................................. 120 See Also .............................................................................................................................. 121 Monitoring BizTalk Applications ............................................................................................... 121 Components You Should Monitor ......................................................................................... 121 Setting Up MOM .................................................................................................................. 121 See Also .............................................................................................................................. 122 Checklist: Testing Operational Readiness ................................................................................ 123 In This Section ..................................................................................................................... 123 Performing Unit Testing ........................................................................................................... 124 Using Visual Studio Team System........................................................................................ 124 Using Non-Microsoft Tools ................................................................................................... 124 Using the BizTalk Server SDK .............................................................................................. 124 See Also .............................................................................................................................. 126 Performing Functional Testing ................................................................................................. 126 Automating Functional Testing ............................................................................................. 126 See Also .............................................................................................................................. 126 Performing Bottleneck Testing and Tuning .............................................................................. 127 Testing a Subsystem ............................................................................................................ 127 Testing the End-to-End System ............................................................................................ 127

What Developers, Operators, and Administrators Should Know ............................................ 127 See Also .............................................................................................................................. 128 Performing Load and Throughput Testing ................................................................................ 128 How Adding Applications Affects Load ................................................................................. 128 Testing Load and Determining Recovery Time ..................................................................... 128 See Also .............................................................................................................................. 128 Performing Availability Testing................................................................................................. 129 See Also .............................................................................................................................. 129 Tools for Testing ..................................................................................................................... 129 See Also .............................................................................................................................. 132 Routine Maintenance Checklists.............................................................................................. 132 In This Section ..................................................................................................................... 133 Checklist: Performing Daily Maintenance Checks .................................................................... 133 See Also .............................................................................................................................. 134 Checklist: Performing Weekly Maintenance Checks................................................................. 134 See Also .............................................................................................................................. 135 Checklist: Performing Monthly Maintenance Checks ................................................................ 136 See Also .............................................................................................................................. 138 Managing BizTalk Server......................................................................................................... 138 In This Section ..................................................................................................................... 139 Related Sections .................................................................................................................. 139 Managing Applications ............................................................................................................ 139 In This Section ..................................................................................................................... 140 Deploying an Application ......................................................................................................... 140 Deploying Using an .Msi File ................................................................................................ 140 Exporting an Application's Bindings Using a Binding File ...................................................... 141 In This Section ..................................................................................................................... 141 Checklist: Deploying an Application ......................................................................................... 142 See Also .............................................................................................................................. 144 Checklist: Exporting Bindings from One Application to Another ................................................ 145 Best Practices for Deploying an Application ............................................................................. 145 Deploying a BizTalk Application ........................................................................................... 146 Creating a BizTalk Application .............................................................................................. 146 Deploying a BizTalk Assembly ............................................................................................. 146 Adding Artifacts to a BizTalk Application ............................................................................... 146

Exporting and Importing a BizTalk Application ...................................................................... 147 Importing a BizTalk Application ............................................................................................ 148 Known Issues with Deploying an Application ........................................................................... 149 Deploying a BizTalk Application ........................................................................................... 149 Adding Artifacts to a BizTalk Application ............................................................................... 150 Exporting a BizTalk Application ............................................................................................ 150 Importing a BizTalk Application ............................................................................................ 150 See Also .............................................................................................................................. 151 Permissions for Managing an Application ................................................................................ 152 Permissions for Deploying BizTalk Assemblies from Visual Studio........................................ 152 Permissions for Importing an Application .............................................................................. 153 Permissions for Exporting an Application .............................................................................. 153 Permissions for Installing an Application ............................................................................... 154 Artifacts That Must Be Unique in an Application ....................................................................... 155 Deploying and Exporting an Application ................................................................................... 156 In This Section ..................................................................................................................... 158 Creating an Application ........................................................................................................... 158 Creating a BizTalk Application .............................................................................................. 158 Application Options .............................................................................................................. 159 Deploying an Assembly ........................................................................................................... 159 Deploying an Assembly ........................................................................................................ 159 Redeploying Assemblies ...................................................................................................... 160 Best Practices for Redeploying an Assembly..................................................................... 160 Adding Artifacts to an Application ............................................................................................ 161 Factoring Artifacts into Multiple BizTalk Applications............................................................. 162 How to Export an Application to an .Msi File ............................................................................ 162 Prerequisites ........................................................................................................................ 163 Procedures .......................................................................................................................... 164 How to Export Bindings to a Binding File ................................................................................. 166 Prerequisites ........................................................................................................................ 167 Procedures .......................................................................................................................... 167 How to Add a Binding File to an Application ............................................................................. 169 Prerequisites ........................................................................................................................ 171 Procedures .......................................................................................................................... 171 How to Import an Application from an .Msi File ........................................................................ 173 Prerequisites ........................................................................................................................ 174

Important Considerations ..................................................................................................... 174 Procedures .......................................................................................................................... 176 How to Install an Application .................................................................................................... 179 Prerequisites ........................................................................................................................ 180 Considerations for installing an application ........................................................................... 180 To install a BizTalk application ............................................................................................. 182 How to Import Bindings from a Binding File.............................................................................. 184 Prerequisites ........................................................................................................................ 186 Procedures .......................................................................................................................... 186 Testing an Application ............................................................................................................. 187 How to Add a Reference to an Application ............................................................................... 188 Prerequisites ........................................................................................................................ 189 Procedures .......................................................................................................................... 189 Updating an Application ........................................................................................................... 190 In This Section ..................................................................................................................... 190 Checklist: Updating an Assembly............................................................................................. 190 Checklist: Updating an Application Using Side-by-Side Versioning........................................... 192 Best Practices for Updating Applications.................................................................................. 195 Versioning............................................................................................................................ 195 Updating an Application ....................................................................................................... 196 Updating an Assembly ......................................................................................................... 196 Updating an Artifact.............................................................................................................. 197 Updating Bindings ................................................................................................................ 197 Starting or Stopping an Application....................................................................................... 198 See Also .............................................................................................................................. 198 Known Issues with Updating Applications and Artifacts ............................................................ 198 Updating an Application ....................................................................................................... 198 Updating an Artifact.............................................................................................................. 199 Updating an Assembly ......................................................................................................... 199 Updating Applications and Artifacts ......................................................................................... 201 In This Section ..................................................................................................................... 201 Implementing a Versioning Strategy ........................................................................................ 201 General Versioning Issues ................................................................................................... 201 Versioning an Assembly ....................................................................................................... 202 Performing a Simple Update .................................................................................................... 203

How to Update an Assembly.................................................................................................... 203 Prerequisites ........................................................................................................................ 204 Procedures .......................................................................................................................... 204 Updating an Artifact ................................................................................................................. 205 Updating Using Side-by-Side Versioning ................................................................................. 205 In This Section ..................................................................................................................... 206 Checklist: Updating an Orchestration Using Side-by-Side Versioning....................................... 206 Binding to Receive Ports and Locations ............................................................................... 208 How to Update a Map Using Side-by-Side Versioning.............................................................. 208 Prerequisites ........................................................................................................................ 209 Procedures .......................................................................................................................... 209 Modifying a Map to Reflect Updated Version Numbers ......................................................... 209 How to Update a Pipeline Using Side-by-Side Versioning ........................................................ 210 Prerequisites ........................................................................................................................ 210 Procedures .......................................................................................................................... 210 See Also .............................................................................................................................. 211 Updating a Schema Using Side-by-Side Versioning ................................................................. 211 Schema Resolution in Pipelines ........................................................................................... 211 Updating a Schema in an Orchestration ............................................................................... 212 Versioning Schemas ............................................................................................................ 212 See Also .............................................................................................................................. 213 Updating the Bindings in an Application ................................................................................... 213 Updating the Same Version of an Assembly ......................................................................... 213 Updating an Assembly with a Newer Version........................................................................ 213 Managing Certificates .............................................................................................................. 213 In This Section ..................................................................................................................... 213 Checklist: Installing and Configuring Certificates ...................................................................... 214 See Also .............................................................................................................................. 215 Best Practices for Managing Certificates.................................................................................. 215 Assess and Plan Your Use of Certificates............................................................................. 215 Install Certificates ................................................................................................................. 215 Configure BizTalk Server to Use Certificates for MIME/SMIME ............................................. 216 Configure a BizTalk Adapter to Use Certificates ................................................................... 216 Exporting a Certificate from One BizTalk Group to Another................................................... 217 Known Issues with Certificates in BizTalk Server ..................................................................... 217 General Certificate Issues .................................................................................................... 217

Lack of Connectivity to the Certificate Revocation List Will Cause a Certificate to Be Rejected ................................................................................................................. 217 The Other People Certificate Store Is Not Initialized Until Accessed ............................ 218 BizTalk Server Only Supports One Personal Certificate for Each BizTalk Group ......... 218 AS2 Certificate Issues .......................................................................................................... 218 The AS2 Decoder Will Not Validate that a Certificate Is Configured on The Host or for the Destination Party..................................................................................................... 218 BizTalk Server Will Be Unable to Decrypt a Message Saved in Wire Format if the Certificate Is Not Valid ............................................................................................. 218 If an AS2 Message Cannot Be Decrypted, the Problem May Be Fixed by Re-importing The Certificate ........................................................................................................ 219 Use the Same Logon for the In-Process Host Instance and the Isolated Host Instance to Ensure that Personal Store Is Recognized .............................................................. 219 The Key Usage Attribute of a Certificate Must Match the Certificate's Use .................. 220 The Certificate Resolution List Will Be Verified for an Outgoing MDN if the AS2-To Property Is Not Set for the Party .............................................................................. 220 Installing and Configuring Digital Certificates ........................................................................... 220 In This Section ..................................................................................................................... 220 How to Install Certificates for BizTalk Server............................................................................ 220 Prerequisites ........................................................................................................................ 221 Procedures .......................................................................................................................... 221 Configuring Certificates for MIME/SMIME Messages ............................................................... 224 In This Section ..................................................................................................................... 232 How to Configure BizTalk Server to Receive Encrypted MIME/SMIME Messages .................... 232 Prerequisites ........................................................................................................................ 232 Procedures .......................................................................................................................... 232 See Also .............................................................................................................................. 234 How to Configure BizTalk Server to Send Encrypted MIME/SMIME Messages ........................ 234 Prerequisites ........................................................................................................................ 234 Procedures .......................................................................................................................... 234 How to Configure BizTalk Server to Receive Signed MIME/SMIME Messages ......................... 236 Prerequisites ........................................................................................................................ 236 Procedures .......................................................................................................................... 236 See Also .............................................................................................................................. 237 How to Configure BizTalk Server to Send Signed MIME/SMIME Messages ............................. 237 Prerequisites ........................................................................................................................ 237 Procedures .......................................................................................................................... 237 See Also .............................................................................................................................. 238

Configuring Certificates with Adapters ..................................................................................... 238 In This Section ..................................................................................................................... 239 How to Configure Certificates with an HTTP Adapter ............................................................... 239 Prerequisites ........................................................................................................................ 239 Procedures .......................................................................................................................... 239 How to Configure Certificates with an MSMQ Adapter ............................................................. 240 Prerequisites ........................................................................................................................ 240 Procedures .......................................................................................................................... 240 How to Configure Certificates with a SOAP Adapter ................................................................ 241 Prerequisites ........................................................................................................................ 241 Procedures .......................................................................................................................... 241 How to Install and Configure Certificates with a WCF Adapter ................................................. 242 Certificate Usage Scenarios for the WCF Receive Locations ................................................ 242 Certificate Usage Scenarios for the WCF Send Ports ........................................................... 244 Displaying the Certificates Management Console ................................................................. 247 See Also .............................................................................................................................. 248 How to Configure Certificates for Party Resolution ................................................................... 248 Prerequisites ........................................................................................................................ 248 Procedures .......................................................................................................................... 248 How to Add Certificates to an Application ................................................................................ 249 Prerequisites ........................................................................................................................ 249 Procedures .......................................................................................................................... 250 Moving Databases................................................................................................................... 251 In This Section ..................................................................................................................... 251 Moving BAM Databases .......................................................................................................... 252 In This Section ..................................................................................................................... 252 How to Move the BAM Primary Import Database ..................................................................... 252 Prerequisites ........................................................................................................................ 252 Procedures .......................................................................................................................... 252 See Also .............................................................................................................................. 255 How to Move the BAM Archive Database ................................................................................ 255 Prerequisites ........................................................................................................................ 255 Procedures .......................................................................................................................... 255 See Also .............................................................................................................................. 256 How to Move the BAM Star Schema Database ........................................................................ 256 Prerequisites ........................................................................................................................ 256

Procedures .......................................................................................................................... 257 See Also .............................................................................................................................. 258 How to Move the BAM Analysis Database ............................................................................... 258 Prerequisites ........................................................................................................................ 258 Procedures .......................................................................................................................... 258 See Also .............................................................................................................................. 259 How to Move the BAM Notification Services Databases ........................................................... 259 Prerequisites ........................................................................................................................ 259 Procedures .......................................................................................................................... 260 See Also .............................................................................................................................. 261 Moving Non-BAM Databases................................................................................................... 261 In This Section ..................................................................................................................... 261 See Also .............................................................................................................................. 262 Considerations When Moving the Tracking Database if the MessageBox Database Is Not Being Moved .................................................................................................................................. 262 See Also .............................................................................................................................. 262 How to Update References to the TPM Database Name and Connection String ...................... 262 Prerequisites ........................................................................................................................ 263 Procedures .......................................................................................................................... 263 See Also .............................................................................................................................. 265 Monitoring BizTalk Server........................................................................................................ 265 In This Section ..................................................................................................................... 265 Monitoring the BizTalk Server Environment ............................................................................. 265 Monitoring Types ................................................................................................................. 266 Availability Monitoring ....................................................................................................... 266 Health Monitoring.............................................................................................................. 267 Performance Monitoring .................................................................................................... 268 Threshold Monitoring ........................................................................................................ 269 Troubleshooting ................................................................................................................... 269 Best Practices for Monitoring ................................................................................................... 270 Routine Monitoring Tasks ........................................................................................................ 271 Daily Monitoring Tasks ......................................................................................................... 272 Weekly Monitoring Tasks ..................................................................................................... 272 As-Needed Tasks ................................................................................................................ 272 Annual Monitoring Tasks ...................................................................................................... 273 See Also .............................................................................................................................. 273

Using the Performance Analysis of Logs (PAL) Tool ................................................................ 273 Understanding the PAL Tool Report for Microsoft BizTalk Server 2006 ................................. 274 Logical/Physical Disk Read/Write Latency Analysis .............................................................. 299 References ....................................................................................................................... 300 Logical Disk Transfers/sec ................................................................................................... 300 Reference ......................................................................................................................... 300 Available Memory Analysis................................................................................................... 300 References ....................................................................................................................... 300 Free System Page Table Entries Analysis ............................................................................ 301 References ....................................................................................................................... 301 Memory Leak Detection Analysis.......................................................................................... 301 Reference ......................................................................................................................... 302 Memory Pages/sec Analysis ................................................................................................ 302 Reference ......................................................................................................................... 302 Memory System Cache Resident Bytes Analysis .................................................................. 302 Reference ......................................................................................................................... 302 Pool Non-Paged Bytes Analysis ........................................................................................... 303 References ....................................................................................................................... 303 Pool Paged Bytes Analysis................................................................................................... 303 References ....................................................................................................................... 304 Processor Utilization Analysis and Excessive Processor Use by Processes .......................... 304 References ....................................................................................................................... 304 Processor Queue Length Analysis........................................................................................ 305 References ....................................................................................................................... 305 Privileged Mode CPU Analysis ............................................................................................. 306 Reference ......................................................................................................................... 306 High Context Switching Analysis .......................................................................................... 306 References ....................................................................................................................... 306 BizTalk High Database Sessions Analysis ............................................................................ 307 References ....................................................................................................................... 307 BizTalk High Database Size Analysis ................................................................................... 307 References ....................................................................................................................... 308 BizTalk High In-Process Message Count Analysis ................................................................ 308 References ....................................................................................................................... 309 BizTalk High Message Delivery Rate Analysis ...................................................................... 309 References ....................................................................................................................... 309 BizTalk High Process Memory Analysis ................................................................................ 309 References ....................................................................................................................... 310 BizTalk High System Memory Analysis ................................................................................. 310 References ....................................................................................................................... 311 BizTalk High Thread Count Analysis .................................................................................... 311 References ....................................................................................................................... 311 References ....................................................................................................................... 313

BizTalk Message Delivery Throttling State Analysis .............................................................. 313 References ....................................................................................................................... 313 BizTalk MessageBox Database Connection Failures Analysis .............................................. 313 References ....................................................................................................................... 314 BizTalk Messaging Publishing Throttling State Analysis........................................................ 314 References ....................................................................................................................... 315 BizTalk Orchestrations Resident in Memory ......................................................................... 315 References ....................................................................................................................... 315 BizTalk Private Bytes Analysis ............................................................................................. 315 References ....................................................................................................................... 316 BizTalk Virtual Bytes Analysis .............................................................................................. 316 References ....................................................................................................................... 316 BizTalk Message Agent Database Session Throttling Analysis ............................................. 317 References ....................................................................................................................... 317 BizTalk Message Agent Database Session Throttling Threshold Analysis ............................. 317 References ....................................................................................................................... 318 BizTalk Message Agent In-process Message Count Throttling Analysis ................................ 318 References ....................................................................................................................... 318 BizTalk:Message Agent In-process Message Count Throttling Threshold Analysis ............... 319 References ....................................................................................................................... 319 BizTalk Message Agent Process Memory Usage (MB) Throttling Analysis ............................ 319 References ....................................................................................................................... 320 BizTalk:Message Agent Process Memory Usage (MB) Throttling Threshold Analysis ........... 320 References ....................................................................................................................... 320 Monitoring with MOM 2005 or Operations Manager 2007 ........................................................ 321 In This Section ..................................................................................................................... 322 Checklist: Monitoring with MOM or Operations Manager .......................................................... 322 See Also .............................................................................................................................. 323 Best Practices for Monitoring with MOM or Operations Manager .............................................. 323 How to Convert the Management Pack for Operations Manager .............................................. 324 Converting Management Packs............................................................................................ 325 Monitoring Throttling Using Performance Threshold Rules ....................................................... 325 BizTalk Server System Performance Counters ..................................................................... 326 BizTalk Application Counters ................................................................................................ 326 In This Section ..................................................................................................................... 327 Best Practices for Using Performance Threshold Rules to Monitor Throttling ........................... 327 Monitoring for Throttling ........................................................................................................... 328 See Also .............................................................................................................................. 329

Monitoring Disk Space............................................................................................................. 329 In This Section ..................................................................................................................... 330 Checklist: Monitoring Disk Space............................................................................................. 330 Best Practices for Monitoring Disk Space ................................................................................ 330 Monitoring SQL Servers .......................................................................................................... 331 In This Section ..................................................................................................................... 332 Checklist: Monitoring SQL Servers .......................................................................................... 332 Monitoring SQL Server Agent Jobs and Databases ................................................................. 332 How to Designate Databases as Critical .................................................................................. 333 Procedures .......................................................................................................................... 334 Monitoring Applications and Host Instances ............................................................................. 335 In This Section ..................................................................................................................... 335 See Also .............................................................................................................................. 335 Monitoring Applications ........................................................................................................... 335 See Also .............................................................................................................................. 336 Monitoring Host Instances ....................................................................................................... 336 Using Threshold Rules to Monitor Health.............................................................................. 336 Monitoring BizTalk Host Instances........................................................................................ 337 See Also .............................................................................................................................. 337 Customizing the BizTalk Server Management Pack ................................................................. 338 Customizing Threshold and Measurement Rules .................................................................. 338 See Also .............................................................................................................................. 338 Monitoring Using the Group Hub Page .................................................................................... 338 In This Section ..................................................................................................................... 340 Checklist: Monitoring Using the Group Hub Page .................................................................... 340 See Also .............................................................................................................................. 340 Maintaining BizTalk Server ...................................................................................................... 340 In This Section ..................................................................................................................... 341 Related Sections .................................................................................................................. 341 Maintaining Reliability .............................................................................................................. 341 In This Section ..................................................................................................................... 341 Related Sections .................................................................................................................. 342 Best Practices for Maintaining Reliability.................................................................................. 342

Weekly Reliability Checks .................................................................................................... 342 Monthly Reliability Checks.................................................................................................... 343 How to Back Up the Master Secret .......................................................................................... 344 Prerequisites ........................................................................................................................ 344 Procedures .......................................................................................................................... 344 How to Test Group Failover ..................................................................................................... 345 Prerequisites ........................................................................................................................ 345 Procedures .......................................................................................................................... 345 How to Ensure Multiple Servers Are Part of a BizTalk Group ................................................... 346 Prerequisites ........................................................................................................................ 346 Procedures .......................................................................................................................... 346 Administrative Maintenance ..................................................................................................... 347 In This Section ..................................................................................................................... 348 Related Sections .................................................................................................................. 348 Best Practices for Administrative Maintenance ........................................................................ 349 Weekly Administration Checks ............................................................................................. 349 Monthly Administration Checks ............................................................................................ 349 How to Start the SQL Server Agent ......................................................................................... 349 Prerequisites ........................................................................................................................ 350 Procedures .......................................................................................................................... 350 How to Schedule a Backup BizTalk Server Job........................................................................ 350 Prerequisites ........................................................................................................................ 350 Procedures .......................................................................................................................... 351 How to Configure a Backup BizTalk Server Job ....................................................................... 352 Prerequisites ........................................................................................................................ 352 Procedures .......................................................................................................................... 353 Maintaining Security ................................................................................................................ 356 In This Section ..................................................................................................................... 357 See Also .............................................................................................................................. 357 Identifying Your Security Requirements ................................................................................... 357 Best Practices for Resolving Security Issues ........................................................................... 359 See Also .............................................................................................................................. 364 BAM Security Considerations .................................................................................................. 364 General Considerations for BAM Security............................................................................. 364 Security Considerations for the BAM Portal ....................................................................... 365

User accounts ............................................................................................................... 365 Administrator accounts .................................................................................................. 366 Reference ............................................................................................................................ 366 Maintaining Performance ......................................................................................................... 366 In This Section ..................................................................................................................... 366 Related Sections .................................................................................................................. 367 Best Practices for Maintaining Security .................................................................................... 367 Weekly Performance Checks ............................................................................................... 368 Monthly Performance Checks............................................................................................... 368 Tools and Utilities for Troubleshooting ..................................................................................... 370 Event Viewer........................................................................................................................ 370 Network Monitor ................................................................................................................... 370 Fiddler Tool .......................................................................................................................... 370 SQL Server Profiler .............................................................................................................. 370 SQL Server Query Analyzer and Query Editor ...................................................................... 371 DTCTester ........................................................................................................................... 371 DTCPing .............................................................................................................................. 371 Performance Console .......................................................................................................... 371 RegMon, FileMon, and DebugView ...................................................................................... 372 Debug Diagnostics Tool of the IIS Diagnostics Toolkit .......................................................... 372 Configuring Batching to Improve Adapter Performance ............................................................ 372 How to Adjust the Message Size Threshold ............................................................................. 373 Prerequisites ........................................................................................................................ 373 Procedures .......................................................................................................................... 373 See Also .............................................................................................................................. 373 How to Adjust the Cache Refresh Interval ................................................................................ 374 Prerequisites ........................................................................................................................ 374 Procedures .......................................................................................................................... 374 How to Disable Tracking .......................................................................................................... 375 Prerequisites ........................................................................................................................ 375 Procedures .......................................................................................................................... 375 See Also .............................................................................................................................. 382 How to Use a Dedicated Host for Tracking Maintenance.......................................................... 382 Prerequisites ........................................................................................................................ 382 Procedures .......................................................................................................................... 382 See Also .............................................................................................................................. 383 Troubleshooting Performance Issues....................................................................................... 383

Diagnosing Performance Problems in the BizTalk Server Environment ................................. 383 See Also .............................................................................................................................. 384 Maintaining BizTalk Server Databases .................................................................................... 385 Known Issues ...................................................................................................................... 385 Auto Update Statistics/Auto Create Statistics .................................................................... 385 Max Degree of Parallelism ................................................................................................ 386 Indexing............................................................................................................................ 386 Locking/Deadlocking/Blocking ........................................................................................... 386 Large Databases or Tables ............................................................................................... 387 BizTalk SQL Agent Jobs ................................................................................................... 388 Suspended Instances ....................................................................................................... 388 See Also .............................................................................................................................. 389 Increasing Availability for BizTalk Server ................................................................................. 390 Strategies for Increasing Availability ..................................................................................... 390 Difference Between Clustering and Disaster Recovery ......................................................... 390 In This Section ..................................................................................................................... 391 See Also .............................................................................................................................. 391 Providing High Availability ....................................................................................................... 391 In This Section ..................................................................................................................... 391 See Also .............................................................................................................................. 391 Planning for High Availability ................................................................................................... 391 Understanding the Impact of a Component Failure ............................................................... 393 In This Section ..................................................................................................................... 394 See Also .............................................................................................................................. 394 BizTalk Server High Availability Examples ............................................................................... 395 Small BizTalk Server 2006 Deployments .............................................................................. 395 Medium-Sized BizTalk Server 2006 Deployments ................................................................ 396 Large-Scale BizTalk Server 2006 Deployments .................................................................... 397 See Also .............................................................................................................................. 398 High Availability for BizTalk Hosts............................................................................................ 398 In This Section ..................................................................................................................... 400 See Also .............................................................................................................................. 400 Scaling Out Receiving Hosts ................................................................................................... 400 Understanding In-Process and Isolated Receiving Hosts ...................................................... 400 Scaling Out In-Process Receiving Hosts............................................................................... 401 Scaling Out Isolated Receiving Hosts ................................................................................... 403 See Also .............................................................................................................................. 403 Clustering Receiving Hosts...................................................................................................... 404

Running the FTP Adapter Receive Handler Within a Clustered BizTalk Host ........................ 404 Running MSMQ Adapter Handlers Within a Clustered BizTalk Host...................................... 405 Running the POP3 Adapter Receive Handler Within a Clustered BizTalk