Skip to content
Documentation
Updated 8 minutes to read
Markdown

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.

flowchart TD A["fa:fa-server Old server: Nodinite v6
+ 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.

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

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.

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.

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

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:

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

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”

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.

  1. Open the Nodinite v6 Web Client.

  2. Navigate to Administration → Monitor Management → Monitoring Agents.

  3. For each Monitoring Agent installed locally on the old server, verify that its Service URL uses the machine name instead of localhost.

  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.

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

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...