module 4: deploying and managing biztalk applications

20
Module 4: Deploying and Managing BizTalk Applications

Upload: rey-fenton

Post on 15-Dec-2015

227 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Module 4: Deploying and Managing BizTalk Applications

Module 4: Deploying and Managing

BizTalk Applications

Page 2: Module 4: Deploying and Managing BizTalk Applications

Lesson 1: Deploying a BizTalk Application

Lesson 2: Managing a BizTalk Application

Overview

Page 3: Module 4: Deploying and Managing BizTalk Applications

Lesson 1: Deploying a BizTalk Application

How Deployment Works

What Is a BizTalk Application?

Application Deployment Steps

How BizTalk Uses Strong Names

Configuring BizTalk Deployment Properties

BizTalk Application Deployment Tools

Demo: Deploying the Adventure Works Application

Page 4: Module 4: Deploying and Managing BizTalk Applications

How Deployment Works

Non-BizTalk AssembliesNon-BizTalk Assemblies Global Assembly Cache

Global Assembly Cache

BizTalk Server

Configuration Database

BizTalk AssembliesBizTalk Assemblies

RegisterRegisterMapsSchemasOrchestrationsPipelines

InstallInstall

Page 5: Module 4: Deploying and Managing BizTalk Applications

BizTalk ApplicationBizTalk Application

BizTalk ArtifactsSchemas

Maps

Pipelines

Orchestrations

BizTalk ArtifactsSchemas

Maps

Pipelines

Orchestrations

What Is a BizTalk Application?

Messaging ComponentsReceive ports

Receive locations

Send ports

Adapters

Messaging ComponentsReceive ports

Receive locations

Send ports

Adapters

BizTalk Administration Console

BizTalk Administration Console

Page 6: Module 4: Deploying and Managing BizTalk Applications

Application Deployment Steps

Set application deployment propertiesSet application deployment properties22

Build the applicationBuild the application33

Deploy the applicationDeploy the application44

Create physical send ports and receive locationsCreate physical send ports and receive locations55

Configure each assembly with strong nameConfigure each assembly with strong name11

Enable ports and enlist the orchestrationEnable ports and enlist the orchestration66

Page 7: Module 4: Deploying and Managing BizTalk Applications

How BizTalk Uses Strong Names

Strong NameStrong Name

Assigns digital signatureProvides integrity checkGuarantees uniquenessPrevents version override

Assigns digital signatureProvides integrity checkGuarantees uniquenessPrevents version override

Page 8: Module 4: Deploying and Managing BizTalk Applications

Configuring BizTalk Deployment Properties

Deployment PropertiesDeployment Properties

SQL ServerConfiguration databaseApplication nameRedeploy (true or false)Install to GAC (true or false)

SQL ServerConfiguration databaseApplication nameRedeploy (true or false)Install to GAC (true or false)

Page 9: Module 4: Deploying and Managing BizTalk Applications

BizTalk Application Deployment Tools

Method Usage

Visual StudioDeveloper tool (testing)Use the redeploy option to override same version

Command-Line Deployment

Administrator tool (production)Deploy assembliesImport and export bindingsDeploy multiple assemblies to multiple servers

BizTalk Administration Console

Developer and IT Pro toolImport and export bindingsExport applications as Windows Installer (MSI) packages

Page 10: Module 4: Deploying and Managing BizTalk Applications

Demo: Deploying the Adventure Works Application

In this demonstration, you will see how to:

Assign a strong name to a project

Configure the Application Deployment Property

Build a BizTalk Server Solution

Deploy a BizTalk Server Solution

View the application in the BizTalk Administration Console

Page 11: Module 4: Deploying and Managing BizTalk Applications

Lesson 2: Managing BizTalk Applications

Managing Apps with the BizTalk Administration Console

Exporting and Importing a Binding File

Migrating Applications using MSI Packages

Managing Applications from a Command Prompt

Managing Assembly Versioning

Demo: Managing the Adventure Works Application

BizTalk Hosts and Host Instances

Page 12: Module 4: Deploying and Managing BizTalk Applications

Managing Apps with the BizTalk Administration Console

Page 13: Module 4: Deploying and Managing BizTalk Applications

BizTalk ServerBizTalk Server

Exporting and Importing a Binding File

Binding File

Binding FilesBinding Files

Useful for moving configuration information from one physical environment to another

Contains port configuration settings

Can contain logical-to-physical port binding information whenusing orchestrations

Useful for moving configuration information from one physical environment to another

Contains port configuration settings

Can contain logical-to-physical port binding information whenusing orchestrations

Page 14: Module 4: Deploying and Managing BizTalk Applications

ProductionProduction

InstallInstall

DevelopmentDevelopment

Migrating Applications Using MSI Packages

ExistingConfiguration

MSI PackageMSI Package

BizTalk ServerBizTalk ServerInstallInstall

InstallInstall

ImportImport

Page 15: Module 4: Deploying and Managing BizTalk Applications

Managing Applications from a Command Prompt

BTSTask FeaturesBTSTask Features

List artifacts and applications

Add and remove artifacts and applications

Export and import MSI packages

Export and import binding information

List artifacts and applications

Add and remove artifacts and applications

Export and import MSI packages

Export and import binding information

C:\> BTSTask RemoveResource /ApplicationName:LabA /Server:BTS10-PLATFORM

Page 16: Module 4: Deploying and Managing BizTalk Applications

Managing Assembly Versioning

GuidelinesGuidelines

Use separate assembles for artifacts that are subject to changeGroup artifacts together that must be versioned togetherFor schemas, change target namespace when using multiple versions

Use separate assembles for artifacts that are subject to changeGroup artifacts together that must be versioned togetherFor schemas, change target namespace when using multiple versions

ConsiderationsConsiderations

Verify existing deployed version numbersConfirm the version used in a binding fileUn-enlist any dependent orchestrations

Verify existing deployed version numbersConfirm the version used in a binding fileUn-enlist any dependent orchestrations

Page 17: Module 4: Deploying and Managing BizTalk Applications

Demo: Managing the Adventure Works Application

In this demonstration, you will see how to:

Import a binding file using the BizTalk Administration Console

Start the Application

Export the application to an MSI package

Remove the application by using a command prompt

Page 18: Module 4: Deploying and Managing BizTalk Applications

BizTalk GroupBizTalk Group

BizTalk Hosts and Host Instances

Host AHost A

Shipping OrchestrationBilling OrchestrationPOP3 Receive

Shipping OrchestrationBilling OrchestrationPOP3 Receive

Host CHost C

Billing OrchestrationFTP ReceiveSMTP Send

Billing OrchestrationFTP ReceiveSMTP Send

Instance AInstance A

Instance AInstance A

Instance BInstance B

Host BHost B

Order OrchestrationSharePoint ReceiveWCF-BasicHttp Send

Order OrchestrationSharePoint ReceiveWCF-BasicHttp Send

Instance BInstance B

Instance BInstance B

Instance CInstance C

Page 19: Module 4: Deploying and Managing BizTalk Applications

BizTalk Hosts and Host Instances

Page 20: Module 4: Deploying and Managing BizTalk Applications

Lab: Deploying and Managing BizTalk Applications

Exercise 1: Assign a Strong Name Key to an Assembly

Exercise 2: Configure the Application Deployment Property

Exercise 3: Build and Deploy a BizTalk Application

Exercise 4: Manage Ports by usingBinding Files

Exercise 5: Manage Applications by with MSI Packages

Exercise 6: Move Resources and Ports between Applications

Exercise 7: Manage Applications with BTSTask