Logo
PREGNANCY
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Server

BizTalk 2009 : Host Integration Server 2009 - Performance Testing and Tuning

6/15/2011 11:47:32 AM
Performance has never been as critical as it is today. The compelling need to get the most out of our resources has led Microsoft to improve the mechanisms available to conduct performance testing and also performance tuning.

The concept of measuring performance is very much like that of addressing security. Performance has to be addressed in several layers. In mainframe integration scenarios, you should start from the mainframe layer, and then you can move to the Network layer, the Services layer, and finally to the Application layer. The fact that every layer has its own characteristics and constraints makes planning for thorough and successful performance testing and tuning a required activity.

1. Performance Testing

When working with Transaction Integrator, we recommend using the Microsoft Visual Studio Test Edition. Although many tools are available for performance testing, Microsoft Visual Studio Test Edition is the one tool that integrates best with .NET servers. By using it, you can create test scripts to stress your application. You can stress test TI objects published as web services and as WCF services, and you can also test their web consumer applications. To target BizTalk applications that consume TI objects or that use the BizTalk Adapter for Host Applications, you can also use LoadGen. Remember that the BAHA runtime captures the data sent from the BizTalk Messagebox database and sends it to the Transaction Integrator runtime. From there you can create your own custom message creator implementing the IMessageCreator interface and generate as many input instances as you need.

1.1. Performance Counters

Once you decide which approach you will follow to stress Transaction Integrator, then you have to define which performance counters you will collect. Yes, you are right; we're skipping the part of the service-level agreement (SLA) definition because that will entirely depend on your architecture. Host Integration Server includes numerous counters for the different roles that can be deployed. The use of the Host Integrator performance counters will allow you to capture critical data about multiple elements of your solution, including variables such as the time that it takes a transaction to go to the mainframe and back to the client application or the time that applications like BizTalk Server take to call TI objects.

For instance, for the CICS link programming model, we recommend the following counters for the SNA Gateway server role:

  • SNA Connections: Throughput Bytes/Sec

  • SNA Logical Unit Sessions: Throughput Bytes/Sec

  • SNA Logical Unit Sessions: Data Bytes Received/Sec

  • SNA Logical Unit Sessions: Data Bytes Transmitted/Sec

  • SNA Adapter adaptername: Throughput Frames/Sec

  • SNA Adapter adaptername: Connection Failures

  • SNA Adapter adaptername: Successful Connects

And for the Transaction Integrator server role, we recommend the following:

  • App Integration WIP\Average method call time

  • App Integration WIP\Cumulative calls

  • App Integration WIP\Host resp time CICS link

  • App Integration WIP\Link calls/sec

  • App Integration WIP\Total errors/sec

  • App Integration WIP\Bytes received from an SNA host/sec

  • App Integration WIP\Bytes sent to an SNA host/sec

Ultimately, the selection of the performance counters will depend on your specific needs. The list of counters provided here is suggested for an architecture using TI nodeless servers and SNA Gateway servers.

NOTE

You can find detailed information about the performance counters available for Host Integration Server at http://msdn.microsoft.com/en-us/library/aa771453.aspx.

1.2. IBM RMF Monitor

One way to monitor mainframe performance is through the use of the IBM RMF Monitor. It performs post-processing and online monitoring functions. It is accessible from TSO and among other things can monitor the VTAM address space and performance relevant data in a z/OS environment.

Figure 1 shows the main options for RMF Monitor. For details on how to use it, you can read the IBM Redbook entitled "SG24-7110-00 z/OS Diagnostic Data Collection and Analysis."

Figure 1. RMFMON available from ISPF

2. Performance Tuning

There are a few recommendations from a performance standpoint that we would like to high-light. Some of them are also available at http://msdn.microsoft.com/en-us/library/aa745251.aspx.

2.1. APPC

The following recommendations apply when working with the APPC API and/or SNA aliases:

  • Pre-activate the LU 6.2 sessions: This will prevent a short delay in establishing new LU 6.2 sessions. Sometimes the mainframe preactivates the sessions, which may cause a short delay in the Host Integration because the mainframe is actually deciding when to serve the request.

  • Perform SNA link tuning: This should be performed depending on the type of network used. For IP-DLC, we recommend validating the advanced settings in the IP-DLC Link Service with the mainframe team.

  • SNA load balancing: Although this is not a tuning activity, we recommend the use of APPC load balancing for fault tolerance and redundancy.

2.2. Transaction Integrator

The following performance improvement recommendations apply when working with Transaction Integrator:

  • Tune the Remote Application (Mainframe TP): This should be performed by the mainframe team.

  • If you are not using 2PC, configure the TI component as Does Not Support Transactions so that 2PC is not attempted: The same applies for the BAHA configuration. Verify that the Use Transactions property is set to No if you are not using transactions.

  • It is very important to tune the network: Host Integration Server performance is very impacted by the number of hops between the mainframe and it. If you cannot have the Host Integration Server located in the same switch where the mainframe is connected to, then try to minimize the number of hops between them. Something additional you will have to analyze is whether the network switches are set up to half-duplex or full-duplex. Work with the network engineers to analyze Netmon traces and to troubleshoot any possible bottleneck.

2.3. Session Integrator

For Session Integrator transport, we recommend the use of the SNA transport (DLC or IP-DLC) over TN3270 to maintain 100% reliability of the 3270 conversation.

