---
title: Installing the Nodinite Microsoft BizTalk Server Monitoring Agent
description: Follow this step-by-step guide to install the Nodinite Microsoft BizTalk Server Monitoring Agent. Learn about prerequisites, high availability, and best practices to ensure reliable, scalable monitoring for your BizTalk environment.
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/2" data-url="https://portal.nodinite.com/marketplace/2"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-rocket" aria-hidden="true"></i> Installing the Nodinite Microsoft BizTalk Server Monitoring Agent

> This guide shows you how to install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent] for robust, scalable BizTalk Server monitoring.  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>You must be a local administrator to install Windows Services.</p></div>
</aside>

## <i class="fal fa-sitemap" aria-hidden="true"></i> Deployment Architecture and Installation Method

The [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent] is almost always installed on a **dedicated BizTalk Server**—a separate machine from the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Application Server. This is the expected production architecture.

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Remote agents require MSI-based installation regardless of <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> version.</strong> This applies equally to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 and v7.</p></div>
</aside>

### <i class="fal fa-server" aria-hidden="true"></i> Remote Agent — Dedicated BizTalk Server (Typical Production)

In production, BizTalk Server runs on one or more dedicated processing nodes. The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [BizTalk Server Monitoring Agent][BizTalk Monitoring Agent] is installed directly on those BizTalk nodes via the MSI installer.

* Log on to the BizTalk Server directly (RDP or console access) to run the MSI installer.
* The Portal-based CLI installation in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 **does not apply to remote BizTalk nodes**.
* Follow the MSI installation steps below for all remote deployments — development, test, and production alike.

### <i class="fal fa-laptop-code" aria-hidden="true"></i> Co-Hosted Agent — Nodinite App Server is also the BizTalk Server (Dev / POC only)

In rare development or proof-of-concept environments where <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and BizTalk Server run on the same machine, the [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>-based CLI installation available for <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 can also be used. See [Install Nodinite v7][] for details. MSI installation also works in this scenario.

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Not sure which case applies to you? If you are logging on to a separate server to install this agent, it is a remote agent and the MSI guide below is what you need.</p></div>
</aside>

## <i class="fal fa-square-plus" aria-hidden="true"></i> Before you begin

Ensure you meet all [Prerequisites for the BizTalk Server Monitoring Agent][Prerequisites for BizTalk Monitoring Agent].  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 1: Start the installer

Double-click the **MSI file** to launch the installation of the [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent].  
![msi][1]  
*Start the installer by double-clicking the MSI file.*  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 2: Accept End User License Agreement (EULA)

The **Licensee** is responsible for ensuring <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> products are used according to the **End User License Agreement**. Make sure you have the formal rights to install and modify the target environment before proceeding.  
![EULA][2]  
*You must accept the terms in the License Agreement to continue.*  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>The EULA provided by the installer is the generic standard EULA. Your organization may have signed a different version as part of a formal agreement.</p></div>
</aside>

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 3: Welcome screen

Upon successful execution of the MSI file, a **welcome screen** will be presented.  
![Welcome][3]  
*Welcome screen.*  

Click the **'Next'** button to continue the installation process or the **'Cancel'** button to quit the installer.

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 4: Custom setup

Select the Components and Location for the installation. We recommend that you stick with the **default** settings.  
![Custom Setup][4]  
*Example of Custom Setup.*

Click the **'Next'** button to continue the installation process or the **'Cancel'** button to quit the installer.

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 5: Service Account Information

Enter the credentials for the **Account** to run [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent]. Depending on the connection string settings, this account will be used to log on and query the databases being monitored.

**Domain**: The name of the Domain the Server belongs to. If a local account is being used, use the name of the server or a . (dot) as Domain  
**User**: The name of the Account  
**Password**: The password for the Account.  
    ![Domain service account][5]  
    *Enter domain, user name and password for the service Account.*  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>The account must have 'Log on as Service Right'</p></div>
</aside>

Click the **'Next'** button to continue the installation process or click the **'Cancel'** button to quit the installer.

### <i class="fal fa-exclamation-circle" aria-hidden="true"></i> Insufficient Privileges

Error message when account information does not meet [Prerequisites][Prerequisites for BizTalk Monitoring Agent].  
![Insufficient Privileges][6]  
*Insufficient privileges error message.*  

If you get this message, the most common reason is that the account is **not allowed to run as a service** or is **not a local Administrator** on the server. Follow the guide [How to set Logon as a Service right][] and click retry. If the problem remains, click cancel and restart. Make sure to enter valid credentials!  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Check the local event log if there are errors (both System and Application)</p></div>
</aside>

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 6: Completed setup

The last step of the installation gives either a **success** or a **premature exit**.  
![Completed][8]  
*Successful installation example.*  

<i class="fal fa-times-circle" aria-hidden="true"></i> **Failed installation example**: A failed installation will render a premature exit.  
![Premature exit][7]  
*Premature exit example.*  

Click the **Finish** button to exit and quit the installer.

After installation completes, a **README.txt** file opens with connection details needed to configure the agent as a [Monitoring Agents][].  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 7: Add Agent as a new Monitoring Agent Configuration

The last installation step is to add the Monitoring Agent as a new [Monitoring Agents][] from within the [Web Client][] using the information provided in the ```README.txt``` file from the previous step.

* <i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]

