BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager,...

34
BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    219
  • download

    0

Transcript of BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager,...

Page 1: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

BIZTALK SERVER 2006HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY

Andrew BabiecManager, Development ServicesTallan

Page 2: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Tallan Company Overview

Founded in 1985 Headquartered in Rocky Hill, CT Offices in Santa Ana, Manhattan, Tampa,

and Boston Over 100 technology consultants with a

wide range of expertise and knowledge Over 20 consultants located in the Southern

California (LA/OC) area Emphasis on current technology trends and

talent

Page 3: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Tallan Clients

Walt Disney Internet Walt Disney Internet GroupGroup

Ingram MicroIngram Micro ExperianExperian Oakwood WorldwideOakwood Worldwide INGING Bank of AmericaBank of America Lincoln FinancialLincoln Financial

•TalbotsTalbots•Best BuyBest Buy•Ann TaylorAnn Taylor•eBayeBay•Barnes & NobleBarnes & Noble•CVSCVS•Columbia Columbia

HouseHouse•DellDell•uBid.comuBid.com

Since 1985, Tallan has worked at over 400 Since 1985, Tallan has worked at over 400 clients, including,clients, including,

Page 4: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Tallan Solution Areas

Custom Application Development J2EE and .NET Web Development

Web 2.0/Community/Social Media E-Commerce

Internal System Development

Business Intelligence (BI)

SOA / BPM / EAI (BizTalk)

Portals, Collaboration, and Content Management

Page 5: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Agenda

High availability concepts BizTalk Server 2006 “Farm” demo BizTalk Server database disaster recovery Performance tips and best practices

Page 6: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Prerequisite Knowledge

Microsoft® BizTalk® Server administration, development, and deployment

Microsoft® Windows® security Microsoft® SQL Server™ administration

Page 7: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

BizTalk Server High AvailabilityConcepts and goals

Fault tolerant server infrastructure Eliminate single points of failure

High performance and scalability Avoid resource bottlenecks

Security Reduce downtime due to breaches

Backups and disaster recovery Recovering from catastrophic failures

Page 8: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

BizTalk Server High AvailabilityDistributed Architectures

Purpose of Distributed Architectures (“Farms”) High availability High performance

“Active-Active” configuration by virtue of use of the BizTalk MessageBox Messages and state are persisted at predetermined

persistence points No Hardware affinity Microsoft Cluster Services support

For very specific components MSMQ, MQ Series adapters Enterprise SSO redundancy BizTalk Server 2006 host process is cluster aware

Page 9: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Zero Availability ArchitectureSingle Server

Page 10: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

High Availability Architectures Small BizTalk Server deployment

Page 11: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.
Page 12: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

SQL Server Cluster options

Page 13: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

SQL Server Cluster options

Page 14: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

High Availability Architectures Medium-sized BizTalk Server deployment

Page 15: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.
Page 16: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

High Availability Architectures Large scale BizTalk Server deployment

Page 17: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Multiple MessageBox DatabasesHigh Availability with SQL Clustering

Page 18: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Multiple MessageBox Databases Minimum of 3 – otherwise no benefit One Master messagebox

Used for Routing Disable new message publication (be careful if

using MSMQT)

Multiple secondary messageboxes Used for Processing

Load Balancing is automatic and handled by BizTalk automatically

Page 19: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

BizTalk Server Farm Demo

This demo assumes familiarity with

BizTalk messaging and orchestration

BizTalk MSI deployment procedures

2 Hosts running on a laptop 1 x SQL Server node 2 x BizTalk Servers (one in a

VM)

DOMAIN: EBIS-LAB

EBILABDC1

BTS06-2BTS06-1

SQLCLUST1

Page 20: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Message Flow

BTS2004SQL01

MessageBox

BTS06-1

BTS06-2

HOST: MyReceiveHost

HOST: MyOrchestrationHost

HOST: MySendHost

BTS2004SQL01

MessageBox

BizTalk Server Farm Demo Scenario will illustrate

BizTalk Server farm deployment Publish/subscribe and architecture of the MessageBox Hosts and host instances

Host Instance

Host Instance Host Instance

Host Instance

Host Instance

Host Instance

Shared File Location

Publish

