created by the community for the community kent weare

42
Created by the Community for the Community BizTalk 2009 High Availability Kent Weare

Post on 20-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

BizTalk 2009 High Availability

Kent Weare

Page 2: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

About Me

Worked with BizTalk since 2004 2 time Microsoft MVP for BizTalk ServerMember of Connected Systems Advisory GroupCurrently manage a team of Microsoft Solution Developers

Page 3: Created by the Community for the Community Kent Weare

Session AgendaHigh Availability (HA) - What is it?

How do I achieve High Availability?

Impact on Adapters and Hosts

Impact on Databases

Role of Enterprise Single Sign On (ESSO)

Deployment Scenarios

Changes for 2009

Page 4: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

High Availability - What is it?

“High availability involves implementing redundancy for each functional component involved in an application integration or business process integration scenario.” 1

1. ms-help://MS.BTS.2009/BTS09CoreDocs/html/758eb3bd-a25b-4863-a4ca-

d7a1635f7542.htm

Page 5: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

High Availability - What is it?

Two General configurations of HA exist: Active/Active and Active/PassiveActive/Active is used to describe multiple sets of hardware that is being utilized continuously.Active/Passive is used to describe a set of hardware that is only partially being used. A portion of the Hardware is active while the remaining portion is resting.

Page 6: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

High Availability - What is it?

Active/Active Active/Passive

IIS IIS

IIS

ActiveSQL Server

PassiveSQL Server

IIS

Page 7: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

High Availability - What is it?

Which configuration is better?It depends:

Active/Active utilizes IT Assets more efficientlyActive/Active allows you to scale out while providing HA at the same time.Active/Passive may reduce the amount of licenses required by software vendor since only one instance is running at a time. (Check with your vendor)Active/Passive may require you to Scale Up in order to improve performances

Page 8: Created by the Community for the Community Kent Weare

Session AgendaHigh Availability (HA) - What is it?

How do I achieve High Availability?

Impact on Adapters and Hosts

Impact on Databases

Role of Enterprise Single Sign On (ESSO)

Deployment Scenarios

Changes for 2009

Page 9: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

How do I achieve High Availability?

The initial step is to add hardware so that you have “two of everything”Cluster SQL Server instanceNext, you need to create BizTalk Hosts Then you need to create BizTalk Host Instances on multiple servers.

Page 10: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

How do I achieve High Availability?

Page 11: Created by the Community for the Community Kent Weare

Session AgendaHigh Availability (HA) - What is it?

How do I achieve High Availability?

Impact on Adapters and Hosts

Impact on Databases

Role of Enterprise Single Sign On (ESSO)

Deployment Scenarios

Changes for 2009

Page 12: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Adapters

Not all adapters are created equally!SOAP, HTTP and some WCF bindings should be run behind an NLB in HA scenariosFTP, POP3, MSMQ and MSMQT* should be run in clustered Hosts in Highly Available Solutions

Page 13: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Adapters

Page 14: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Adapters - NLB

?Network Load Balancer (NLB)http://NLB/

Page 15: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Adapters - Clustering

FTP Server

Page 16: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Adapters - Clustering

FTP Server

Page 17: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Adapters – GOTCHA!Do not enable NLB on a computer that is part of

a Cluster

Page 18: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Adapters – GOTCHA!

Try to anticipate your requirements!Only Cluster BizTalk Host instances if you are using adapters that require itOnly enable NLB unless you have adapters that require itUnderstand OS requirements

Other optionsScale out – Use 2 Node Cluster and 2 Node NLBUse a hardware NLB that sits “in front” of ClusterNLB a pair virtual ISA servers that will forward requests to BizTalk Servers

Page 19: Created by the Community for the Community Kent Weare

Session AgendaHigh Availability (HA) - What is it?

How do I achieve High Availability?

Impact on Adapters and Hosts

Impact on Databases

Role of Enterprise Single Sign On (ESSO)

Deployment Scenarios

Changes for 2009

Page 20: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Databases

BizTalk relies upon SQL Server for data persistence in order to prevent message lossBizTalk also relies upon SQL Server for message subscriptions, message archival, configuration and metric data(BAM)In order to achieve High Availability for your Databases you must use Windows Server 2003 Server Clustering or Windows Server 2008 Failover Clustering.

Page 21: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Databases

ActiveSQL Server

PassiveSQL Server

ActiveSQL Server

Page 22: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Impact on Databases

Page 23: Created by the Community for the Community Kent Weare

Session AgendaHigh Availability (HA) - What is it?

How do I achieve High Availability?

Impact on Adapters and Hosts

Impact on Databases

Role of Enterprise Single Sign On (ESSO)

Deployment Scenarios

