Install and Configure
BizTalk Server 2010 in a Standalone Machine
Enable Internet Information
Services
Microsoft
Internet Information Services (IIS) provides a Web application infrastructure
for many BizTalk Server features. BizTalk Server requires IIS for the following
features:
•SOAP
adapter
•Windows
SharePoint Services adapter
•Secure
Sockets Layer (SSL) encryption
•BAM
Portal
•Click
Start, point to Administrative Tools and then click Server Manager.
•In
Roles Summary, click Add Roles

•On
the Before You Begin screen, click next.
•On
the Select Server Roles screen, click Web Server (IIS).











Note:
BAM
Portal runs only runs on a 32-bit mode. If you are installing IIS on a 64-bit
machine then you must ensure that ASP.NET 2.0 is enabled on 32-bit mode. To do
this, follow these steps:




•On
the Application Pool Defaults dialog box, in Enable 32-bit applications, select
True

To
enable it from the command prompt: •Click Start, right-click Command Prompt,
and then click Run as administrator.
•At
the command prompt, type cd %windir%\system32\inetsrv, and then press Enter.
•Type
appcmd set config -section:system.applicationHost/applicationPools
/applicationPoolDefaults.enable32BitAppOnWin64:”True” /commit:apphost, and then
press Enter

2.Install Microsoft Office
Excel 2007 or 2010
Microsoft
Office Excel is required for using the Business Activity Monitoring (BAM)
feature in BizTalk Server. You use the BAM Office Excel Workbook to define the
business processes you want to monitor. You also use the BAM Excel Workbook to
define the way in which business users see the data collected by BAM.
Note: BizTalk Server 2010
supports only 32-bit version of Microsoft Office 2010.
The following procedure installs only Office
Excel. You can install additional Microsoft Office system applications and
tools if you wish, but they are not necessary to complete the installation of
BizTalk Server.
To install Microsoft Office Excel:
•Insert
the Microsoft Office installation disk into the DVD-ROM drive.
•When
you reach the Type of Installation screen, select Custom Install, and then
click next.


•Click
Install.
•On
the Setup Completed screen, click Finish.
Note: After installing the
office Excel and tools I like to do a Windows update, this step is not
necessary.
3. Install Visual Studio
2010
The
BizTalk Server development tools are based on Visual Studio 2010. Therefore, at
a minimum, you must have the Microsoft Visual C#® .NET portion of Visual Studio
2010 installed on your computer before installing the BizTalk Server Developer
Tools and SDK component.
Visual
Studio 2010 is not required if you are installing BizTalk Server on a production
computer (runtime only), on which no application development or debugging will
occur.
The BizTalk Server runtime components require
.Net Framework 4 and .NET Framework 3.5 SP1. In addition, the .NET Framework
3.0 is required if the Windows Communication Foundation (WCF) adapter or WCF
Interceptor is installed.
To install Visual Studio 2010:
•Insert
the Visual Studio 2010 installation disk into the DVD-ROM drive.
•Click
Install Visual Studio 2010.
•After
the installation loads, click next.
•On
the Start page, accept the license agreement, type your Product Key and any
other necessary information
•On
the Options page, select Custom, and then click next.

•Under
Select features to install, clear all features except Visual C#, and then click
install.

Important: Your
version of Visual Studio may include Microsoft SQL Server Express as an
optional feature. Do not install this feature, as it will cause BizTalk Server
setup to fail.
Note: VC++ recommend
to install because this is required in order to build the ESB toolkit samples.
Also, VB.NET must be installed in order to work with WF 4 in VS 2010.
•On
the Finish page, click Finish.
•On
the Visual Studio Setup screen, click Exit.
4. Install SQL Server 2008
R2
BizTalk
Server provides the capability to specify a business process and also a
mechanism by which the applications used in that business process can
communicate with each other. SQL Server is the main repository for this
communication mechanism. You must install SQL Server 2008 R2/SP1 (Enterprise
Edition is recommended).
Important:
BAM real-time aggregation (RTA) is not supported in SQL Server 2008 R2/SP1
Standard Edition. In order to use BAM RTA, you must install SQL Server 2008
R2/SP1 Enterprise Edition.
To install SQL Server 2008 R2:
•Insert
the SQL Server 2008 R2 installation disk into the DVD-ROM drive. The setup
program will begin automatically. If prompted for automatic installation of
prerequisite software, click OK.
•On
the SQL Server Installation Center, click Installation.
•Click
New Installation or Add Features to an Existing Installation.