___

## <i class="fal fa-user-md" aria-hidden="true"></i> Support

Contact our [Support][] for additional guidance if you fail to resolve the installation problem.  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Additional information to aid troubleshooting may exist in the Windows Event Logs.</p></div>
</aside>

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions

Find solutions to common problems and the FAQ for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [BizTalk Server Monitoring agent][BizTalk Monitoring Agent] in the [Troubleshooting][] user guide.  

## Configure BizTalk Monitor Agent for High Availability

If you require **High Availability** monitoring of your BizTalk Server environment, you can configure the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent] in a fail-over configuration.  

* Supports stand-alone Windows Servers (at least two nodes are required for **High Availability**; you need a name acting as the entry point. Windows Fail-over cluster does this for you)  
    > You should always have a fail-over cluster if you are using POP3 and FTP/SFTP Adapters. Read more in the [BizTalk Core considerations for running adapter handlers](https://learn.microsoft.com/en-us/biztalk/core/considerations-for-running-adapter-handlers-within-a-clustered-host1)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> article  
* Supports Windows fail-over cluster  
  * Service can be either clustered, using the Windows fail-over cluster manager (recommended), **OR**  
    * If you choose this option, install the binaries on the shared disk (install on both nodes; at least one fail-over operation is required to move the disk to the other node)  
  * Service can run on multiple nodes without being configured in a Windows fail-over role  
* Flexible SQL Server run-time  
  * Stand-alone  
  * Fail-over cluster  
  * [Always-on][AlwaysOn]  

## Prerequisites

* You must install your BizTalk Server environment in a Windows Server fail-over cluster configuration.  
* You need a **new** cluster name (Client access point) to access the agent on the active instance. Please verify that the entry exists in DNS when you are done.  
  * You must have a unique **IP-address** for this name.
    <aside aria-label="Important" class="nodinite-note nodinite-note--important">
    <p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
    <div class="nodinite-note__content"><p>MAX 15 chars or you might get DNS related problems</p></div>
    </aside>
* You must install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Monitoring Database][Agent Database]. If you already have the database installed, make sure it is updated to the latest version.  
  * Support for SQL Server Always-on exists, but you must manually configure the initial synchronization
