A Very Easy Method to Configure NLB for BAM Portal

There are already several standard and well documented methods for creating a NLB cluster for BAM Portal like here. The problem with all these methods is that they tend to be very complex and long. Usually you would end up missing some steps and it will not work.

What I was able to find is a very simple and short way to configure BAM portal on several servers using Windows NLB.

  1. Start by configuring BAM Portal on the first server “Server1” using the BizTalk Configuration Tool (normally).
  2. Open the SQL management studio.
  3. Open the Database “BamPrimaryImport”.
  4. You will find a table called ”bam_Metadata_Properties”.
  5. Remove the row for the value “BAMVRoot”
  6. Now login to the second server “Server2”.
  7. Open the BizTalk Configuration Tool and WOW you can use it to configure the Portal on this node also.
  8. Repeat steps 2-7 for as many nodes you have in your NLB.
  9. Now you are not done yet please continue. Change the web.config on all nodes so that the management web service and query web service URLs are pointing correctly to the NLB address and not the nodes addresses.
  10. Now perform the steps below to update the BAM configuration for the location of the cluster.

To update the BAM configuration to reflect the location of the cluster

  1. Use the BAM Management Utility to get the current BAM configuration. To do this, click Start, click Run, and type drive:\Program Files\Microsoft BizTalk Server 2010\Tracking\bm get-config -FileName:MyConfig.xml.

  2. Replace the local host name with the name of the NLB cluster. To do this, click Start, click Run, and type notepad drive:\Program Files\Microsoft BizTalk Server 2010\Tracking\MyConfig.xml.

  3. For hardware-based NLB only, verify the configuration file has the following:

    Copy Code

     <GlobalProperty Name="BAMVRoot">
    https://<NLB IP Address>:portname/BAM</GlobalProperty>
    
  4. Modify the following line to point to the NLB cluster by replacing the computer name (machinename) with the cluster name:

    Copy Code

     <GlobalProperty Name=" BAMVRoot">  https://machinename:portname/BAM
    </GlobalProperty> 
    
  5. Save the new configuration. To do this, click Start, click Run, and type drive:\Program Files\Microsoft BizTalk Server 2010\Tracking\bm update-config -FileName:MyConfig.xml.