Professional Documents
Culture Documents
Chapter 1 - Backup and Recovery
Chapter 1 - Backup and Recovery
Chapter 1 - Backup and Recovery
Administering BizTalk Server 2010 is quite different than previous versions of BizTalk
Server. We have a new Administration Dashboard with new features and
functionality. Some of these features are.
Performance tuning
Ability to streamline our deployments across Environments.
Trading Partner Management
This chapter is all about Backup and Recovery.
We will discover that Backup and Recovery is a Team effort
We will learn about the steps involved to create a proper Backup Plan.
We will learn about the types of Backup Storage available.
We will discover open-source tools that will help you implement your
backups.
We will learn how to recover from a Disaster.
We will walk-thru actual Backup and Restore scenarios provided by
some of your peers
BizTalk 2010 Administration is a team effort. It involves many IT Roles; BizTalk
Server Administrator, BizTalk Applications Administrators, DBA’s, System
Administrators, Network Administrators, BizTalk Developers, System Analysts and
Business Analysts.
The key roles for the Backup and Recovery of a BizTalk 2010 Server Environment are:
The BizTalk 2010 Administrator Role has overall responsibility for the
BizTalk 2010 Server Environment.
The BizTalk Applications Administrator Role has the responsibility of
managing one or more BizTalk Applications.
The Database Administrator Role has the responsibility of
administering BizTalk SQL Servers.
The System Administrators Role the responsibility of administering the
Windows Server for the BizTalk 2010 Environment.
The Network Administrators Role has the responsibility of ensure
Networking ACLs between environments. And sometimes across
networks.
2
The Backup section provides us with the necessary steps to follow when creating a
Disaster Recovery Plan. Before we start creating our plan we need requirements.
These are normally defined within a Service Level Agreement (SLA) and/or Disaster
Level Agreement (DLA). Without this we cannot proceed.
3
Disaster Recovery Site
The Disaster Recovery Site is also referred to as the “Backup Site”. Wikipedia defines a
Backup Site as a location where an organization can easily relocate following a
disaster. There are three types of Disaster Recovery Sites.
Cold Site
Hot Site
Warm Site
Cold Site
The Cold Site is simply an offsite data center location where the BizTalk Environment
can be rebuilt. It does not contain backup or configuration data.
Hot Site
The Hot Site is a mirror of the BizTalk Environment. Real time synchronization exists
between the sites.
Warm Site
The Warm Site is a compromise between the Cold and Hot Sites. The Warm Site has
connectivity established between the sites. It has the basic hardware required to operate.
There is no Real Time synchronization between the sites. Backups are usually sent by
FTP or courier.
The following diagram shows the recommended steps to follow when selecting the
Disaster Recovery Site.
4
There are two steps we need to take.
1. Our first step is to decide the Type of Backup Site.
2. We have a choice of using either a Cold, Warm, or Hot Backup Site.
5
Essentially there are two step.
1. We must first determine when our backups will occur.
2. Then we need to decide who is responsible for each task. This can be the
Database, System, Application, or BizTalk Administrator.
6
The steps we take are as follows.
1. We must decide on the type of offsite location
2. We can use either a Remote Data Center, Third-Party Provider, or Cloud
Storage.
Typically we would use a file share or Source Control as the Storage Location.
The use of Team Foundation Server 2010 is a good example.
Note:
This Folder Layout would only be accessible to the BizTalk Administrators
Group. There would be separate folders for each BizTalk Environment
excluding Development.
7
The following table shows the recommended TFS 2010 Source Control Project Folder
layout for a BizTalk 2010 Production environment.
Base Folder Sub-Folder(s) Content
Project(Name) Assemblies Applications DLL
Project(Name) Bindings Application Bindings
Project(Name) BAM Tracking Profile BAM Tracking Profiles
Project(Name) BAM Activities BAM Activities
Project(Name) Referenced DLL Dependent DLL’s
Project(Name) Deployment Scripts Deployment Scripts
Project(Name) Documentation Project Documentation
Project(Name) Database Scripts Database Scripts
Project(Name) MSI MSI files
Project(Name) BRE Policies Project Policies
Project(Name) BRE Vocabularies Project Vocabularies
Project(Name) BRE Custom DLL Custom BRE Components
Project(Name) Services Custom Services
Project(Name) Components Custom Component DLL’s
Artifacts
Artifacts should be backed up and stored in the following TFS 2010 Source Control
Project Folder locations:
Artifact Storage Location Comments
8
Config
9
The SSO Key needs to be stored in a safe location.
Make a backup copy of the Master Secret and give it to a few top level IT officers
to store in a secure location. Ideally, you want someone who is not bound to
leave your company. Database Jobs
The following sql server jobs will need to be configured and monitored by the DBA Role.
These are the only SQL Agent Jobs that are not setup when BizTalk is configured. If
these jobs are not properly configured and enabled, it would be almost impossible to
restore our BizTalk Environment.
SQL Job Detail Comments
Backup BizTalk Server Job to backup BizTalk databases The Backup BizTalk
on a scheduled basis. Databases Server job does not delete
backed up by this job are: outdated backup files, so
1.) BizTalkMsgBoxDb we need to manually
manage those backup
2.) BizTalkMgmtDb
files to conserve disk
3.) BizTalkDTADb space.
4.) BAMPrimaryImport
5.) BAMAlertsNSMain After we have created a
6.) BAMAlertsApplication new full backup of our
databases, we should
7.) BizTalkRuleEngineDb move the outdated
8.) SSODB backup files onto an
archival storage device to
reclaim space on the
primary disk.
10
The Backup BizTalk Server job needs to be configured before enabling it.
Configuring the Backup BizTalk Server job
Open the properties of the Backup BizTalk Server (BizTalkMgmtDb) job in SQL
Server Management studio and edit the job’s properties. The main configuration to make
is setting up the four job steps according to our backup needs:
Before configuring this job, we must decide on how we are going to set the four step
parameters. We can accept the default settings, which will work well for most
implmentations. As our needs change, we can modify these settings later.
Set Compression Option Step: This step will configure the job to
apply compression or not to the backups. The default value for its
parameter is 0 (compression off). To enable compression, we set it to 1
as shown in the following figure.
11
Backup Full Step: This step executes the actual full backup generation.
Its parameters are
Frequency: specifies how often full backups are taken. The
possible values are d (daily), h (hourly), w (weekly), m (monthly),
or y (yearly).
Name: The name that will be given to the backup files
Location of backup files: The path where backup files will be
stores. It´s recommended setting it to a network share outside of
the server where the databases are hosted.
Force full backup after partial backup failures: It´s default
value is 0 (no full backup forced until the next scheduled
12
backup). With a value of 1, a full backup will be taken in case a
log backup fails.
Local time hour for the backup process to run: The time of
the day when the full backup will be taken. A value of null,
means that it will be taken at midnight UTC time. If a numeric
value is configured (0 -23), it will make the backup to be taken
by that hour on the server time zone.
The following figure shows the Job Set Properties for Backupfull.
MarkAndBackup Step: This step is the one that will mark the logs for
backup (so the mark between the different databases is consistent) and
then backing them up. We will set the name that will be given to the
13
backup files, and the destination path where they will be stored as shown
in the following figure.
Clear Backup History Step: This step will clean up old backup files.
Its single parameter configures the amount of days log files will be kept
as shown in the figure below.
14
Automating the Backup process
There are several tools available on Codeplex that simplifies the backup process. We can
easily use these tools to help automate our backup process.
BizTalk Backup Tool and BizTalk Environment Config Loader
The “BizTalk Backup Tool” and the ”BizTalk Environment Config Loader”
tools were developed by Rudolf Henning. We can read more about Rudolf in
Appendix B- Scenario Contributors.
Rudolf describes both these tools and how they are used:
15
The BizTalk Backup Tool
The BizTalk Backup tool is intended to assist a BizTalk Administrator to create
a 'snap-shot' of the config of the BizTalk environment at that moment of time.
Typically it should be part of a scheduled daily/weekly maintenance script.
16
Command line parameters
Usage: BTSBackup.exe [-config:path] [-comp:path] [-envconfig:path]
[-apps:path] [-bind:path] [-track:path] [-log] [-
btsdir:installdir]
Where
config - Back up BTSNTSvc.exe.config files to path
comp - Back up components (pipeline and messaging)
envconfig - Generate BtsAdminConfiguration.xml file to path
apps - Export all application MSI's to path
bind - Export all application binding files to path
track - Back up custom tracking(BAM) related files to path
log - Write outout to log file (BTSBackup.log)
btsdir - Installation directory of BizTalk
Path details
path - May contain macros like {yyyy-MM-dd}
Allowed macros
yyyy-MM-dd
dd-MM-yyyy
MM-dd-yyyy
yyyyMMdd
ddMMyyyy
MMddyyyy
17
Purpose
When managing multiple BizTalk environments it is often a headache to keep
them in sync. This tool was created to automate the setup of a BizTalk
environment after the initial install and configuration (the normal
configuration wizard provided by Microsoft). This way you can ensure that
development and testing environments are the same as the production
environment.
How does it work
The tool makes use of WMI to create or remove objects in the BizTalk group. It
must run locally on one of the servers of the BizTalk group in question. It takes
an XML file as input that specifies how the environment must be configured.
For host instances you can specify the account and password the service must
run under or alternatively you can specify a default user name and password as
parameters when running the utility.
It can configure the following objects:
Hosts
Host instances
Adapters
Adapter receive handlers
Adapter send handlers
For each type of object you can specify whether to add or remove it. It
processes the XML configuration file by Hosts first, then Host instances and
then Adapters with their send and receive handlers.
Configuration
You specify the settings needed to configure BizTalk within the XML
Configuration File. The following attributes can be used:
Hosts
hostname - Name of the hosts
ntgroupname - User group associated with this host
isdefault - is it the default host? (true/false)
hosttracking - is it a tracking host? (true/false)
authtrusted - trusted host (true/false)
hosttype - type of host (1 - In-Process, 0 - Isolated)
ishost32bitonly - is it a 32-bit only host (true/false)
Host instances
servername - name of the server
hostname - name of the host
18
username - account under which instance will run (can be left blank if default is
specified)
password - password for the account (can be left blank if default is specified)
startinstance - should the instance be started automatically (true/false)
Adapters
name - name of adapter
type - type description
comment - any comments about the adapter
Receive handler
hostname - host name that will service this handler
Send handler
hostname - host name that will service this handler
The following is a sample configuration file:
<BtsAdminConfiguration>
<Hosts>
<Host hostname="NewHostName" ntgroupname="BizTalk Application
Users" isdefault="false" hosttracking="false"
authtrusted="false" hosttype="1"
ishost32bitonly="True"/>
</Hosts>
<HostInstances>
<HostInstance servername="." hostname="NewHostName"
username="" password="" startinstance="true"/>
</HostInstances>
<Adapters>
<Adapter name="FILE" type="FILE" comment="FILE adapter">
<ReceiveHandler hostname="NewHostName"/>
<SendHandler hostname="NewHostName"/>
</Adapter>
</Adapters>
</BtsAdminConfiguration>
19
config file : BizTalk XML configuration. Default
BtsAdminConfiguration.xml
-r : Remove previous settings first
-u: : Default username used to run host instances
-p: : default password used to run host instances
Similarly you can set up a tracking option xml file to enable/disable just
some/all tracking options so that you can run it at a moment's notice.
The BizTalk Application Comparer Tool can be downloaded from
biztalkappcompare.codeplex.com/
Backing Up IIS 7
Backing up IIS7 configuration is quite simple. We just copy the
\windows\system32\inetsrv\config directory (and subdirectories) into a backup
directory.
IIS 7 provides us with a command line tool, AppCmd.exe
1. To use it we open an Command Prompt
2. We then enter %windir%\system32\inetsrv\appcmd.exe add
backup "My Backup Name" where “My Backup Name” is the name of
your backup.
Alternately, we could automate the process by using a PowerShell Script.
Included with IIS 7 is a feature called IIS 7.0 Configuration History
This tool creates snapshots of our IIS 7 Configuration.
21
System Operations Manager 2007 R2 (SCOM)
If we are using System Operations Manager R2 to monitor our BizTalk Environment, it is
critical to backup our SCOM Environment. This is especially true if we have created a
new Management Pack for your customizations.
We will address these customizations in Chapter 3 – Monitoring
Besides the BizTalk 2010 Management Pack, we could have the following Management
Packs installed:
Microsoft Windows Base Operation System
Microsoft Windows Server Clusters (if clusters are used)
Network Load Balancing
Microsoft Windows IIS
Microsoft SQL Server
Optional: BizTalk Server RFID 2010 Management Pack
Aman Dhally has contributed the following scenario from his blog, “SCOM
Admins” opsmgradmin.blogspot.com/ on Backing Up System Center
Operations Manager 2007 R2. We can read more about Aman in
Appendix B – Scenario contributors.
23
ACS Database - The Audit Collection Services (ACS) database,
OperationsManagerAC, is the central repository for events and security logs
that are collected by ACS forwarders on monitored computers.
24
4. Then right click it and choose “Export management pack”
When restoring your folder, make sure we don’t restore the “Health Service
State” folder.
It’s a good idea to Incorporate these steps into a DTS package, and schedule the
package to run on a regular basis. To ensure data integrity, make sure no other
25
BAM cubing or data maintenance DTS packages run when this backup package
is scheduled to run
If we are not using SCOM R2 for monitoring the BAM SSIS Packages and SSIS
Logging is enabled, the sysssislog table will be populated with hundreds of records
every time the BAM SSIS package is executed. The growth of this table could have an
adverse effect on performance.
We have two options. We Disable SSIS Package Logging or Implement Circular Logging
in BAM SSIS Packages
These options are described in depth on the following blog post:
blogs.msdn.com/b/asgisv/archive/2010/02/17/best-practices-for-
configuring-bam-data-maintenance-and-cube-update-ssis-packages.aspx
Backup Schedule
It is a Best Practice to implement a Backup Schedule. The following is a schedule of the
backup procedures.
Component Schedule Responsible
Resource/Role
BizTalk configuration files Whenever changes occur BizTalk Applications
It is recommended to backup on a Administrator
weekly or monthly schedule
BAM Portal (IIS configuration) Whenever changes occur BizTalk Applications
Administrator
26
Software Update Log Whenever changes occur Database Administrator
27
To set up the Log Shipping process, we need to run certain sql scripts on the DR site SQL
Server and modify some configuration files that will be used during the recovery process.
1. In SQL Server Management Studio, connect to the DR site SQL
server instance
2. Open the script file that can be found on the following path on any
server where BizTalk Server 2010 is installed
%SystemDrive%\Program Files\Microsoft BizTalk Server 2010\S
chema\LogShipping_Destination_Schema.sql
3. Run the script. It will drop and recreate the tables that are required to
restore the source databases during the recovery process.
4. Open the script file that can be found on the following path on any
server where BizTalk Server 2010 is installed
%SystemDrive%\Program Files\Microsoft BizTalk Server
2010\Schema\LogShipping_Destination_Logic.sql
5. Run the script. It will create all the logic (stored procedures, etc.) that
will actually handle the Log Shipping process.
6. Configure the Log Shipping logic parameters by running the
following script (replacing replace <MyLogShippingSolution> with
a meaningful description, and
<BizTalkServerManagementDatabaseName> and
<BizTalkServerManagementDatabaseServer> with the name and
location of your source BizTalk Management database):
exec bts_ConfigureBizTalkLogShipping @nvcDescription =
'<MyLogShippingSolution>',
@nvcMgmtDatabaseName =
'<BizTalkServerManagementDatabaseName>',
@nvcMgmtServerName =
'<BizTalkServerManagementDatabaseServer>',
@SourceServerName = null, -- null indicates that this
destination server restores all databases
@fLinkServers = 1 -- 1 automatically links the server to the
management database
28
9. Save the SampleUpdateInfo.xml file in a safe location, as it will
be needed during the recovery process.
Documentation
Having current documentation of our BizTalk 2010 Environment is critical. Our
documentation should include the following:
BizTalk 2010 Enviroment
BizTalk 2010 Installation
BizTalk 2010 Server Configuration
BizTalk Applications
o Orchestration
o Maps
o Pipelines
o Schemas
o Custom components
Business Rules
Bam
Trading Partner configuration
SSO
SSO Affiliate Applications
Custom Databases
ESB Portal Customization
UDDI
29
The BizTalk SSO Configuration Data Storage Tool can be used to store your
secure data. It also allows importing and exporting your Configuration.
4. BizTalk Config Explorer: configexplorer.codeplex.com/ The BizTalk
Configuration Explorer will help automate the creation of your technical
documentation. It does this by extracting your configuration data for the
following artifacts:
Receive Ports
Send Ports
Orchestrations
Maps
Schemas
Pipelines
Assemblies
5. Environment Settings Manager: http://envsettingsmanager.codeplex.com/ The
Environment Settings Manager uses an Excel spreadsheet and a command-line
export utility to store your configuration data.
6. Collection of Visio 2010 Stencil for BizTalk Server: This is a collection of 37 Visio 2010
shapes for representing BizTalk physical architectures or solutions diagrams in Visio 2010
available on Microsoft TechNet Gallery.
gallery.technet.microsoft.com/Collection-of-Visio-2010-30fcaa43
7. PowerShell/SQL Script: there are many available on TechNet gallery
8. BizTalk Integration Auditing Framework: http://biaf.codeplex.com/ The BizTalk
Integration Auditing Framework will provide you with the ability to Audit your
BizTalk Environment. It uses a SQL Database to store your audit data.
9. Scenarios: When creating the plan, we need to take in the different scenarios that could
affect our environment. Essentially, there are two types of Environments.
Stand-alone: BizTalk 2010 Standard Edition
Clustering and Load Balancing: BizTalk 2010 Enterprise
EditionStand-alone Scenario
The Stand-alone scenario is based upon a single BizTalk 2010 Standard Edition Server.
The environment consists of BizTalk 2010 Standard Edition and SQL 2008 R2 Standard
Edition hosted on a physical Windows 2008 R2 Standard Edition Server
The steps provided in the On-site Backup Section apply to this scenario. The only
exception is the location for backing up the BizTalk Databases.
Database Backup Storage Locations
The steps we take are as follows.
30
1. Create new folders to store the Backup and Archives. Preferably this should be
on a UNC Share or a secondary drive.
2. Assuming you have a secondary drive D:\, create a new folder named
“D:\SQLBackUp”.
3. Add three new sub-folders; “Data”, “Logs”, and “Tracking”.
Our folder structure will look like this
31
BAM Portal
BizTalk Disasters
Microsoft BizTalk Server is a really powerful product, incredibly well architected and
made up of multiple components that work together to fulfill our integrations needs, but
just because of that many things can break down at some point. On the next pages we will
be depicting the main situations where something can go wrong and the techniques and
procedures we can apply to get everything up and running again.
There are two main areas we can identify in BizTalk architecture, the Runtime tier and
the SQL tier. Each of these have their own subcomponents and so there are different
scenarios that we should be ready to confront when any of those pieces fail. The disasters
could vary from a SAN unit where our database files are stored becoming unavailable, to
32
one of our BizTalk runtime servers not being able to start its corresponding host instances
or even the whole environment becoming unavailable due to a network infrastructure
issue.
Though we could design different procedures to address the different disruptions our
system can experience (specific components/services failures), it’s much easier and cost
effective to swap to the Disaster Recovery site during any outage and so have a common
approach well understood by the different teams involved.
During a disaster situation there will be different phases we will go through until our
system is stabilized back to normality, and each of those will require different tasks and
procedures to be executed in order to smoothly transition from one phase to the other.
These phases will range from the moment where the issue is identified, going through the
phase where the Disaster Recovery procedures are applied to reestablish the system
stability as much as possible and finally, in certain scenarios, switching back to the
original state of the system by reverting the Disaster Recovery measures.
33
An email alert being sent from our SCOM monitoring system
But before panicking we need to access the impact of the issue and if the situation really
requires the Disaster Recovery measures to take place:
The following diagram shows the steps we need to follow:
On certain disaster situations, we might find that only the throughput of our system could
be slightly impacted (e.g. in high availability architectures, if just one of our BizTalk
runtime servers is impacted, the load will be still handled by the rest of the servers that
are still working), or certain “non business critical” areas might not be available, so there
are good chances that we might not need to go through the whole disaster recovery
process but just fix the issue as needed.
If the disruptive event significantly impacts our system stability or the business processes
it supports, a crisis meeting must be held with the appropriate individuals to agree on the
timeline and actions to take to address the issue. The decision board for that meeting
should be composed by the stakeholder of the teams directly involved in the DR process.
Example roles for the board are:
Business Users representative
Architecture team representative
BizTalk Administrators representative
Database Administrators team representative
System Administrators team representative
BizTalk Development team representative
34
Network Administrators team representative
Runtime Tier
This represents the BizTalk servers where messages reception, transmission and
processing take place. We must ensure that all the assemblies, configurations and artifacts
from the live environment are present on the recovery site. Depending on the change
management processes we have in place in our organization, our DR site could be or not
be 100% in sync with the live site, so we should have a checklist in our DR plan to ensure
the DR site is configured as required.
36
Our ability and promptness to be able to do so will heavily rely on the backup and change
management processes we have in place. By following the practices described earlier on
the “Automating the Backup Process” section, it will be easier to ensure our disaster
recovery site is ready to be activated.
The Disaster Recovery plan should include a detailed checklist of the different artifacts
and configuration elements that should be synched between the Live and the DR site.
In any case, there’s a high level list of tasks that should be addressed when restoring a
BizTalk Server runtime server, with slight differences depending on the BizTalk edition
being used:
Note
37
On 64-bit computers, browse to the following folder:
%SystemDrive%\Program Files (x86)\Microsoft BizTalk
Server 2010\Bins32\Schema\Restore.
This script updates all tables that store information about the location of other
databases. The location of each database (and its corresponding server) is defined
in the SampleUpdateInfo.xml file that we modified when we configured the
Log Shipping process.
38
If EDI is configured, then navigate to %SystemRoot%\Program
Files\Microsoft BizTalk Server 2010\Schema\Restore and
open the SampleUpdateInfo.xml file for editing. Add the following text in the
<OtherDatabases> section
<Database Name="MsEDIAS2" oldDBName="old dta db name"
oldDBServer="old dta server" newDBName="new dta db name"
newDBServer="new dta server" />.
Note
39
7. Restart all of the BizTalk Server services. For more information about
how to restart the BizTalk Server services, see How to Start, Stop, Pause,
Resume, or Restart BizTalk Server Services.
Recover Enterprise Single Sign-On (SSO)
Before starting the process of recovering the SSO:
We must be logged on as a member of the Single Sign-On Administrators group
and a member of the Administrators group to perform this task.
We must have the password used to generate the master secret key backup file.
All databases are intact on the remote server.
The backup master secret file (generated during the BizTalk Server configuration
process) is intact and stored in a safe place.
1. The steps to actually recover the SSO are: Click on Start| All Programs |
Microsoft BizTalk Server 2010 | BizTalk Server Configuration.
2. In Microsoft BizTalk Server Configuration, in the console tree, click on
Enterprise SSO.
3. In the details pane, select Enable Enterprise Single Sign-On on this computer,
and then click on Join an existing SSO system.
4. In Data stores, enter the name of the SQL server hosting the SSO database and
the name of the SSO database.
5. In Windows service, enter the user name and password for the SSO service
account that you used when you originally installed and configured BizTalk
Server.
6. Click on Apply Configuration.
7. A warning that no master secrets were retrieved is displayed. You can use Event
Viewer to verify that the Enterprise Single Sign-On service is now started and
running on the computer.
8. Click on File | Exit.
9. Click Start | Run, type cmd, and then click on OK.
10. At the command prompt, type:
cd Program Files\Common Files\Enterprise Single Sign-On
40
where <backupfile> is the name of the master secret file that you backed up.
12. When ssoconfig prompts you for the backup file password, enter the password
that was specified during SSO configuration. If the password is correct,
ssoconfig displays the following message:
13. The operation completed successfully
For the Standard Edition, we will have to restore the server configuration by using the
RestoreConfig.vbs script and the configuration file we should have exported
previously from the Live site BizTalk server “Microsoft BizTalk Server Configuration”
tool.
Recover the BizTalk Server Configuration
We will follow the previous steps to restore BizTalk group. We will have to restore the
BizTalk Server configuration on each remaining BizTalk Server. We need to take good
care of restoring the right exported configuration to the right BizTalk Server just in case
our BizTalk servers play different roles in our architecture.
41
Apart from the BizTalk Server configuration, there are other configurations we must
ensure are in synch with the Live Site. To do so, we will restore our hosts, hosts
instances, adapters and adapter handlers configuration using the
BtsAdminConfiguration.xml file generated with the “BizTalk Backup Tool” during
our regular backup processes.
Any other settings and customizations that our BizTalk servers could have gone through
(BTSNTSvc.exe.config file customization, specific IIS settings…) must be confirmed
and re-applied if needed into our DR site. Depending on the maturity of our Change
Management processes, all those changes might be already in place in our DR site, but in
any case those must be included in our Disaster Recovery procedures checklist mentioned
before, to ensure we don’t find any inconsistencies that could impact our system’s
behavior.
Recover BizTalk Applications and artifacts
We will use the MSI files generated with the “BizTalk Backup Tool” to restore all the
assemblies and artifacts that make up our solution to the version that our live
environment was running when it broke down.
Recover IIS and the BAM Portal
Even If we don’t use BAM in our environment, this step is important as we will be
recovering the whole IIS configuration to have any other web sites our architecture might
be composed of up to date in terms of configuration.
Being the name of the IIS backup we take during our backup processes
2. On each application pool in IIS, set the credentials that each of them must run in
behalf of.
3. Start all the application pools
42
We need to define and detail the steps to take in this case and include them within our DR
documentation. A high level script for this process would be:
43
Summary
In this chapter, we have learned about the Roles and Steps it takes to Backup and Restore
our BizTalk 2010 Server Environment. We also learned about the use of Team
Foundation Server 2010 Source Control as our On-Site Backup Repository.
We were introduced to several third party tools that can help us automate our Backup and
Restore Process. And, we discovered the importance of backing up System Operations
Manager 2007 R2.
We also went through all the main processes that we will have to execute in case our Live
environment suffers any kind of disruptive event requiring us to swap to the Disaster
Recovery environment.
In the next chapter we will learn how to take advantage of the features BizTalk Server
provides to implement High Availability and make our environment resilient enough to
continue running in the event of a downtime.
44