---
title: "Step 7: Download and Update Monitoring Agents – v6 to v7 Migration"
description: "Step 7 of the Nodinite v6 to v7 migration: download the agents CLI bundle from the Portal, deploy the Monitoring Agents with Nodinite.Installer.Cli.exe, and mark the migration complete."
---

# <i class="fal fa-forward-step" aria-hidden="true"></i> Step 7: Download and Update Monitoring Agents

Download the agents CLI bundle from the Portal, deploy the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 7 [Monitoring Agents][Monitoring] with `Nodinite.Installer.Cli.exe`, and mark the migration complete. The agents package contains the [Core Services][] and the imported agents; on [Windows Server][] each agent becomes its own [IIS][] web site with its own port.

## Prerequisites

* [ ] [Step 6 completed – Monitoring Agents imported to the Portal][Step06]
* [ ] Latest [PowerShell 7][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, run as administrator

## Steps

### 1. Download the Agents Package

The agents package is available after you import and save the agents in [Step 6][Step06]. In the [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, open your environment and go to the **Review and Download** step. If you have unsaved changes, the Portal prompts you before it generates the package.

![Unsaved changes prompt][1]  
*Example of the unsaved changes modal; click Save and download to include the latest agent configuration in the package.*  

The ZIP is named `<EnvironmentName>-upgrade-agents-environment.zip`. Extract it to a temporary folder on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server (e.g., `C:\Temp\DEV-upgrade-agents-environment`). If Windows blocks a file from the downloaded ZIP, unblock the ZIP before you extract it, for example with `Unblock-File`.

### 2. Open PowerShell 7 as Administrator

* Start Menu → Search **PowerShell 7** → Right-click → **Run as administrator**

### 3. Navigate to the Extracted Bundle

```powershell
cd C:\Temp\DEV-upgrade-agents-environment
```

*(Replace `DEV` with your environment name.)*

Unlike the core bundle, this bundle has one folder per configured server (e.g., `nodinite01`) next to `Nodinite.Installer.Cli.exe` and `InstallationMedia`; the generated configuration is `nodinite01\config.cli.json`.

### 4. Validate the Package

The CLI may prompt for service account passwords.

```powershell
.\Nodinite.Installer.Cli.exe validate --config .\nodinite01\config.cli.json
```

![CLI validation of the agents package][2]  
*Example of CLI validation of the full environment package with the Core Services and agents. Enter the service account password when prompted.*  

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p>Resolve all validation errors before you deploy. Errors are shown in red.</p></div>
</aside>

### 5. Deploy Core Services and Agents

```powershell
.\Nodinite.Installer.Cli.exe deploy-environment --config ".\nodinite01\config.cli.json"
```

<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>When agents run as <strong>custom domain accounts</strong>, review <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn/">Service Principal Names (SPN)</a> before rollout, especially with Windows authentication or remote SQL Server connections.</p></div>
</aside>

![CLI deployment success for Core Services and agents][3]  
*Example of a successful full environment deployment. The CLI confirms "Full environment deployment completed successfully" and prints the `remove-legacy` command that you run in [Step 9][Step09], after verification.*  

### 6. Verify Agents

Check that the agents are listed in the [Web Client][] and that monitoring data flows. Full verification follows in [Step 8][Step08].

<h3 id="7-update-agents-on-other-servers">7. Update Agents on Other Servers</h3>

The staged import covers only the agents on the Core Services server. Update every agent that runs on another server locally, on that server:

* **Agents hosted in IIS**: in the Portal, add the server in the [Servers step][V7 Servers Agents] and the agent under **Agents on this server**, configure it in the [Agents step][V7 Agents], save, and download the package. Run the command in that server's folder on the server itself.
* **Agents installed with an MSI**, such as the [IBM DataPower][DataPower] and [Dynamics CRM][Dynamics] agents: run the new MSI from [Download and Update Agents][] on the server and point it to the existing installation folder, as with any agent update.

<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>Run each updated agent with the <strong>same service account</strong> as in v6. Only that account can decrypt the agent's encrypted settings.</p></div>
</aside>

### 8. Mark Migration Complete in the Portal

Mark the migration complete when **every** agent is updated, including the agents on other servers. In the Portal, open your environment and go to the **Review and Download** step. The **Nodinite 6 staged upgrade** panel now shows a **Mark migration complete** button.

![Mark migration complete panel][4]  
*Example of the staged upgrade panel with the Mark migration complete button after the agents are deployed.*  

Click **Mark migration complete**.

![Migration complete message][5]  
*Example of the confirmation: "Nodinite 6 migration marked complete. Save the workspace to continue as a normal Nodinite 7 environment." The staged upgrade panel is replaced by the standard download panel.*  

Save the workspace. The environment is now a standard <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 7 environment, which you keep current with [Update Nodinite v7][Updating Nodinite v7].

## Completion Checklist

* [ ] Agents package downloaded
* [ ] Validation passed without errors
* [ ] `deploy-environment` completed successfully
* [ ] Agents visible in the Web Client
* [ ] Agents on other servers updated locally, with the same service accounts as in v6
* [ ] Migration marked complete in the Portal and workspace saved

## Troubleshooting

### Validation Fails with Service Account Error

The CLI reports service account password errors. Check the following:

* You run the CLI as an account with sufficient rights
* The service account names match the Portal configuration

### Agents Not Visible in Web Client

The agents don't appear after deployment. Check the following:

* Refresh the browser
* The agents' IIS application pools are started
* The agent ports are open; see [Network and Firewall Overview][Firewall]
* The Windows Event Viewer shows no errors

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

* [<i class="fal fa-forward-step" aria-hidden="true"></i> Step 8: Verify Functionality][Step08]  

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

* [Updating from v6 to v7 – Migration Guide][Main]  
* [Step 7: Run the CLI Workflow (Elevated PowerShell 7) – fresh install reference][InstallPackage]  
* [Monitoring Agents Overview][Monitoring Agents Overview]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/Unsaved_Changes_Modal.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/CLI_CoreServicesAndAgents_Validate.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/CLI_CoreServicesAndAgentsUpdateSucccess.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/Migration_Complete_Panel.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/Migration_Complete_Success.png

[Core Services]:https://docs.nodinite.com/core-services/overview/
[DataPower]:https://docs.nodinite.com/logging-and-monitoring/ibm-datapower-gateway/overview/
[Download and Update Agents]:https://docs.nodinite.com/administration/settings/download-and-update-agents/
[Dynamics]:https://docs.nodinite.com/logging-and-monitoring/microsoft-dynamics-365/overview/
[Firewall]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/#network-and-firewall-overview
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[InstallPackage]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/
[Main]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/
[Monitoring]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring Agents Overview]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/overview/
[NodinitePortal]:https://portal.nodinite.com/
[PowerShell 7]:https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows
[SPN]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn/
[Step06]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/06-import-monitoring-agents/
[Step08]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/08-verify-functionality/
[Step09]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/09-remove-old-windows-services/
[Updating Nodinite v7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/updating-nodinite-v7/
[V7 Agents]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/05-agents/
[V7 Servers Agents]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#agents-on-this-server
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/
[Windows Server]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/windows-server/