Pub

lish

Pub

lish

Publish

Subscribe

Subs

crib

e

C:\Tutorial\FileDrop

C:\Tutorial\FileDrop

Send toEndpoint

Send toEndpoint

Receive Port Send Port

Send PortReceive Port

Subscribe

Sub

scrib

e

Page 21: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

BizTalk Server 2006 “Farm”

Page 22: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Providing High Availability for the BAM Databases Cluster the BAM Primary Import database

and the BAM Analysis database Define an online window. Schedule DTS packages to run periodically Carefully choose small sets of data items

(checkpoints), and avoid including unnecessary data items when defining an activity

Page 23: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Providing High Availability for the BAM Databases (continued)

Understand the trade-offs between scheduled and real-time aggregations when you design your aggregations.

If you choose scheduled aggregations, make sure you schedule the cubing DTS to run more frequently than the archiving DTS.

Enable the BAM Event Bus Service in multiple computers to obtain failover functionality

Page 24: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Behavior of BizTalk Host Instances during SQL Server Failover Behavior of In-process host instances during

SQL failover Will be recycled until the connection to the SQL

Server is restored. Once restored, document processing resumes normally.

Behavior of Isolated host instances during SQL failover Will pause and disable receive locations. Wehn databases become available, the receive

locations will be automatically enabled.

Page 25: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

SQL Server Database Mirroring

Not supported Use log shipping instead.

Page 26: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

BizTalk Database Disaster Recovery Steps

Backup Configure Scheduled Backups Store Backup files offsite

Log Shipping Configure destination (backup) SQL server

Restore Restore to SQL Server Reconfigure BizTalk Servers

Test your restore procedures!

Page 27: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Troubleshooting MessageBox Latency Issues The Biztalk Host instance that has the "allow

Host tracking" option set is stopped SQL Server Agent is not running or SQL

Server Jobs are disabled BizTalkDTADb database grows excessively Excessive Disk I/O Latency Retain minimal data in the BizTalkDTADb

database so that runtime performance is not sacrificed

Page 28: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

BizTalk Server Administration Deployment Options

Prescribed method: MSI Files Batch files and WMI scripts BTSTask (previously BTSDeploy)

BTSDeploy will remain supported in 2006 for forward compatibility

3rd party and unsupported tools NAnt (http://www.traceofthought.com) BizTalk Assembly Checker (ships with 2006) Community development (http://www.codeplex.com)

Page 29: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

BizTalk Server High Availability Best Practices

Design Robust Infrastructures Microsoft® SQL Server™ Cluster BizTalk Distributed Architecture (Farm) Multiple MessageBoxes for higher volumes Plan Hosts and host instances carefully

Understand the BizTalk development life cycle BizTalk Server 2006 “applications” concept Allocation of BizTalk artifacts into

separate assemblies

Page 30: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

BizTalk Server High Availability Best Practices

Plan and test your disaster recovery strategy Backing up your BizTalk Databases BizTalk Log Shipping Archiving and Purging Document Tracking DB

Documentation Hardware Architecture Server Operations Implemented Solution Architectures Deployment procedures

Page 31: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Session Summary

Role of the administrator High availability concepts BizTalk Server 2006 “Farms” – Scale Out! BizTalk Server Data DR – Test restores Best practices and recommendations

Page 32: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

For More Information

Read http://www.microsoft.com/biztalk/en/us/white-papers.aspx http://technet.microsoft.com/en-us/biztalk/default.aspx BizTalk Documentation (Help File)

Learn http://www.microsoft.com/biztalk/techinfo/virtual-labs.mspx

Blogs and Newsgroups http://www.blogbiztalk.com/ http://blogs.msdn.com/biztalk_server_team_blog/ http://blogs.msdn.com/Biztalk_Core_Engine

Community Developed Tools http://www.codeplex.com/ (search for “BizTalk”)

Page 33: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Contact Information

Andrew BabiecManager, Development [email protected]

TallanMicrosoft Gold Certified Partner

Page 34: BIZTALK SERVER 2006 HIGH AVAILABILITY, FAULT TOLERANCE, AND SCALABILITY Andrew Babiec Manager, Development Services Tallan.

Q&AQ&A

Thank YouThank You