BAM Training Kit

Posted: September 20, 2008  |  Categories: BizTalk BizTalk Server 2006 R2 Business Activity Monitoring Uncategorized

Microsoft recently added a training kit for Business Activity Monitoring. I downloaded the kit and installed it on my BizTalk 2006 R2. This kit kit contains an overview of the BAM feature (“BAM Training.doc”), a BAM solution sample (“BAM Training_Hands-On Exercises.doc”), sample code files to use with the sample solution (“BAM Training_Lab Files” folder), and a PowerPoint slide deck to use in an instructor-led setting (“BAM Training_Instructor Slide Deck.ppt”). Before running the kit I checked if BAM was properly configured in this environment, which was not the case. After I configured BAM I ran the executable, which contains a sample called ‘OrderProcess’ solution and msi. I imported this msi file inside BizTalk Administration console. The solution contains one orchestration visualized below.

After running msi I fired up BAM portal to check if everything is working properly, which was the case. I then deployed BAM definition file (saving OrderMgmt.xlsx(notice xlsx extension, so will need office 2007 or convert back to xls extension for older versions of Office) file to OrderMgmt. xls first in Excel 2007) into BAM Database using bm.exe located in ‘C:Program FilesMicrosoft BizTalk Server 2006Tracking’ with following command:

Bm deploy-all –DefinitionFile:OrderMgmt.xlsx

I found out that there was no BAM Star database present, therefore I had to (re)configure BAM by enabling Analysis Services for BAM Aggragations. After doing that I did run command again and this time no failures (see picture). Next I opened up the OrderProcess.btt and Hands-on-lab excerise documenet describes how to create solution, definition, etcetera. I only was interested in creating tracking profile, apply it and finally deploy it with using following command:

Bttdeploy OrderProcess.btt


Command line tool found in the same directory as bm command line tool. Finally I tested to complete scenario, where I had to check if all ports were going to the correct file locations. I then stared the application inside BizTalk and copied PO xml file’s in folder, which was configured as receive location (Receive Port). I then looked at BAM Portal and a view vwSalesmanager was present, so tried a couple of things.

If you are familiar with BAM than most of this make sense and you will probably have some or a lot of experience with BAM. Those of you who are new to BAM or want to get to know it better, this training kit is very useful.


#1 Azure Monitoring Platform
Author: Steef-Jan Wiggers

Steef-Jan Wiggers is all in on Microsoft Azure, Integration, and Data Science. He has over 15 years’ experience in a wide variety of scenarios such as custom .NET solution development, overseeing large enterprise integrations, building web services, managing projects, designing web services, experimenting with data, SQL Server database administration, and consulting. Steef-Jan loves challenges in the Microsoft playing field combining it with his domain knowledge in energy, utility, banking, insurance, healthcare, agriculture, (local) government, bio-sciences, retail, travel, and logistics. He is very active in the community as a blogger, TechNet Wiki author, book author, and global public speaker. For these efforts, Microsoft has recognized him a Microsoft MVP for the past 8 years.


Back to Top