* Download and install the latest [DacFX](https://aka.ms/dacfx-msi)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>.  

## Step-by-step guide

1. Install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent] on at least two BizTalk Nodes according to the general instructions on this page, then **stop** the Windows Service on the secondary node(s).  
2. If this is the first installation, make sure the [Monitoring Database][Agent Database] is installed and operational.  
3. On the main node, change the following fields in the `Settings.json` file (make the change on one node and then copy/replace on the other nodes):  
    * "HighAvailability": true,  
    * "HighAvailabilityNodeName": "%Monitor Agent Node Name%" - Use the local node name where the agent is installed (should match content from the table `HighAvailabilityNodes` in the Monitoring Agent database). If this value is not set, the host-name will be used.  
    ![HighAvailabilityNodes table][11]  
    * "MonitorAgentConnectionString": "Server=%NODINITESQLSERVERNAME%;Database=Nodinite_MonitoringAgent_BizTalk;Integrated Security=True;Connection Timeout=60;TrustServerCertificate=True" - The SQL Server instance with the BizTalk Server [Monitoring Database][Agent Database]. Uses **Microsoft.Data.SqlClient** with modern TLS defaults. See [SQL Server Connection Strings][SQL Connection Strings] for certificate validation, AOAG, and security guidance.
4. Cluster the [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent] Windows Service as a **generic service** on the BizTalk fail-over cluster.  
    <aside aria-label="Note" class="nodinite-note nodinite-note--note">
    <p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
    <div class="nodinite-note__content"><p>MAX 15 chars, or you might get DNS related problems</p></div>
    </aside>
5. Next, you need a 'Client access point' to access the active instance node with the Monitoring Agent. This is the name to use in step 8. The Cluster Role containing the generic service (the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> BizTalk Monitoring Agent) must include a resource with the cluster name / IP-address. You cannot put the agent in the default role of the cluster; you must create a new Role.  
6. Bring the clustered service online from any of the BizTalk processing nodes where the agent was installed.  
7. Open the file `Readme.txt`. The provided "URIs" should now use the BizTalk cluster name.  
    <aside aria-label="Note" class="nodinite-note nodinite-note--note">
    <p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
    <div class="nodinite-note__content"><p>This cluster name MUST exist in your DNS</p></div>
    </aside>
8. Make sure the 'Service URI' in the [Connection tab][] is updated (use the cluster name from step 5).  
    ![Service URL][10]  

## Toggle hosts file using a PowerShell script

You need a cluster name, or at least an alias, to switch between the active node. Usually, the Windows fail-over cluster service provides this name. If you do not have a Windows fail-over cluster, you can use the following script to update the local hosts file on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Application Server to toggle the active node.  

## Configuration Steps

1. Use the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Windows Server Monitoring Agent][] and the [PowerShell][PowerShell Tab] feature.  
2. <p>Add a configuration using the PowerShell script:</p>
   <ol type="a">
   <li>Change the IP addresses to the BizTalk nodes with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> BizTalk Server Monitoring Agent.</li>
   </ol>
3. <p>Change the Service URL for the BizTalk Monitoring agent entry in the Remote <a href="https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/configuration/">Configuration</a>.</p>
   <ol type="a">
   <li><code>http://NodiniteBizTalkAgent:8000/Nodinite/Monitor/Agent/BizTalk/IsAlive</code></li>
   </ol>
4. In the **Advanced** tab (Remote Configuration for the BizTalk Server Monitoring Agent), make sure to allow retries.  
    ![Retry count][12]  

5. Test by stopping the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> BizTalk Server Monitoring Agent one at a time and inspect the host file, or run a cmd-prompt with `ping -t NodiniteBizTalkAgent`. You should see the IP switch accordingly within a minute or so.  