•Review
the information on the Setup Support Rules screen, and then click OK

•On
the Product Key screen, enter your product key and click next.
•On
the License Terms screen, select I accept the license terms, and then click next.
•On
the Setup Support Files screen, click Install. ◦You will probably get a warning
for the Windows Firewall. That is because some ports needs to be opened if you
plan to access your SQL Server installation from outside.

•On
the Feature Selection screen, select the following features, and then click next.
.Database
Engine Services
◾SQL Server Replication
◾Full-Text Search
◦Analysis
Services
◦Reporting
Services
◦Shared
Features ◾Business Intelligence Development Studio
◾Client Tools Connectivity
◾Integration Services
◾Management Tools – Basic ◾Management
Tools – Complete







6. Install SQL Server 2005
Notification Services on top of SQL Server 2008 R2
If
you plan to use BAM Alerts in your BizTalk Server project, you must install SQL
Notification Services and its prerequisites on your BizTalk Server computer.
This SQL Server 2005 feature is not included in SQL Server 2008 R2/SP1, but you
can install it from the Microsoft Download Center.
To install SQL Server 2005
Notification Services
•Click
or navigate to the Feature Pack for Microsoft SQL Server 2005 – December 2008 http://go.microsoft.com/fwlink/?LinkId=154501
•Depending
on your platform, download the appropriate package from the following three
components: ◦Microsoft SQL Server Native Client ◾X86 Package (sqlncli.msi)
◾X64 Package (sqlncli_x64.msi)
◦Microsoft
SQL Server 2005 Management Objects Collection ◾X86 Package
(SQLServer2005_XMO.msi)
◾X64 Package (SQLServer2005_XMO_x64.msi)
◦Microsoft
SQL Server 2005 Notification Services Client Components ◾X86
Package (SQLServer2005_NS.msi)
◾X64 Package (SQLServer2005_NS_x64.msi)
To install Microsoft SQL
Server Native Client
You
need to execute the “sqlncli_x64.msi” file:
•On
the Welcome Screen click next.
•On
the License Terms screen, select I accept the license terms, and then click next.
•On
the Registration Information screen, enter your name and company in their
respective fields, and then click next
•On
the Feature Selection screen, select the following features, and then click next.
•Client
Components

7. Install Microsoft SQL
Server 2005 Management Objects Collection
You
need to execute the “SQLServer2005_XMO_x64.msi” file:
•On
the Welcome Screen click next.
•On
the License Terms screen, select I accept the license terms, and then click next.
•On
the Registration Information screen, enter your name and company in their
respective fields, and then click next
•On
the Ready to install screen, click Install.
8. Install Microsoft SQL
Server 2005 Notification Services Client Components
You
need to execute “SQLServer2005_NS_x64.msi” file:
•On
the Welcome Screen click next.
•On
the License Terms screen, select I accept the license terms, and then click next.
•On
the Registration Information screen, enter your name and company in their
respective fields, and then click next
•On
the Ready to install screen, click Install.
9. Install and Configure
Windows SharePoint Services
Windows
SharePoint Services is a collection of services for Windows Server which enable
you to share information, collaborate with other users on documents, and create
lists and Web part pages. For information and procedures on installing Windows
SharePoint Services, see Appendix A.
Note:
You do not need to install WSS if you do not also plan to install the WSS
adapter. However, if you are installing WSS, you must do it before continuing
with the rest of the BizTalk Server prerequisites.
BizTalk Server 2010 supports these two
versions of WSS:
•SharePoint
Foundation 2010
•Windows
SharePoint Services 3.0 with SP2
Installing and configuring
Windows SharePoint Services consists of the following procedures:
•Install
Windows SharePoint Services
•Configure
Windows SharePoint Services
•Extend
the Default Web Site as a virtual server
•Installing
Windows SharePoint Services Web Service Adapter BizTalk Server 2010/SharePoint
Foundation 2010
where
is explained in detail all the steps required to install and configure
SharePoint Foundation 2010 and SharePoint Services Web Service Adapter for
BizTalk Server 2010
Install Windows SharePoint
Services 3.0 with SP2
In
the following procedure you install Windows SharePoint Services 3.0:
•Windows
SharePoint Services 3.0 requires Microsoft .NET Framework 3.0, which must be
installed before beginning installation of Windows SharePoint Services 3.0. The
.NET Framework is available for download at http://go.microsoft.com/fwlink/?linkid=75053
Download the installation
package to a location on your hard disk.
•Locate
the package you just downloaded (SharePoint.exe), and then double-click the
package to start the setup.
•On
the End User License Agreement screen, select I accept the terms in the License
Agreement. On this screen and several others that follow, the setup wizard will
automatically move to the next screen when you have made your selection.