2.4. BizTalk Adapter for Host Applications

From a performance standpoint, we recommend you create a new send handler and configure the HostApps adapter to use it. By doing this, you can set up the HostApps adapter to run in a host instance other than the default BizTalkServerApplication one. By doing that, you avoid having the HostApps adapter in competition with resources designated for orchestrations and other in-process resources. Likewise, if you have more than one server available, you can create more host instances for the HostApps adapter. Doing so will improve the BAHA throughput and also will provide redundancy for your solution. Figure 2 shows a BizTalk Server solution with two BizTalk Servers hosting two BAHA host instances.

Figure 2. SNAHost hosts for SNANODE and SNABACKUP servers in SNAHUB BizTalk Server group
Other -----------------
- BizTalk 2009 : Host Integration Server 2009 - Two-Phase Commit
- SQL Server 2008 : Automating Routine Maintenance - Maintenance Plans
- SQL Server 2008 : SQL Server Agent (part 2) - Jobs & Proxies
- SQL Server 2008 : SQL Server Agent (part 1) - Operators, Enabling SQL Server Agent Notifications & Alerts
- Windows Server 2008 R2 : Install Internet Information Services (part 2) - Install IIS on Windows Server 2008 R2 Core Server & Windows Server 2008 R2 Web Edition
- Windows Server 2008 R2 : Install Internet Information Services (part 1) - Understand Internet Information Services Role Services
- Microsoft Dynamics CRM 2011 : Sharing Accounts and Contacts with Other Users
- Microsoft Dynamics CRM 2011 : Deactivating and Activating Records
- Introducing SharePoint Mobile in 2010 (part 3) - Mobile Search & Mobile Views
- Introducing SharePoint Mobile in 2010 (part 2) - Microsoft Office Web Applications
- Introducing SharePoint Mobile in 2010 (part 1) - Microsoft Office Mobile 2010 & SharePoint Workspace Mobile 2010
- Migrate Roles to Windows Server 2008 R2
- BizTalk 2009 : Host Integration Server 2009 - BizTalk Adapter for Host Applications
- BizTalk 2009 : Host Integration Server 2009 - Session Integrator
- SQL Server 2008 : Database Mail (part 2) - Configuring, Sending, Cleanup Procedures Database Mail Using T-SQL
- SQL Server 2008 : Database Mail (part 1) - Database Mail Configuration Wizard
- SQL Server 2008 : Monitoring Your Server - Using Server-Side Tracing
- BizTalk 2009 : Host Integration Server 2009 - Security
- Microsoft Dynamics CRM 2011 : Attaching Files to Accounts and Contacts
- Upgrading to SharePoint 2010 : Performing Post-Upgrade Configurations
 
 
Most view of day
- Adobe Dreamweaver CS5 : Using Library Items and Server-side Includes (part 6) - Applying Server-Side Includes
- Windows Server 2012 : Managing Users with Local Security and Group Policies (part 3) - Troubleshooting Group Policy Applications
- Microsoft Lync Server 2013 : Deploying Lync Online - Configuring Dial-in Conferencing, Configuring Lync Properties for User Accounts
- Integrating SharePoint 2013 with the Office Applications (part 10) - Microsoft Outlook - Lists and Libraries
- Microsoft Lync Server 2013 : Deploying Lync Online - Configuring Lync-to-Phone, Creating a SIP URI Dial Plan
- Microsoft OneNote 2010 : Doing Research with Linked Notes (part 1) - Beginning a Linked Notes Session
- Extending Dynamics GP with Free Software : Extending Dynamics GP with the Support Debugging Tool, Coloring windows by company
- Deploying Applications Using Group Policy and SCCM 2007 : Deploying Applications Using SCCM 2007 (part 2)
- Microsoft Exchange Server 2010 : Creating and Managing Accepted Domains (part 3) - Changing the Accepted Domain Type and Identifier , Removing Accepted Domains
- Sharepoint 2013 : Health Monitoring and Disaster Recovery - Maintaining Content Integrity (part 2) - Versioning
Top 10
- Configuring and Troubleshooting IPv6 in Windows Vista (part 4) - Troubleshooting IPv6 Connectivity
- Configuring and Troubleshooting IPv6 in Windows Vista (part 3) - Configuring IPv6 in Windows Vista Using Netsh , Other IPv6 Configuration Tasks
- Configuring and Troubleshooting IPv6 in Windows Vista (part 2) - Configuring IPv6 in Windows Vista Using the User Interface
- Configuring and Troubleshooting IPv6 in Windows Vista (part 1) - Displaying IPv6 Address Settings
- Deploying IPv6 : IPv6 Enhancements in Windows Vista
- Games and Windows 7 : Games for Windows - LIVE (part 2) - Accessing Games for Windows - LIVE from within Compatible Games
- Games and Windows 7 : Games for Windows - LIVE (part 1) - Using the Games for Windows - LIVE Marketplace
- Sharepoint 2013 : Client-side Programming - Working with the REST API (part 3)
- Sharepoint 2013 : Client-side Programming - Working with the REST API (part 2) - Working with the REST API in JavaScript
- Sharepoint 2013 : Client-side Programming - Working with the REST API (part 1) - Understanding REST fundamentals
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro