---
title: Migrate Nodinite v6 to v7 on New Hardware (New Windows Server + New SQL Server)
description: "Migrate Nodinite v6 to v7 while replacing the Windows Server and optionally the SQL Server: move the databases, fix LogTables and LogLocations, prepare the new server, fix agent Service URLs, then run the v6 to v7 guide."
---

# Migrating v6 to v7 on New Hardware

Replacing your Windows Server, and optionally your SQL Server, is a good moment to upgrade to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7. This page orchestrates the moving parts and links to the specialist guide for each phase.

<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 page does <strong>not</strong> replace the <a href="https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/">Updating from v6 to v7 Migration Guide</a>. It describes what must happen <strong>before</strong> you run that guide when the target is a <strong>new</strong> Windows Server, and what to do first when you also move to a <strong>new SQL Server</strong>.</p></div>
</aside>

## <i class="fal fa-network-wired" aria-hidden="true"></i> Understanding the New-Hardware Migration

<div class="mermaid">
flowchart TD
    A["fa:fa-server Old server: Nodinite v6<br/>+ old SQL Server"] --> B["fa:fa-database Phase 1: Migrate SQL databases<br/>(new SQL Server only)"]
    B --> C["fa:fa-screwdriver-wrench Phase 2: Prepare the new Windows Server<br/>+ copy the v6 Core Services folder"]
    C --> D["fa:fa-link Phase 3: Fix agent Service URLs<br/>(machine name, not localhost)"]
    D --> E["fa:fa-list-ol Phase 4: Stop the v6 services on the old server,<br/>run the v6 to v7 Migration Guide on the new server"]
    E --> F["fa:fa-circle-check New server: Nodinite v7<br/>+ new SQL Server"]
    F --> G["fa:fa-broom Clean up v6 on the old server"]
    style A fill:#2678BD
    style B fill:#E47528
    style C fill:#E47528
    style D fill:#FFD525
    style E fill:#E47528
    style F fill:#93d16d
    style G fill:#3F827B
</div>

*The four phases. Blue is the starting point, orange phases are the work you do, yellow is the easily forgotten check on the old server, green is the result: v7 [Core Services][] on the new server, using the moved [Configuration Database][ConfigDB] and [Log Databases][], and teal is the cleanup of v6 on the old server afterwards.*

## Phase 1: Migrate SQL Databases (New SQL Server)