10. Extend the Default Web
Site as a virtual server
•Open
SharePoint Central Administration, and click “Application Management”

On
the Application Management Tab, click on “Create or extend Web application”

At
this point, normally I extend an existing Web application, this time I chose to
follow Kent Weare suggestion and create a new one using the port 90, so click
on “Create a new Web application”

I
have decided to create my Web Application in a new IIS Web site called
“SharePoint – 90”. I have done this so that I don’t overwrite or break anything
that may be living in my Default Web Site. I also have modified the port to be
“90” which means any requests to my WSS Site will need to have “:90” in the
url. If you do this then when you post or retrieve documents to/from SharePoint
from BizTalk that you will need to include this port number in your Receive
Location/Send Port configuration.
1.
On IIS Web Site options, select “Create a new IIS web Site”, set a description
and change Port to 90
2.
On Security Configuration options, set Authentication provider as NTLM

3.
On Load Balanced URL options, check if the URL as “:90”
4.
On Application Pool options, create a new application pool “Sharepoint – 90”

5. On Database Name and Authentication options,
appended “99” onto the Database Name that will be used for storing Content and
chose “Windows authentication” option
6. Click “Ok”
5.
You have now created the “shell” for this Web Application, but you still don’t
have any content in this Web Application. Click on the “Create Site Collection”
link. Remember to issue an “iisreset /noforce” command to complete the Web
Application creation process.
1. Open cmd and execute “iisreset/noforce”
2. Click “Create Site Collection”

On
Title and Description option, give your Site a Title, Description(if so
desired), on the Web Site Address option create a URL, and in the Template
Selection option select “Team Site” (Team Sites are generally a place where
team members can collaborate by publishing documents, but other features exist
such as Team Calendars, surveys, links etc.).

7.
On Primary and Secondary Site Collection Administrator option set a user. And
click “Ok” to finish


11. Disable the Shared
Memory Protocol
Under
certain stress conditions (such as clients accessing SQL Server from the same
computer), the SQL Server Shared Memory protocol may lower BizTalk Server
performance. You can resolve this problem by disabling the use of the Shared
Memory network protocol in the SQL Server Client Network Utility.
To disable Shared Memory protocol for SQL
Server:
•Click
Start, point to All Programs, point to Microsoft SQL Server 2008 R2, click
Configuration Tools, and then click SQL Server Configuration Manager.
•In
SQL Server Configuration Manager, expand SQL Server Network Configuration, and
then click Protocols for MSSQLSERVER.

Right-click
Shared Memory, and then click Disable.
Click
SQL Server Services, right-click SQL Server (MSSQLSERVER), and then click Stop.
After the service has stopped, right-click SQL Server (MSSQLSERVER) again, and
then click Start.

Close
SQL Server Configuration Manager
Validate and configure the
Application Event Log
This
is an important because:
•BizTalk
Server setup keeps a record of events in the Application Event Log. Depending
on the BizTalk Server features installed, the amount of space required in the
log may exceed its limit. If the application event log runs out of space during
BizTalk Server setup, the installation will fail.
•Also
in production you always want a rolling list of the latest events (information,
warnings or failures) and you don’t want that your Application Event Log
becomes massive in size.
However by default the Application
Event Log is already correctly configured:
•Maximum
log size (Kb): 20489 – that is 20 MB, which gives us a comfortable historic of
events
•And
the option “Overwrite events as needed (oldest events first)” is select, with
this option we prevent that the log to exceed its limits, avoiding installation
failures: ◦Typical error: Inner exception: The event log file is full