```PowerShell
$IpNumbers = @("10.0.1.1", "10.0.1.2")
$Domain = "NodiniteBizTalkAgent"

$UrlTemplate = "http://@@@IP@@@:8000/Nodinite/Monitor/Agent/BizTalk/IsAlive"
$WindowsHostFilePath = "C:\Windows\System32\Drivers\etc\hosts"

function Test-Ip {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory)]
        [string]
        $Url
    )

    try {
        $response = Invoke-RestMethod -Uri $url -ErrorAction Stop
        $contentString = $response -replace "^\xEF\xBB\xBF", ""
        if ($contentString -eq "true") {
            return $true
        }
    }
    catch {}
    return $false
}

function Update-Ip {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory)]
        [string[]]
        $Ips,
        [switch]
        $Add
    )
    foreach ($IpnumberToCall in $Ips) {
        $url = $UrlTemplate.replace('@@@IP@@@', $IpnumberToCall)
        if (Test-Ip -Url $url) {
            if ($Add) {
                Add-Content -Path $WindowsHostFilePath -Value ([System.Environment]::NewLine + $IpnumberToCall + " " + $Domain + [System.Environment]::NewLine) -Force
            } else {
                try {
                    $HostFileContent = Get-Content -Path $WindowsHostFilePath -ErrorAction Stop
                    if (![String]::IsNullOrEmpty($HostFileContent)) {
                        $HostFileContent = $HostFileContent.Replace($HostFileRow, ($IpnumberToCall + " " + $Domain))
                        Set-Content -Path $WindowsHostFilePath -Value $HostFileContent -Force
                    } else {
                        Write-Warning "Failed to update the Hosts file, the hosts file is unexpectedly empty"
                    }
                } catch {
                    Write-Error ("There is a problem reading the hosts file" + " " + $_)
                }
            }
            echo "Last node tried:" $IpnumberToCall
            return
        }
    }
    Write-Error "There is no BizTalk node available at this time"
}

try {
    $HostFileContent = Get-Content -Path $WindowsHostFilePath -ErrorAction Stop
    $HostFileRow = ($HostFileContent | Select-String -Pattern $Domain | Select-Object -First 1).Line
    if ($null -eq $HostFileRow) {
        Update-Ip -Ips $IpNumbers -Add           
        break
    }
    $IpNumber = $HostFileRow.Split(' ') | Select-Object -First 1
    $url = $UrlTemplate.replace('@@@IP@@@', $IpNumber)
    $statusCurrentIp = Test-Ip -Url $url
    if (!$statusCurrentIp) {
        $IpNumbersToCall = $IpNumbers | Where-Object { $_ -ne $IpNumber }
        Update-Ip -Ips $IpNumbersToCall
    } else {
        echo "Last node tried:" $IpNumber
    }
} catch {
    Write-Error ("There is a problem reading the hosts file" + " " + $_)
}
```

___

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-edit" aria-hidden="true"></i> [Configuration][] of the agent  
<i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update][]  
<i class="fal fa-trash-can" aria-hidden="true"></i> [Uninstall][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  
<i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites for BizTalk Monitoring Agent][]  
<i class="fal fa-globe" aria-hidden="true"></i> [Web Client][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/msi.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/EULADialog.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Welcome.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/CustomSetup.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/DomainUser.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/InsufficientPriviliges.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/PrematureExit.png
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Completed.png
[10]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/ClusterNameServiceURL.png
[11]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/HighAvailabilityNodesTable.png
[12]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/RetryCount.png

[Add or manage a Monitoring Agent Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Agent Database]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/agent-database/
[AlwaysOn]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/always-on-availability-groups/
[BizTalk Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/overview/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/configuration/
[Connection Tab]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/#fa-link-connection-tab
[How to set Logon as a Service right]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/
[Install Nodinite v7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[NodinitePortal]:https://portal.nodinite.com
[PowerShell Tab]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/powershell/#fa-pen-to-square-configuration
[Prerequisites for BizTalk Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/prerequisites/
[SQL Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[Support]:https://support.nodinite.com
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/troubleshooting/overview/
[Uninstall]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/troubleshooting/uninstall/
[Update]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/updating/
[Web Client]:https://docs.nodinite.com/getting-started/overview/
[Windows Server Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/windows-server/overview/