Migrating v6 to v7 on New Hardware
Section titled “Migrating v6 to v7 on New Hardware”Replacing your Windows Server, and optionally your SQL Server, is a good moment to upgrade to Nodinite v7. This page orchestrates the moving parts and links to the specialist guide for each phase.
Understanding the New-Hardware Migration
Section titled “ Understanding the New-Hardware Migration”+ old SQL Server"] --> B["fa:fa-database Phase 1: Migrate SQL databases
(new SQL Server only)"] B --> C["fa:fa-screwdriver-wrench Phase 2: Prepare the new Windows Server
+ copy the v6 Core Services folder"] C --> D["fa:fa-link Phase 3: Fix agent Service URLs
(machine name, not localhost)"] D --> E["fa:fa-list-ol Phase 4: Stop the v6 services on the old server,
run the v6 to v7 Migration Guide on the new server"] E --> F["fa:fa-circle-check New server: Nodinite v7
+ 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
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 and Log Databases, and teal is the cleanup of v6 on the old server afterwards.
Phase 1: Migrate SQL Databases (New SQL Server)
Section titled “Phase 1: Migrate SQL Databases (New SQL Server)”If you stay on the same SQL Server instance, skip to Phase 2. 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
Section titled “1. Perform the Database Migration”Follow SQL Server Database Migration to back up all Nodinite databases on the old SQL Server and restore them on the new instance, from planning to post-migration steps. 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
Section titled “2. Verify the LogTables Table”After the restore, open the Configuration Database and review the LogTables table. It lists the Log Databases with their names and SQL Server connection details.
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
Section titled “3. Review the LogLocations System Parameter”The LogLocations System Parameter 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
Section titled “4. Recreate the Linked Servers”Nodinite 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 for every linked server on the new instance.
Phase 2: Prepare the New Windows Server
Section titled “Phase 2: Prepare the New Windows Server”The new Windows Server must meet every prerequisite in the Migration Guide prerequisites before you start. In short:
- Windows Server with IIS Windows Features, installed before the .NET 10.0 Hosting Bundle (Hosting Bundle, not Runtime or SDK; if you installed it first, run it again as Repair)
- PowerShell 7, run elevated (the CLI is an executable, so the execution policy doesn't apply)
- The latest DacFX
- Service accounts with the Logon as a Service right and a configured MSDTC
Copy the v6 Core Services Folder to the New Server
Section titled “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) 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:
- On the old server, copy the environment folder with its
Nodinite Core Servicesfolder, for exampleC:\Program Files\Nodinite\TEST\Nodinite Core Services. - 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\. - 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. 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.
Network and Firewall Requirements
Section titled “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 Nodinite online services (Portal packages, sign-in, and MSI agent downloads), as listed in the Network and Firewall Overview.
Phase 3: Fix Monitoring Agent Service URLs on the Old Server
Section titled “Phase 3: Fix Monitoring Agent Service URLs on the Old Server”Why This Matters
Section titled “Why This Matters”The migration guide exports the Monitoring Agent definitions from the Configuration Database (Step 5), imports them into the Portal (Step 6), and deploys the agents package with the CLI on the new server (Step 7).
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
Section titled “What to Do on the Old Server”-
Open the Nodinite v6 Web Client.
-
Navigate to Administration → Monitor Management → Monitoring Agents.
-
For each Monitoring Agent installed locally on the old server, verify that its Service URL uses the machine name instead of
localhost. -
Replace every
localhostwith the old server's machine name. -
From the new server, verify that you can reach the old agent URLs (browser or
curl). -
Allow inbound connections from the new server to the old server on the v6 agent ports; see Why do Nodinite use port 8000.
Phase 4: Run the Standard v6 to v7 Migration Guide
Section titled “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 on the new Windows Server.
The guide's steps:
- Register the environment in the Portal, 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, and agent endpoints
- Clean up and review the Log Databases
After the Migration: Clean Up the Old Server
Section titled “ 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: run
remove-legacyon the old server, with the same CLI configuration, or remove the applications and services by hand. Run on the new server,remove-legacyfinds no v6 applications or services; with--delete-filesit only deletes the copied folder. - Step 13: delete the v6 folders on the old server. On the new server, delete the copied v6
Nodinite Core Servicesfolder, or letremove-legacy --delete-filesdo it.
Next Steps
Section titled “ Next Steps”- SQL migration first? → SQL Server Database Migration Overview
- New server ready? → Updating from v6 to v7 – Migration Guide
Related Topics
Section titled “ Related Topics”- SQL Server Database Migration Overview — backup, restore, and configuration update procedures
- Updating from v6 to v7 — the 15-step migration guide run on the new server
- Migration Steps index
- LogLocations System Parameter — disk paths for Log Databases on the new SQL Server
- Connection Strings — SQL Server connection string formats and encryption
- Log Databases — Log Database overview and management
- Configuration Database — central configuration storage
- IIS Windows Features — required Windows features for the new server
- Prerequisites, including the v7 migration checks
- Install Nodinite v7