To
change settings in the Application Event Log:
•Click
Start, click Control Panel and then double-click Administrative Tools.
•Click
Event Viewer.
•In
the Event Viewer, expand Windows Logs.
•Right-click
Application and then click Properties. This opens the Log Properties dialog
box.
•To
see how much available space your log has, compare the Log Size field with the
Maximum log size field.
•To
provide more space in the event log, enter a higher number in the Maximum log
size field.
•To
enable overwriting of old events when the log becomes full, select Overwrite
events as needed.
•To
clear the log events, click Clear log.
•Click
OK, to close the Event Viewer
Samples
of BizTalk events in the Application Event Log

12.Installing and
Configuring BizTalk Server
When
you installed SQL Server, setup granted your account Database Administrator
rights. Since these rights are also required for installing BizTalk Server, you
must do one of the following:
•Use
the same account you used when you installed SQL Server.
•Make
sure the account you’re using now also has Database Administrator rights.
To install BizTalk Server
2010
•Close
any programs you have open.
•Insert
the BizTalk Server 2010 installation disk into the DVD-ROM drive.
•On
the Start screen, click Install Microsoft BizTalk Server 2010.

•On
the Customer Information screen, type your user name and organization, enter
your product key, and then click next.





•Accept
the default installation location or click Browse to move to the location where
you want to install BizTalk Server 2010, and then click next.
•If
your computer is missing a prerequisite component such as ADOMD.NET, Setup can
install the redistributable prerequisites. You can either: ◦Select automatically
install the redistributable prerequisites from the web
◦OR
Select Automatically install the redistributable prerequisites from a CAB file
if you have downloaded the CAB file. If you select this, you can then browse to
the location of the CAB file and select it.


•To
enable auto-logon after a system reboot, click Set and provide your logon
information. Auto-logon is enabled only for reboots during setup, and is
disabled when setup is complete.
•Click
Install to start the installation process.
•On
the Installation Completed screen, clear the Launch BizTalk Server
Configuration check box, and then click Finish.

13.Verify Your Installation
You
can check to see whether your installation was successful by using either
Programs and Features or the Registry.
To verify
installation using Programs and Features
•Click
Start, click Control Panel (View by: Large/Small icons), and double-click
Programs and Features.
•When
the list is fully populated, look for BizTalk Server 2010. If it appears in the
list, setup succeeded.
To
verify installation using the Registry
•Open
a command prompt.
•Type
regedit and then press Enter.
•When
the Registry opens, browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\BizTalk
Server\3.0
•If
files exist in the 3.0 folder, setup succeeded.
•Close
the Registry, and then close the command prompt.
Configure BizTalk Server
Use
the following procedure to complete a basic configuration of BizTalk Server.
To
configure BizTalk Server 2010 using Basic Configuration:
•Click
Start, click All Programs, click Microsoft BizTalk Server 2010, right-click
BizTalk Server Configuration, and then click Run as Administrator.

•In
the Database field, enter the name of the local computer.
•In
the Service Credential field, type the User name and Password for the account
that the BizTalk services will run under.

•Click
Configure.
•Note:
You may receive a warning if you enter a user name with administrative
credentials on this computer. Click OK to continue

•On
the Summary screen, review the configuration about to be performed, and then
click next, Don’t worry about Sharepoint


14. Setting up BizTalk –
SharePoint Adapter
We
now have the ability to configure the “SharePoint Adapter”. For that you must:
•Run
BizTalk Server Configuration

•On
the Configuration Screen, select the option “SharePoint Adapter” and use the
drop down list to select the WSS Site where you would like the adapter to be
installed, in this case “SharePoint – 90”.

•Assuming
everything is aligned correctly, you should now be able to click the “Apply
Configuration” button.
•On
the Summary screen, click “Next”