Changes for 2009

Page 24: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Role of Enterprise Single Sign On

Enterprise Single Sign On is a technology used to support credential mapping in Single Sign On Scenarios.BizTalk uses SSO to help secure information for Receive LocationsBy default the first BizTalk Server configured becomes the Master Secret ServerThe Master Secret Server contains the encryption key used to encrypt/decrypt data that is stored in SSO Database

Page 25: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Role of Enterprise Single Sign On

If Master Secret Server goes offline, remaining BizTalk Servers will continue to functionRemaining Servers continue to perform run-time operations by using cached version of secret.If Host Instances or SSO service are restarted on remaining servers, BizTalk Host instances will fail to start and will not process data

Page 26: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Role of Enterprise Single Sign On

Page 27: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Role of Enterprise Single Sign On

To avoid the previous scenario you will need to cluster the Enterprise Single Sign On Service that is the Master Secret ServerThe Clustered instance can belong on a:

BizTalk ClusterDedicated SSO ClusteredSQL Server

Page 28: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Role of Enterprise Single Sign On

ActiveSQL Server

PassiveSQL Server

ActiveSQL ServerActive

SQL Server

Passive SQL Server

ActiveSQL Server

Page 29: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Role of Enterprise Single Sign On

Page 30: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Role of Enterprise Single Sign On

Detailed Instructions on how to cluster Enterprise Single Sign On can be found here:

ms-help://MS.BTS.2009/BTS09CoreDocs/html/ef817fa4-e43d-4e3d-8686-5bd675708001.htmhttp://msdn.microsoft.com/en-us/library/aa561823.aspx

Page 31: Created by the Community for the Community Kent Weare

Session AgendaHigh Availability (HA) - What is it?

How do I achieve High Availability?

Impact on Adapters and Hosts

Impact on Databases

Role of Enterprise Single Sign On (ESSO)

Deployment Scenarios

Changes for 2009

Page 32: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Deployment Scenarios

Single Box Deployment• Developer Install• Small Business Install• Does not provide High Availability

Page 33: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Deployment Scenarios

Multi – Server Deployment• Medium Sized Deployment• Enterprise Single Sign On and SQL Server 2008 are clustered• Bare minimum required in order to provide High Availability

Page 34: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Deployment Scenarios

Enterprise – Server Deployment• Enterprise Deployment• Provides High Availability• 2 BizTalk Nodes are Clustered• 2 BizTalk Nodes are in NLB• Enterprise Single Sign On and SQL Server 2008 are Clustered

Page 35: Created by the Community for the Community Kent Weare

Session AgendaHigh Availability (HA) - What is it?

How do I achieve High Availability?

Impact on Adapters and Hosts

Impact on Databases

Role of Enterprise Single Sign On (ESSO)

Deployment Scenarios

Changes for 2009

Page 36: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Changes for BizTalk 2009

BizTalk 2009 is supported on Windows Server 2008 in either 32 or 64bit configurationsBizTalk 2009 is supported on SQL Server 2005 and 2008Virtualization support for Hyper-V

Page 37: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Changes for BizTalk 2009

Why Virtualize BizTalk?Consolidate underutilized servers into a smaller number of fully utilized machinesNew virtual servers can be provisioned quickly: Dev/Test and Disaster Recovery (DR)Scale up scenarios may be a matter of configuration by allocating more resources from the Host to the Guest server

Page 38: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Changes for BizTalk 2009

Won’t Virtualization hurt my performance?

The BizTalk Ranger Team (Customer Experience Team) determined that BizTalk is a strong candidate for virtualization, especially in the app tier5% - 13% overhead in running BizTalk Server tier as Virtual GuestSQL Server does not perform as well due to CPU overhead required by Hyper-V

Page 39: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Changes for BizTalk 2009

If you are considering Virtualizing your BizTalk environment, you need to read the BizTalk Server 2009 Hyper-V Guide :

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=0582bc67-0bef-4a0a-99cf-4408a111c4e3

Page 40: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Conclusion

Understand your requirementsAs always, try to model your QA and Production environmentsTake inventory of “tweaks”, hot fixes and configuration that need to be replicated on all serversAutomate your deployments so that you get repeatable results

Page 41: Created by the Community for the Community Kent Weare

Created by the Communityfor the Community

Conclusion – Thanks!

Email me through my blog: http://kentweare.blogspot.comCheck out my other Webcast: BTS09 LOB Adapters - All you need to know about the SAP AdapterBizTalk Dev Centre: http://msdn.microsoft.com/en-us/biztalk/default.aspx

Page 42: Created by the Community for the Community Kent Weare

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

BizTalk Light and Easy Webcast Series

Created by the Community for the CommunityMeet the team….