---
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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> is unavailable for the business/IT-ops/AM-Team during downtime.  

<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>Make sure to plan this operation carefully. Verify that all prerequisites are satisfied on new SQL Instances <strong>before</strong> moving any of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> databases.</p></div>
</aside>

## 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, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> can't access the other databases and the creation of new [Log Databases][] will likely fail|  
|#5. [MSDTC][]|<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> relies on this service|Make sure the new environment has the same configuration as the old one meeting the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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|<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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.

<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>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 <code>MSOLEDBSQL</code> provider and encryption instead, as described in <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/overview/#fa-link-recreate-linked-servers-after-a-sql-server-upgrade">Recreate Linked Servers After a SQL Server Upgrade</a>.</p></div>
</aside>

|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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> databases|  
|Nodinite|Named instance|Make sure there is a linked server for 'localhost\instancename'|Repeat for other external SQL Server instances with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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

<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><i class="fal fa-triangle-exclamation" aria-hidden="true"></i> CRITICAL MIGRATION REQUIREMENT</strong></p><p>When moving <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> databases to a <strong>different SQL Server instance</strong>, you <strong>MUST</strong> update the <a href="https://docs.nodinite.com/administration/settings/system-parameters/sqlserver/">SqlServer</a> system parameter.</p><p>This parameter contains critical SQL Server connection details including:</p><ul>
<li>Server names (on-premises vs Azure SQL)</li>
<li>Linked server names for distributed queries</li>
<li>Cloud vs on-premises configuration flags</li>
<li>Instance names for named instance deployments</li>
</ul><p><strong>Failing to update this parameter will render <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> non-operational</strong> after migration. The <a href="https://docs.nodinite.com/core-services/logging-service/overview/">Logging Service</a> will be unable to create new <a href="https://docs.nodinite.com/core-services/log-databases/overview/">Log Databases</a> or query existing ones.</p></div>
</aside>

#### 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

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.

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

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

* <i class="fal fa-hard-drive" aria-hidden="true"></i> **Same [SQL Instance][]** → [Local Disk Move][]  
* <i class="fal fa-server" aria-hidden="true"></i> **Different SQL Instance** → [Remote SQL Instance Move][]  

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

* <i class="fal fa-truck-moving" aria-hidden="true"></i> [Database Migration Overview][] - Hub page and decision tree  
* <i class="fal fa-gear" aria-hidden="true"></i> [Configuration Changes][] - Connection strings after migration  
* <i class="fal fa-circle-check" aria-hidden="true"></i> [Validation and DACPAC Registration][] - Testing and verification  
* <i class="fal fa-flag-checkered" aria-hidden="true"></i> [Post-Migration Steps][] - Cleanup and optimization  
* <i class="fal fa-database" aria-hidden="true"></i> [SQL Server Options][]  
* <i class="fal fa-user-shield" aria-hidden="true"></i> [SQL Server Sysadmin Requirements][]  

[AlwaysOn]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/always-on-availability-groups/
[Configuration Changes]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/configuration-changes/
[Database Migration Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/overview/
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[LinkedServer - RPC - RPC OUT]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-server-rpc-and-rpc-out/
[Local Disk Move]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/local-disk-move/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[MSDTC]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/transactions-msdtc/
[Nodinite Support]:https://support.nodinite.com
[Portal SQL Server]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/03-infrastructure/#configure-sql-server-connectivity
[Portal SqlPackage]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/03-infrastructure/#install-options-sqlpackage-and-dacpac-tooling
[Post-Migration Steps]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/post-migration-steps/
[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
[Remote SQL Instance Move]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/remote-sql-instance-move/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[SPN]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn/
[SQL Firewall]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/firewall/
[SQL Instance]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-instance/overview/
[SQL Server Options]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-options/
[SQL Server Sysadmin Requirements]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-sysadmin-requirements/
[SqlPackageExecutable]:https://docs.nodinite.com/administration/settings/system-parameters/sqlpackageexecutable/
[SqlPackageParams]:https://docs.nodinite.com/administration/settings/system-parameters/sqlpackageparams/
[SqlServer]:https://docs.nodinite.com/administration/settings/system-parameters/sqlserver/
[Trusted for delegation]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/trusted-for-delegation/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[Validation and DACPAC Registration]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/validation-and-dacpac-registration/