Congratulations
you have now BizTalk Server 2010 fully installed and working for the first
time! Only missing some configurations.

15. Installing BizTalk
Adapter Pack 2010
The
BizTalk Adapter Pack 2010 provides
connectivity to SAP, Oracle E-Business Suite, Siebel and SQL and Oracle
Databases. The BizTalk Adapter Pack can be installed in conjunction with, or
separately from, BizTalk Server.
The BizTalk Adapter Pack 2010 includes support
for new versions of the following line-of-business applications and databases:
SAP 7, Oracle EBS 12.1 and SQL Server 2008 R2. The Adapter Pack also provides
support for Visual Studio 2010 and .NET Framework 4.
It is included in both the Enterprise and
Standard Editions of BizTalk. When you install the adapter pack on x64
environment you have to perform a few steps. These steps were described in
earlier versions through installation guides. There is documentation to install
adapters pack, but now during installation one is guided through the necessary
steps.

This
is a definite improvement towards installing Adapter Pack on for instance x64
environment as shown on the screenshot above. So first step is installing WCF
LOB Adapter SDK and by clicking on the first step an installer of SDK is
launched

By
clicking next and selecting one of installation options the SDK is installed.
After installation you will see that first step is completed in the overall
process. Second step is installation of the Adapter Pack (x86). By clicking
Microsoft BizTalk Adapter Pack needs to be installed an installer is launched
again

After
installation of this pack the screen is updated again stating second step is
completed successfully.





I
recommend to always choose complete installation of SDK, Adapter Packs and
Microsoft BizTalk Adapters for Enterprise Applications. You have documentation
at your disposal. Going through this process you now have full set of adapters
ranging from new WCF Adapters to old (non-WCF) Adapters. Next step is adding
the appropriate adapters in BizTalk Administration Console

You
have to go navigate to Platform Settings –> Adapters and then right click
New –> Adapter.
Note: When installing the
adapter pack you do not see a new adapter show up under the Adapters folder or
in the drop down for Add new Adapter. The adapter pack installs new custom
bindings. The BizTalk "adapter" for instance for the Oracle database
shows up in BizTalk as the OracleDBBinding. The standard bindings are wsHttpBinding, netTcpBinding, etc.
OracleDbBinding and SqlBinding are themselves custom bindings.

You
can also download the interactive or normal poster of BizTalk Adapter 2010. The
BizTalk Adapter Pack is included with BizTalk Server 2010 and you can download
the BizTalk Server 2010 Evaluation if you want to try it out.
When completing this process you also have
installed all the prerequisites for AppFabric Connect. When starting a WCF
Workflow Service you will see BizTalk Mapper.

16. Configure BizTalk
Server SQL Jobs
By
default, the following BizTalk jobs aren’t configured and enabled upon
installation:
•Backup
BizTalk Server (BizTalkMgmtDb)
•DTA
Purge and Archive (BizTalkDTADb)
•MessageBox_Message_Cleanup_BizTalkMsgBoxDb
If
you want these functionalities you must configure and enabled them.

How to configure Backup
BizTalk Server (BizTalkMgmtDb)
This
Job consists of four steps:
•Step
1 – Set Compression Option – Enable or disable compression during backup.
•Step
2 – BackupFull – Performs full database backups of the BizTalk Server
databases.
•Step
3 – MarkAndBackUpLog – Backs up the BizTalk Server database logs.
•Step
4 – Clear Backup History – Specifies for how long the backup history is kept
Step
1 – Set Compression Option
This
job step calls a stored procedure named sp_SetBackupCompression on the BizTalk
management database (BizTalkMgmtDb by default) to set the value on the
adm_BackupSettings table.
0
represents - Do not use Compression, 1 - Use Compression, by default 0 will be
set
The original script is:
Exec
[dbo].[sp_SetBackupCompression] @bCompression = 0
Change the script to:
Exec
[dbo].[sp_SetBackupCompression] @bCompression = 1
Step 2 – BackupFull
‘d’
- represent – Daily Frequency
‘m’
- represent – Monthly Frequency
‘Y’
- represent – Yearly Frequency
‘BTS’
– represent – Default Back File Name
‘Destination
Path – represents – File Path
The original script is:
•exec
[dbo].[sp_BackupAllFull_Schedule] 'd' , 'BTS', 'Destination Path'
Change the script to:
•exec
[dbo].[sp_BackupAllFull_Schedule] 'd', 'BTS', 'Destination Path \BizTalk
Database\Full'
Step 3 – MarkAndBackUpLog
The
MarkAndBackUpLog step is responsible for marking the logs for backup, and then
backing them up.
The original script is:
Exec
[dbo].[sp_MarkAll] 'BTS' ,'Destination Path'
Exec
[dbo].[sp_MarkAll] 'BTS' ,'Destination Path',
1
Change the script to
Exec
[dbo].[sp_MarkAll] 'BTS' 'Destination Path\BizTalk Database\Logs'

Step 4 – Clear Backup
History
Exec
[dbo].[sp_DeleteBackupHistory] @DaysToKeep=14
Exec
[dbo].[sp_DeleteBackupHistory] @DaysToKeep=14 , @UseLocalTime =1
In
this particular case I like to leave the default settings.
You
can solve this problem by implementing you custom sp_DeleteBackupHistory:
•Start
SQL Server Management Studio, and then connect to the BizTalk Management
Database. By default, this database is named BizTalkMgmtDb.
•Click
New Query to open a Query Editor window.
•Run
the following Transact-SQL script to create the sp_DeleteBackupHistoryAndFiles
stored •Change the “Clear Backup History” step of the Backup BizTalk Server job
so that it calls the sp_DeleteBackupHistoryAndFiles stored procedure instead of
the sp_DeleteBackupHistory stored procedure.
17. How to configure DTA
Purge and Archive (BizTalkDTADb)
This
job automates the archiving of tracked messages and the purging of the BizTalk
Tracking database to maintain a healthy system and to keep the tracking data
archived for future use.
And it’s configured to call the stored
procedure dtasp_BackupAndPurgeTrackingDatabase, which uses the six parameters
you must configure in this job

Normally
I use these configurations for production environments:
•exec
dtasp_BackupAndPurgeTrackingDatabase 0, 10, 20, '',
null, 0
MessageBox_Message_Cleanup_BizTalkMsgBoxDb
Removes
all messages that are not referenced by any subscribers in the BizTalkMsgBoxDb
database tables.
18. Enable TCP/IP and Named
Pipes
To
facilitate transactions between SQL Server and BizTalk Server, you must enable
TCP/IP and Named Pipes in SQL Server.
To enable TCP/IP and named Pipes
•Click
Start, click All Programs, click Microsoft SQL Server 2008 R2, click
Configuration Tools, and then click SQL Server Configuration Manager.
•In
the left-hand pane, expand SQL Server Network Configuration.
•Click
Protocols for MSSQLSERVER.
•Verify
that both TCP/IP and Named Pipes are enabled. ◦If either is not, follow these
steps:
◦Right-click
the protocol, and then click Enable.
◦Note:
the ‘Shared Memory’ protocol should be disabled


19. Enable DTC on the Local
Host Server
To
facilitate transactions between SQL Server and BizTalk Server, you must enable
Microsoft Distributed Transaction Coordinator (MS DTC) on the Local Host Server
(LHS).
To enable Distributed Transaction Coordinator
(DTC) on the LHS:
•Click
Start, click Run, type dcomcnfg and then click OK to open Component Services.



Click
OK to close the Local DTC Properties dialog box. If prompted to restart the
MSDTC service
Click
Start, point to Administrative Tools, and then click Windows Firewall with
Advanced Security

In
Windows Firewall with Advanced Security, click Inbound Rules.
In
the Inbound Rules pane, right-click in all Distributed Transaction Coordinator
rules and then click Enable Rule


•Click
Start, point to Administrative Tools, and then click Services
•And
restart the following services: ◦Right-click COM+ System Application, click
Restart, and wait for the service to restart.
◦Right-click
and restart the Distributed Transaction Coordinator service.
◦Right-click
and restart the SQL Server (MSSQLSERVER) service.
•Close
Services window.
No comments:
Post a Comment