If you stay on the **same SQL Server instance**, skip to [Phase 2](#phase-2-prepare-the-new-windows-server). If you move to a **new SQL Server**, complete this phase first; the new Windows Server can't be set up until the databases are in place.

### 1. Perform the Database Migration

Follow [SQL Server Database Migration][DB Migration Overview] to back up all <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> databases on the old SQL Server and restore them on the new instance, from planning to [post-migration steps][DB Post Migration]. The connection string to the new SQL Server is entered in the Portal when you run the migration guide; the `LogTables` entries need a manual update (next step).

### 2. Verify the LogTables Table

After the restore, open the [Configuration Database][ConfigDB] and review the `LogTables` table. It lists the [Log Databases][] with their names and SQL Server connection details.

<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>Both the <strong><code>Server</code></strong> and <strong><code>Host</code></strong> columns must name the <strong>new SQL Server</strong>. If either still points to the old instance (for example <code>localhost</code> or the old machine name), the <a href="https://docs.nodinite.com/core-services/logging-service/overview/">Logging Service</a> can't connect to the Log Databases after cutover.</p></div>
</aside>

```sql
SELECT [LogTableId], [Server], [Host], [Database]
FROM [dbo].[LogTables]
```

Update every row where `Server` or `Host` still references the old SQL Server instance.

### 3. Review the LogLocations System Parameter

The [LogLocations][] [System Parameter][System Parameters] sets the disk paths for the data, image data, index, and transaction log files of new [Log Databases][]. If the new SQL Server uses a different disk layout (for example, `D:\SQLData` instead of `E:\SQLData`), update `LogLocations` before the first new Log Database is created; wrong paths make the [Logging Service][] fail when it creates the next one.

### 4. Recreate the Linked Servers

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> reaches the [Log Databases][] through [Linked Servers][], and a newer SQL Server (2022 and later) needs them created with the `MSOLEDBSQL` provider and encryption. Don't run a script of the old linked servers unchanged; follow [Recreate Linked Servers After a SQL Server Upgrade][DB Recreate Linked Servers] for every linked server on the new instance.

## Phase 2: Prepare the New Windows Server

The new Windows Server must meet every prerequisite in the [Migration Guide prerequisites][MigrationGuide Prerequisites] before you start. In short:

* Windows Server with [IIS Windows Features][], installed **before** the [.NET 10.0 Hosting Bundle](https://aka.ms/dotnet/10.0/dotnet-hosting-win.exe)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> (Hosting Bundle, not Runtime or SDK; if you installed it first, run it again as Repair)
* [PowerShell 7][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, run elevated (the CLI is an executable, so the execution policy doesn't apply)
* The latest [DacFX][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>
* Service accounts with the [Logon as a Service right][Logon as a Service] and a configured [MSDTC][]

### Copy the v6 Core Services Folder to the New Server

The CLI runs on the new server, and in a v6 to v7 upgrade it checks the **Legacy Nodinite 6 environment path** you enter in the Portal ([Step 1][Step01]) on **that** server, before it changes anything. The check only tests that a v6 `Nodinite Core Services` folder exists at the path; it reads no files from it, and the v6 agent settings are fetched from the running agents instead. The check makes sure a mistyped path can't silently skip the v6 settings migration. On new hardware the folder isn't there yet, so copy it:

1. On the old server, copy the environment folder with its `Nodinite Core Services` folder, for example `C:\Program Files\Nodinite\TEST\Nodinite Core Services`.
2. Paste it on a **local** disk of the new server. The same path as on the old server is the simplest choice, and matches the Portal example `C:\Program Files\Nodinite\TEST\`.
3. Enter that path in the Portal as the **Legacy Nodinite 6 environment path**.

Instead of copying, you can create an empty `Nodinite Core Services` folder at that path; the check passes either way.

Without the copy, the CLI stops with *'…\Nodinite\TEST' does not look like a Nodinite 6 installation*, or with *MigrateV6.LegacyPath '…' does not exist*; see [Troubleshooting][Step01 Troubleshooting]. Don't point the path at a network share (UNC), a mapped drive, or a link: the cleanup command `remove-legacy` accepts only a local folder.

<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 copy is only a marker for the check and for cleanup. The CLI reads the v6 agent settings from the running v6 agents, not from these files, and it backs up the database, not this folder.</p></div>
</aside>

### Network and Firewall Requirements

Open the ports for the new server's Core Service web sites, SQL Server, agents, and the outbound HTTPS (443) to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> online services (Portal packages, sign-in, and MSI agent downloads), as listed in the [Network and Firewall Overview][Firewall].

## Phase 3: Fix Monitoring Agent Service URLs on the Old Server

<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><strong>Complete this on the old server before you start the migration guide on the new server.</strong> If you skip it, the agent steps of the migration (Steps 5–7) don't transfer the agent configurations correctly.</p></div>
</aside>

### Why This Matters

The migration guide exports the [Monitoring Agent][Monitoring] definitions from the [Configuration Database][ConfigDB] ([Step 5][Step05]), imports them into the Portal ([Step 6][Step06]), and deploys the agents package with the CLI on the **new** server ([Step 7][Step07]).

If an agent's Service URL is `http://localhost:8000/...`, the new server can't reach it: `localhost` on the new server is the new server itself.

### What to Do on the Old Server

1. Open the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 [Web Client][].
2. Navigate to **Administration** → **Monitor Management** → [Monitoring Agents][Monitoring Agents Overview].
3. For each [Monitoring Agent][Monitoring] installed **locally** on the old server, verify that its **Service URL** uses the **machine name** instead of `localhost`.

   <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>Correct: <code>http://DAOLDSERVEROS19:8000/Nodinite/Monitor/...</code><br>
   Must be fixed: <code>http://localhost:8000/Nodinite/Monitor/...</code></p></div>
   </aside>

4. Replace every `localhost` with the **old server's machine name**.
5. From the new server, verify that you can reach the old agent URLs (browser or `curl`).
6. Allow inbound connections from the new server to the old server on the v6 agent ports; see [Why do Nodinite use port 8000][Port 8000].

<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>Seen from the new server, every agent on the old server is an agent on <strong>another server</strong>. In <a href="https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/06-import-monitoring-agents/">Step 6</a>, clear the old server's host name in the resolver, and update those agents locally on the old server as described in <a href="https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/07-download-and-update-monitoring-agents/#7-update-agents-on-other-servers">Update Agents on Other Servers</a>, with the same service accounts as in v6. Agents on servers other than the old <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server already use their own machine names and follow the same path; exclude them from the JSON in <a href="https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/05-export-monitoring-agents/">Step 5</a>.</p></div>
</aside>

## Phase 4: Run the Standard v6 to v7 Migration Guide

With the databases in place, the v6 folder copied, and the agent Service URLs corrected, run the [Updating from v6 to v7 Migration Guide][MigrationGuide] **on the new Windows Server**.

<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>Stop the v6 <a href="https://docs.nodinite.com/core-services/logging-service/overview/">Logging Service</a> and <a href="https://docs.nodinite.com/core-services/monitoring-service/overview/">Monitoring Service</a> on the old server</strong> before you run the CLI (<a href="https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/04-deploy-with-cli/">Step 4</a>), and run the CLI <strong>interactively</strong>. On the same server the CLI stops these services itself; on new hardware it can't find them, so it asks you to confirm that you stopped them by hand. A non-interactive run stops there with <em>Non-interactive run aborted</em>.</p></div>
</aside>

The guide's steps:

* Register the environment in the [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, with the connection string of the new SQL Server
* Download the packages and run the CLI from an elevated PowerShell 7 prompt
* Install the v7 Core Services and agents on the new server
* Configure TLS, the [Pickup Log Events Service][Pickup Service], and agent endpoints
* Clean up and review the Log Databases

## <i class="fal fa-broom" aria-hidden="true"></i> After the Migration: Clean Up the Old Server

The v6 [IIS][] applications, Windows services, and agent folders are on the **old** server, so the cleanup steps apply there:

* [Step 9][Step09]: run `remove-legacy` on the old server, with the same CLI configuration, or remove the applications and services by hand. Run on the new server, `remove-legacy` finds no v6 applications or services; with `--delete-files` it only deletes the copied folder.
* [Step 13][Step13]: delete the v6 folders on the old server. On the new server, delete the copied v6 `Nodinite Core Services` folder, or let `remove-legacy --delete-files` do it.

<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><strong>Why not upgrade in place on the old server first, and then move v7?</strong> There is no documented procedure, and no CLI command, for moving a v7 installation to another server. Until there is, this page is the way to v7 on new hardware.</p></div>
</aside>

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

* **SQL migration first?** → [SQL Server Database Migration Overview][DB Migration Overview]  
* **New server ready?** → [Updating from v6 to v7 – Migration Guide][MigrationGuide]  

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

* <i class="fal fa-database" aria-hidden="true"></i> [SQL Server Database Migration Overview][DB Migration Overview] — backup, restore, and configuration update procedures  
* <i class="fal fa-arrows-rotate" aria-hidden="true"></i> [Updating from v6 to v7][MigrationGuide] — the 15-step migration guide run on the new server  
* <i class="fal fa-list-ol" aria-hidden="true"></i> [Migration Steps index][Steps Overview]  
* <i class="fal fa-key" aria-hidden="true"></i> [LogLocations System Parameter][LogLocations] — disk paths for Log Databases on the new SQL Server  
* <i class="fal fa-table" aria-hidden="true"></i> [Connection Strings][Connection Strings] — SQL Server connection string formats and encryption  
* <i class="fal fa-hdd" aria-hidden="true"></i> [Log Databases][] — Log Database overview and management  
* <i class="fal fa-database" aria-hidden="true"></i> [Configuration Database][ConfigDB] — central configuration storage  
* <i class="fal fa-server" aria-hidden="true"></i> [IIS Windows Features][] — required Windows features for the new server  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites, including the v7 migration checks][Prerequisites Migration]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install Nodinite v7][InstallNodiniteV7]  

[ConfigDB]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[DacFX]:https://aka.ms/dacfx-msi
[DB Migration Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/overview/
[DB Post Migration]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/post-migration-steps/
[DB Recreate Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/overview/#fa-link-recreate-linked-servers-after-a-sql-server-upgrade
[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/
[IIS Windows Features]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/
[InstallNodiniteV7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7/
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[LogLocations]:https://docs.nodinite.com/administration/settings/system-parameters/loglocations/
[Logon as a Service]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/
[MigrationGuide]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/
[MigrationGuide Prerequisites]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/#fa-clipboard-check-prerequisites
[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/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[MSDTC]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/transactions-msdtc/
[NodinitePortal]:https://portal.nodinite.com/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Port 8000]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/why-do-nodinite-use-port-8000/
[PowerShell 7]:https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows
[Prerequisites Migration]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/#v7-migration-specific-checks
[Step01]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/01-register-environment/
[Step01 Troubleshooting]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/01-register-environment/#legacy-path-not-v6
[Step04]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/04-deploy-with-cli/
[Step05]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/05-export-monitoring-agents/
[Step06]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/06-import-monitoring-agents/
[Step07]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/07-download-and-update-monitoring-agents/
[Step07 Remote]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/07-download-and-update-monitoring-agents/#7-update-agents-on-other-servers
[Step09]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/09-remove-old-windows-services/
[Step13]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/13-final-cleanup/
[Steps Overview]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/overview/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/