Tuesday, 13 March 2012 12:47

Checklist BizTalk Application Migration

Written by 
Rate this item
(7 votes)

This article describes the steps which must be taken to perform a migration of a BizTalk application. Since each migration has its own specific matters, the attached document can be used as a template and can be modified for each specific migration.

A pretty boring but certainly important subject is writing checklists to make sure your BizTalk Application Migration goes smoothly. The last 5 years I have done numerous migrations on a pretty large application, where BizTalk is only one part of the entire system. One of my responsibilities was creating such checklists.

For each new release of the (BizTalk) application I start with taking the checklist of the most recent migration and modify it, so it can be used for the migration of the new release. This modified checklist is used for the first time during the migration in the Test Environment. If we have multiple test runs, the document can be made more perfect during each run. This way we are pretty sure we have a fine checklist when we are going live with the new release.

Migration Parts

The migration of a BizTalk Application can be split into a number of parts:

  • Preparations before the migration
  • Day before the migration
  • Check and stop the BizTalk application
  • Migrate the BizTalk application
  • Start the BizTalk application
  • After the installation

Every part will be described in a little bit more detail below.

Preparations before the migration

Before the migration it might be necessary to create scripts which will be executed during the migration. You can think of scripts like database migrations etc. In this step these scripts have to be prepared.
Each script should contain the number of the step in the checklist when, during migration, the script must be executed, for instance by making that number part of the file name. All migration scripts should be placed on a central location.

The main goal you’ll achieve with this is that the scripts can be run and tested in your Test environment. In the ideal world the scripts won’t have to be changed before they are being run at the Live Environment. So all you have to do is move them from your Test Environment to your live Environment.

Day before the migration

The day before going live with a certain release, you can put installation files in place and you’ll want to make backups of binding files and all kind of configuration files. These backups will also be stored at a central location.

Check and stop the BizTalk application

The day of migration has arrived. When you are ready, you can start the migration by checking the environment. When everything is okay you proceed with stopping and undeploying the BizTalk application.

Migrate the BizTalk application

Next the new BizTalk application will be installed. Make sure it is installed (and GAC-ed) and deployed on one BizTalk server and installed (and GAC-ed) on the remaining BizTalk servers.

Start the BizTalk application

After the BizTalk application is installed correctly, you can start it.

After the installation

When the installation is completed and the BizTalk application is running smoothly, you might need to update your monitoring software.

Appendix

The attached document can be used for both Test as Live environments. However, since the server landscape can be different between these environments and file locations for all kind of migration scripts etc. might not be the same, any environment specific matters should be mentioned in the appendix of this document.

The Appendix serves 2 goals:

  • Store Environment specific settings
  • Store the state of your Host Instances


Store Environment specific settings

To make the document usable for both your Test and Live Environment you can maintain a table in which you can write down any differences between your Test Environment and your Live Environment. You can think of things like file locations for backups or configuration files, but also any different End Point addresses can be mentioned here.

Store the state of your Host instances

Part of the migration is stopping and starting your Host Instances. To remember which Host Instance runs on which Server, you can fill out the table below.

Download the document

The document can be downloaded here.

Read 2756 times Last modified on Tuesday, 13 March 2012 15:08
Lex Hegt

Lex Hegt currently works as a BizTalk architect/administrator at Ordina. Although he works in the Information Technology for more than 25 years, he 'only' works with BizTalk for 8 years. His first BizTalk assignments were as a developer, but since a couple of years he works as an administrator.
Besides this blog he also blogs for many years at the BIA blog and does he maintain some tools, namely BizTalk Processing Monitor and BTSDecompress. He has certifications for BizTalk Server 2006, BizTalk Server 2006 R2 and BizTalk Server 2010.

twitterlinkedin

Website: biztalkia.blogspot.com

8 comments

  • Comment Link Jeroen Hendriks Tuesday, 13 March 2012 13:21 posted by Jeroen Hendriks

    Hi Lex,

    A very usefull checklist, especially for larger environments. One of my customers has long running orchestrations. There is a procedure to make sure there aren't any on the day of the migration. Maybe you can add something for this in the 0.2 version in the section Day before the migration.

  • Comment Link Lex Hegt Tuesday, 13 March 2012 13:35 posted by Lex Hegt

    Hi Jeroen,
    Thanks! We have long running orchestrations too. Actually they are so long running, that we have to terminate them. Normally we inform the user which processes we had to interrupt.

  • Comment Link Lex Hegt Tuesday, 13 March 2012 13:49 posted by Lex Hegt

    By the way: I've put the article on TechNet Wiki as well, so anybody can contribute to the article.
    You can find it here: http://social.technet.microsoft.com/wiki/contents/articles/8146.checklist-for-biztalk-application-migration.aspx

  • Comment Link Tord Glad Nordahl Wednesday, 14 March 2012 14:13 posted by Tord Glad Nordahl

    Nice article Lex! I agree on this, and its smart to publish it on the TechNet for sharing with others!

  • Comment Link Lex Hegt Wednesday, 14 March 2012 19:42 posted by Lex Hegt

    Thanks Tord! I found out that this is another area on which not very much information can be found on the internet. So I thought sharing my experience could be valuable.

  • Comment Link Andy Dang Thursday, 05 April 2012 11:56 posted by Andy Dang

    Thanks for sharing Lex. Keep up the great work!

  • Comment Link Lex Hegt Saturday, 07 April 2012 18:55 posted by Lex Hegt

    Thanks Andy!

    I would love to use my checklist on a BizTalk system near your topological area! I love Down Under!

    Regards,
    Lex

  • Comment Link Saravana Kumar Tuesday, 08 May 2012 14:23 posted by Saravana Kumar

    Hi Lex, I guess when you say "BizTalk Application Migration" you meant BizTalk application upgrade.

    I just wanted to add couple of things

    1. There is a very good white paper from Microsoft in this topic "Understanding Application Deployment and Upgrade", which is very detailed http://msdn.microsoft.com/en-us/library/aa560022.aspx

    The article explain in detail about upgrade scenario long running orchestrations, side-by-side deployment etc.

    2. We normally recommend our customers to automate the task as much as possible. Customers can either use MSBuilt with SDC tasks or use BDF (BizTalk Deployment Framework)

    So the results are always consistent.

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.