Benchmark your BizTalk Server (Part 2)

Listen with webReader
Published 10 January 10 11:00 AM | wmmihaa

This post describes the installation process for the BizTalk Benchmark Wizard application. For more information read part 1.

The complete installation will include the following components:

  • BizTalk Benchmark wizard – The client tool from which you will run the tests
  • Three Hosts – BBW_RxHost, BBW_PxHost, BBW_TxHost
  • Three Host Instances
  • Two Adapter handlers for NetTcp
  • One BizTalk Application
  • Two Receive Ports
  • Two Send Hosts
  • One Orchestration

The installation process

Download the bits from Codeplex, and proceed with the normal installation. As the setup completes, your first step would be to install the BizTalk artifacts. These artifacts are the BizTalk components and bindings which makes up the testing scenarios. This is a two step process as you need to set up the hosts before you import the bindings.

BizTalk environment

You can run the scenarios on either a single-server installation or a two server installation. Regardless of the number of BizTalk servers in you group, you should not run it with more than two “active” servers, as it will otherwise not be covered by the benchmark values.

image
 image

1. Setup Hosts, Instances and Adapter handlers

The hosts, instances and handlers are created through running a script. You need to run the script file using “cscript” as shown below, and I apologize in advance to the poor error messages you might run into. 

1. Open an command prompt window and navigate to [Installation folder]\Artefacts\BizTalk. By default, the installation folder is “C:\Program Files\Blogical\BizTalk Benchmark Wizard”.

2. In the BizTalk folder you’ll find a InstallHosts.vbs file. Execute it using the following parameters:

          NTGroupName - The name of the Windows NT group.
          UserName – The name of the user account running the service instances.
          Password – The password of the user account running the service instances.
          Receive Host – The name of the server where you want to run the receive host instance. 
          Send Host - The name of the server where you want to run the sen host instance.
          Processing Host - The name of the server where you want to run the process host instance.

          If you have a single box installation, your script command might look like this:

          cscript InstallHosts.vbs "BizTalk Application Users" “\MyUser” “MyPassword” “BtsServer1” “BtsServer1” “BtsServer1”

          If you have a multi server installation, your script command might look like this:

          cscript InstallHosts.vbs "MyDomain\BizTalk Application Users" “MyDomain\MyUser” “MyPassword” “BtsServer1” “BtsServer2” “BtsServer2”

          Running this script will create:

        • Three hosts (BBW_RxHost, BBW_TxHost and BBW_PxHost)
        • Three host instances
        • One send and one receive adapter handler for the WCF NetTcp adapter.

2. Import BizTalk MSI

1. Open the BizTalk Administration Console, point to the “Applications” node and import the BizTalk Benchmark Wizard.msi found in the same folder as the scripts above.

          This will create a “BizTalk Benchmark Wizard” application along with all ports and orchestrations.

2. Finally, run the BizTalk Benchmark Wizard.msi on all BizTalk servers to add the assemblies to the Global Assembly Cache (GAC).

Done, click [Start]-> [All Programs]->[BizTalk Application Wizard] - [BizTalk Application Wizard] to start the application.

Related articles:

Benchmark your BizTalk Server (Part 3) by Ewan Fairweather

 

Good luck!

Filed under: , , ,

Comments

# robsteel said on January 13, 2010 01:44 PM:

The download link on codeplex isn't working

# wmmihaa said on January 14, 2010 12:15 AM:

It works for me. Please get back to me if you're still having problems.

//Mikael

# Scott Banwart's Blog » Blog Archive » Distributed Weekly 33 said on January 15, 2010 02:21 PM:

Pingback from  Scott Banwart's Blog  » Blog Archive   » Distributed Weekly 33

# Balbir Singh said on February 3, 2010 05:59 PM:

When I run installhost.vbs I get the following error:-

Host - BBW_RxHost - has been created successfully

Instance of the WMI class is not found.

No instance was found with the specified key.  This could be the result of the i

nstance being deleted by another BizTalk Admin session.(HRESULT: 0).

# wmmihaa said on February 3, 2010 07:57 PM:

Balbir: Was this the second time you've runned the script? If so, make sure to remove all previously installed BBW* hosts and instances. -Also, remove the 2 adapter handlers if created for the WCF-netTcp adapter.

Get back to me if you still have problems

# Balbir Singh said on February 4, 2010 04:23 PM:

Hi: It happened the first time. Since then I've cleared down as suggested and repeated several times, same error. It created the host, but then failed when trying to create the host instance. In the end I created the host instances manually, and modified the scripts to skip that bit

# Mark Brimble said on February 16, 2010 12:51 AM:

Hi: I am getting this error "Unable to find PerfMon Counter. Make sure all BBW* host instances are started. If you lost the counters, this post might help you recover counters:\n<"blogs.msdn.com/.../how-to-manually-recreate-missing-biztalk-performance-counters.aspx". I have recreated the perfromance counters but still no luck. Do you have any others suggestions about what to llok at  look at? P.S. Great tool. I got it ot work on our DEV box but now trying to benchmark our production server b4 go live it seems I am missing something.

# Balbir Singh said on February 26, 2010 06:07 PM:

HI: I'm getting the same error "Unable to find PerfMon Counter. Make sure all BBW* host instances are started. If you lost the counters, this post might help you recover counters:\n<"blogs.msdn.com/.../how-to-manually-recreate-missing-biztalk-performance-counters.aspx".  on our production boxes. All the performance counters have been recreated, still same error. Does this tool work in a production environment ?

# wmmihaa said on February 27, 2010 12:10 AM:

Sometimes, for some unknown reason, some permon counters disapears. To make sure this is the problem, run perfmon and see if the counters are there. If they are not, use this link to re-create them: http://tinyurl.com/y8bzne2. If you still have a problem contact me on msn or email (through the blog), and I'd be happy to help out.

Leave a Comment

(required) 
(required) 
(optional)
(required)