BizTalk Server 2009 : Deploying a BizTalk Solution (part 3) - IMPORTING A BIZTALK APPLICATION
3. Typical Deployment Cycle
In the previous sections, you learned how to deploy a BizTalk solution manually and using the MSI export and import method. In this section, you will learn how to move a BizTalk application from the development environment all the way to production using the steps outlined in the preceding two sections. There are five main steps to move an application from one environment to another:
Deploy assemblies from BizTalk solutions using Visual Studio 2008: In this step, the BizTalk developers deploy a BizTalk solution on their development environment. This means to both GAC the files locally as well as to deploy the bits to the Configuration database. Once the developers have tested their BizTalk application adequately, they proceed to the next step.
Add BizTalk artifacts to the deployed BizTalk application: In this step, the BizTalk developers or the integrators add artifacts to the BizTalk application in order to deploy their solution to another environment or BizTalk Server Group. Typically, this step involves creating new binding files specific to the next target environment, adding processing scripts to automate as much as possible the installation of the BizTalk MSI application to the next target environment, and adding any other BizTalk artifacts (like certificates and readme files) necessary on the target environment.
Export the BizTalk application to an MSI file: In this step, the developers or the integrators proceed to export the complete BizTalk application to an MSI file using the BizTalk Administration Console or the BTSTask command-line tool. They will have to decide whether or not they want to create one or more MSI packages and what BizTalk artifact they want to include in them.
Import and install the MSI file: Once the MSI package or packages are ready, it is time to import and install them on the target environment. The MSI file will register all BizTalk artifacts in the target environment's BizTalk Management Database. It will also copy and register in the GAC or in the Windows' registry all .NET assemblies and COM libraries on the BizTalk servers where the packages are installed. Please keep in mind that you must install the MSI file on each BizTalk server in a BizTalk Server Group.
Start the application and verify that it is functioning correctly: At this point, the BizTalk developer or integrator starts and tests the newly installed BizTalk application. Once that person is satisfied with the results, he can repeat steps 2 through 5 to deploy the BizTalk application to other staging environments until he eventually releases the BizTalk application to production.