---
title: "Planning Your Nodinite Database Migration: Pre-flight Checklist"
description: Pre-flight checklist and planning guide for Nodinite database migration operations.
---

# Planning

Depending on the type of move operation, there may be many steps to perform and potentially many competencies required. So make sure to have a plan!  

## Inform

Ensure all stakeholders are aware of the pending move operation since :Nodinite: is unavailable for the business/IT-ops/AM-Team during downtime.  

>[!IMPORTANT]
>Make sure to plan this operation carefully. Verify that all prerequisites are satisfied on new SQL Instances **before** moving any of the :Nodinite: databases.  

## Pre-flight Checklist

Before disrupting any services what so ever you must first make sure the **new environment** has the proper configurations regarding:  

|Control Step|Question|Description|  
|---|---|---|  
|#1. Version|Same or a newer version of SQL Server?|Can you **detach** and **attach** the database files, or do you need to perform a **backup** and **restore** operation? The latter takes more time. In addition, the `SqlPackage.exe` may need to be updated; Make sure to match the folders accordingly.|  
|#2. SQL Server instance name|New name on new SQL Server instance? (named or default instance)|Cluster and Listener names are virtual names and can be **re-used** in the new environment|  
|#3. Firewall|What firewall policies exist in the old environment?|Make sure to open the necessary ports for the new environment, see [SQL Server Firewall Configuration][SQL Firewall]|  
|#4. Linked Server(s)|Make sure the new environment has the corresponding [Linked Servers][] setup as in the old environment. If you are using AOAG, ensure they exist on all nodes. On a newer SQL Server version, or after an in-place upgrade, [recreate them with encryption][Recreate Linked Servers].|Without these, :Nodinite: can't access the other databases and the creation of new [Log Databases][] will likely fail|  
|#5. [MSDTC][]|:Nodinite: relies on this service|Make sure the new environment has the same configuration as the old one meeting the :Nodinite: prerequisites|  
|#6. [SPNs][SPN] registered|Kerberos requirement in a distributed environment|This step depends on the type of the new SQL environment and if you are using Logging from BizTalk Server and/or uses SQL Server Always-On|  
|#7. [Trusted for delegation][]|To get Kerberos operational in a distributed environment|Applies to distributed environments|  
|#8. Access rights|:Nodinite: New accounts must have same set of rights. Ensure they exist as [Users][] in the **Administrators** [Role][Roles].|Copy from the old environment|  
|#9. [SqlServer][] system parameter|**CRITICAL**: This parameter MUST be updated when moving to a different SQL Server instance|Contact [Nodinite Support][] for assistance updating this parameter with new server names, instance names, and cloud/on-premises configuration|  
|#10. Connection string|Does the connection string in the Nodinite Portal point to the new instance?|Update it in [Step 3: Infrastructure][Portal SQL Server] after the move and run the update, see [Configuration Changes][]|  

## Prepare the New SQL Server Instance(s)

Regardless of the type of new SQL Server instance to use, you must conform to the prerequisites.

The new SQL environment may be either of:  

* Stand-alone  
* Fail-over cluster  
* SQL Server Always On (AOAG)  
  
### Linked Servers

You must properly configure the set of [Linked Servers][]. Review the linked guide before proceeding.

According to the table below; You need to add the same set of Linked Servers for all that apply. If the new SQL environment is the same type and version as the old one; Copy/script the old Linked Servers using SSMS.

>[!IMPORTANT]
>On a newer SQL Server version (SQL Server 2022 and later), and after an in-place upgrade, a script of the old Linked Servers keeps the old provider and options and the linked server queries fail. Create them with the `MSOLEDBSQL` provider and encryption instead, as described in [Recreate Linked Servers After a SQL Server Upgrade][Recreate Linked Servers].

|Product|SQL Environment|Step|Comment|  
|---|---|---|---|  
|Nodinite|Default instance|Make sure there is a Linked Server for 'localhost' (or the server name)|Repeat for other external SQL Server instances with :Nodinite: databases|  
|Nodinite|Named instance|Make sure there is a linked server for 'localhost\instancename'|Repeat for other external SQL Server instances with :Nodinite: databases|  
|BizTalk (BizTalkMgmtDB)|Default instance|Make sure there is a linked server for 'BizTalkSQL[ClusterMGMTInstance]Name'||  
|BizTalk (BizTalkMgmtDB)|Named instance|Make sure there is a linked server for 'BizTalkSQL[ClusterMGMTInstance]Name\instancename'||  
|BizTalk (BizTalkDTADb)|Default instance|Make sure there is a linked server for 'BizTalkSQL[ClusterMGMTInstance]Name'|If this database is in another instance than the BizTalkMgmtDb|  
|BizTalk (BizTalkDTADb)|Named instance|Make sure there is a linked server for 'BizTalkSQL[ClusterMGMTInstance]Name\instancename'|If this database is in another instance than the BizTalkMgmtDb|  

