---
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."
---

# :fa-forward-step: Step 7: Download and Update Monitoring Agents

Download the agents CLI bundle from the Portal, deploy the :Nodinite: 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>:fa-arrow-up-right-from-square:</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>:fa-arrow-up-right-from-square:</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 :Nodinite: 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.*  

>[!WARNING]
>Resolve all validation errors before you deploy. Errors are shown in red.

### 5. Deploy Core Services and Agents

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

>[!IMPORTANT]
>When agents run as **custom domain accounts**, review [Service Principal Names (SPN)][SPN] before rollout, especially with Windows authentication or remote SQL Server connections.

![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].

### 7. Update Agents on Other Servers {#7-update-agents-on-other-servers}

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.

>[!IMPORTANT]
>Run each updated agent with the **same service account** as in v6. Only that account can decrypt the agent's encrypted settings.

### 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 :Nodinite: 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

## :fa-hand-point-right: Next Steps

* [:fa-forward-step: Step 8: Verify Functionality][Step08]  

## :fa-link-horizontal: 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]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/Unsaved_Changes_Modal.png
[2]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/CLI_CoreServicesAndAgents_Validate.png
[3]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/CLI_CoreServicesAndAgentsUpdateSucccess.png
[4]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/Migration_Complete_Panel.png
[5]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/Migration_Complete_Success.png

[Core Services]:{ndr}/Core%20Services/Overview.md
[DataPower]:{ndr}/Logging%20and%20Monitoring/IBM%20DataPower%20Gateway/Overview.md
[Download and Update Agents]:{ndr}/Administration/5.%20Settings/7.%20Download%20and%20Update%20Agents.md
[Dynamics]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Overview.md
[Firewall]:{ndr}/Install%20and%20Update/Getting%20started/2.%20Prerequisites.md#network-and-firewall-overview
[IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[InstallPackage]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/07%20-%20Install%20the%20Generated%20Package.md
[Main]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7.md
[Monitoring]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[Monitoring Agents Overview]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Overview.md
[NodinitePortal]:https://portal.nodinite.com/
[PowerShell 7]:https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows
[SPN]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SPN.md
[Step06]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/06%20-%20Import%20Monitoring%20Agents.md
[Step08]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/08%20-%20Verify%20Functionality.md
[Step09]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/09%20-%20Remove%20Old%20Windows%20Services.md
[Updating Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Updating%20Nodinite%20v7.md
[V7 Agents]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/05%20-%20Agents.md
[V7 Servers Agents]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#agents-on-this-server
[Web Client]:{ndr}/Core%20Services/Web%20Client/Overview.md
[Windows Server]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/Windows%20Server.md