>All Linked Server configurations must have the Security option 'Be made using the login's current security context' and the two Server options [RPC enabled][LinkedServer - RPC - RPC OUT]

### MSDTC

Review the [MSDTC][] user guide.

### SqlServer System Parameter

>[!IMPORTANT]
>**:fa-triangle-exclamation: CRITICAL MIGRATION REQUIREMENT**
>
>When moving :Nodinite: databases to a **different SQL Server instance**, you **MUST** update the [SqlServer][] system parameter.
>
>This parameter contains critical SQL Server connection details including:
>
>* Server names (on-premises vs Azure SQL)
>* Linked server names for distributed queries
>* Cloud vs on-premises configuration flags
>* Instance names for named instance deployments
>
>**Failing to update this parameter will render :Nodinite: non-operational** after migration. The [Logging Service][] will be unable to create new [Log Databases][] or query existing ones.

#### When to Update

* ✅ Moving to a **different SQL Server instance name**  
* ✅ Migrating to **Azure SQL Managed Instance** from on-premises (or vice versa)  
* ✅ Changing from **default instance to named instance**  
* ✅ Moving to a **different [Always On Availability Group][AlwaysOn] listener**  
* ✅ Changing **SQL Server cluster virtual network name**  

**Who Should Update**: Contact [Nodinite Support][] for assistance. This parameter requires expert configuration based on your exact SQL Server environment.

**Configuration Details**: See the [SqlServer][] system parameter documentation for complete field-by-field JSON structure explanation and scenario-specific configuration examples.

## Prepare the Nodinite Application Servers

If the new SQL Server instance is running with a higher version, you must update the SQLPackage (DACPAC) on the :Nodinite: Application Server to match the new version. In addition, you must change the [SqlPackageExecutable][] system parameter with information about the new path, which includes the new version number, and the `SqlPackage.exe` path in the Nodinite Portal ([Step 3: Infrastructure][Portal SqlPackage]) that the CLI uses when you update :Nodinite:.

Also check the [SqlPackageParams][] system parameter, which sets the encryption and certificate trust options passed to `SqlPackage.exe`. If the new SQL Server instance has a certificate from a trusted CA, you can set `TargetTrustServerCertificate` to `false`; with a self-signed certificate, keep the default `true`, or new Log Databases can't be created.

>Before continuing with the following steps, make sure to perform the steps with consideration to the prerequisites.

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

**Ready to execute your migration?** Choose your migration type:  

* :fa-hard-drive: **Same [SQL Instance][]** → [Local Disk Move][]  
* :fa-server: **Different SQL Instance** → [Remote SQL Instance Move][]  

## :fa-link-horizontal: Related Topics

* :fa-truck-moving: [Database Migration Overview][] - Hub page and decision tree  
* :fa-gear: [Configuration Changes][] - Connection strings after migration  
* :fa-circle-check: [Validation and DACPAC Registration][] - Testing and verification  
* :fa-flag-checkered: [Post-Migration Steps][] - Cleanup and optimization  
* :fa-database: [SQL Server Options][]  
* :fa-user-shield: [SQL Server Sysadmin Requirements][]  

[AlwaysOn]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Always%20On%20Availability%20Groups.md
[Configuration Changes]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/4.%20Configuration%20Changes.md
[Database Migration Overview]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/Overview.md
[Linked Servers]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Linked%20Servers.md
[LinkedServer - RPC - RPC OUT]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Linked%20Server%20RPC%20and%20RPC%20Out.md
[Local Disk Move]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/2.%20Local%20Disk%20Move.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[MSDTC]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Transactions%20MSDTC.md
[Nodinite Support]:https://support.nodinite.com
[Portal SQL Server]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/03%20-%20Infrastructure.md#configure-sql-server-connectivity
[Portal SqlPackage]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/03%20-%20Infrastructure.md#install-options-sqlpackage-and-dacpac-tooling
[Post-Migration Steps]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/6.%20Post-Migration%20Steps.md
[Recreate Linked Servers]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/Overview.md#fa-link-recreate-linked-servers-after-a-sql-server-upgrade
[Remote SQL Instance Move]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/3.%20Remote%20SQL%20Instance%20Move.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[SPN]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SPN.md
[SQL Firewall]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Firewall.md
[SQL Instance]:{ndr}/Logging%20and%20Monitoring/Database/Features/SQL%20Instance/Overview.md
[SQL Server Options]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SQL%20Server%20Options.md
[SQL Server Sysadmin Requirements]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SQL%20Server%20Sysadmin%20Requirements.md
[SqlPackageExecutable]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SqlPackageExecutable.md
[SqlPackageParams]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SqlPackageParams.md
[SqlServer]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/SqlServer.md
[Trusted for delegation]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Trusted%20for%20delegation.md
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md
[Validation and DACPAC Registration]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/5.%20Validation%20and%20DACPAC%20Registration.md