Prerequisites for the Nodinite Configuration Database
Section titled “Prerequisites for the Nodinite Configuration Database”The Configuration Database is the one SQL Server database that holds the configuration of a Nodinite environment. It has no account of its own: the CLI's installation user creates and updates it, every Core Service except the Web Client connects to it as its own service identity, and it reaches the Log Databases through Linked Servers that keep the caller's identity. This page tells the person who maintains the installation what each of those identities needs, and what SQL Server, Windows, and the network must provide.
- ✅ See at a glance which account needs which right on the Configuration Database, and why
- ✅ Prepare SQL Server, MSDTC, Kerberos, and the Linked Servers before you run the CLI
- ✅ Know what to change when the Core Services run as different accounts
The CLI creates the database as part of Install Nodinite v7; this page covers only what must be true around it.
Understanding Who Uses the Configuration Database
Section titled “ Understanding Who Uses the Configuration Database”Diagram: the installation user (orange) creates and updates the database; the Core Services (blue) connect to it as their own identities; queries to the Log Databases go through Linked Servers with the caller's identity (teal databases).
Accounts and Rights at a Glance
Section titled “ Accounts and Rights at a Glance”| Right | On what | Why | Without it |
|---|---|---|---|
sysadmin for the installation user |
The SQL Server instance, while the CLI runs | The CLI creates the database and applies schema updates (SQL Server Sysadmin Requirements) | The install or update stops with permission errors |
| A login and database roles for each service identity | The Configuration Database | Each service reads and writes its configuration and System Parameters; the roles per service are on its own page (who needs what) | That service can't start or fails on every call |
| The same login for each service identity | Every instance with Log Databases, and every node of an Always On Availability Group | Linked Servers pass the caller's identity on | Log searches, Monitor Views on Log Databases, and logging fail |
| Membership in LogServiceUsers | The System Parameter, for each identity that is not sysadmin |
The Logging Service grants LogAccessRoles on each new Log Database to that list | The identity loses access to the newest Log Database at the next split |
| Trusted for delegation and SPN values | The Core Services identities and the SQL Server instances, in Active Directory | Kerberos carries the identity from the Core Services Server over the Linked Server to a Log Database or BizTalk database on another instance (Kerberos) | Those Linked Server calls arrive as an anonymous login and fail (error 18456) |
| A configured MSDTC | Every SQL Server involved when a Log Database is on another instance; the Core Services Server for a resend to a transactional MSMQ queue | A write to a remote Log Database inside a transaction becomes a distributed transaction (DTC) | Log Events for that Log Database are refused, and a transactional MSMQ resend fails |
| Inbound TCP 1433 and MSDTC ports | The SQL Server, from the Core Services Server | The services connect over the network (firewall) | No service reaches the database |
The Web Client needs no SQL Server rights: it works only through the Web API.
When the Core Services Run as Different Accounts
Section titled “When the Core Services Run as Different Accounts”When you clear Same account for all Services in the Portal (Core platform services), repeat the rows above for every account: a login on every instance and every Always On node, the roles from that service's Prerequisites page, and an entry in LogServiceUsers. With one shared account, you set this up once. The Core Services Overview compares the rights of all services side by side.
SQL Server
Section titled “ SQL Server”You can deploy SQL Server on physical machines, virtual machines, or in the cloud, provided that the Windows version matches the prerequisites for your SQL Server version. Check the supported versions and editions in Microsoft SQL Server.
You set the SQL Server type (standalone, Always On Availability Group, or Azure SQL Managed Instance) and the connection string in the Nodinite Portal, Step 3: Infrastructure. See Connection Strings for tested formats.
SQL Server Related Optimizations
Section titled “ SQL Server Related Optimizations”To get the most out of Nodinite, apply these suggestions:
- Run Nodinite in dedicated SQL instances to guarantee hardware resources, avoid resource contention, and simplify troubleshooting.
- Assign dedicated disk volumes for the Log Databases so that extended logging does not affect other systems. Use the LogLocations System Parameter to assign volumes.
- Keep the Logging Service close to the SQL Servers that host the Log Databases.
Repeat the optimizations below on all SQL Server instances (Configuration Database, Log Databases, BizTalk databases).
- Use the -T1118 trace flag on SQL instances older than 2016 to optimize tempdb.
- Disable PAC Verification if your policy allows it, on all Windows Servers that run Nodinite Core Services; this reduces RPC calls and improves performance.
- Give the servers dedicated Windows swap volumes (more than 2.5 × physical RAM) and SQL disks with more than 300 MB/s read and write.
- Keep a secure backup volume (or network share) with enough free space for the Nodinite databases.
- Windows Servers hosting any Core Services should have at least 16 GB RAM. Environments with high message volumes may need more.
- For each core assigned to your SQL Instance (up to 8), create one tempdb file of 128 MB (no autogrowth).
If you have 14 cores, create 8 tempdb files. Placing tempdb files on different volumes may further increase overall system performance.
- Keep Nodinite Log Databases used with BizTalk in Simple recovery mode (the default, set by the LogDatabaseRecovery System Parameter).
Microsoft Distributed Transaction Coordinator (DTC)
Section titled “ Microsoft Distributed Transaction Coordinator (DTC)”The Windows service Microsoft Distributed Transaction Coordinator (DTC) is used in two cases:
- A Log Database on another SQL Server instance. The Log API writes each batch of Log Events in one transaction. When the target Log Database is on another instance, the write goes through a Linked Server, and SQL Server promotes it to a distributed transaction. Other writes to a remote Log Database inside a transaction do the same. With every Log Database on the Configuration Database's instance, no distributed transaction starts.
- A resend to a transactional MSMQ queue from the Web Client, which the Web API runs in a distributed transaction on the Core Services Server.
Configure it as described in MSDTC on every SQL Server involved, and on the Core Services Server when you resend to MSMQ.
What Windows Rights Does the Configuration Database Require?
Section titled “ What Windows Rights Does the Configuration Database Require?”The Configuration Database needs no Windows rights of its own. What matters is that the identity of each Core Service survives the hop from the Core Services Server to SQL Server and on through the Linked Servers: when a service reads a Log Database or a BizTalk database on another instance, its own account runs that query. A Log Database on the same instance is reached by its three-part name, with no Linked Server call and no delegation. For Windows Integrated Security to carry the identity to another instance, configure Kerberos as follows.
Trusted for Delegation
Section titled “ Trusted for Delegation”Allow the Core Services identities to delegate to the SQL Server services, as described in Trusted for delegation.
Register SPN
Section titled “Register SPN”In a distributed environment, Kerberos requires all SQL instances (both physical node names and cluster names) to have their Service Principal Names (SPNs) registered in Active Directory.
What SQL Rights does the Configuration Database require?
Section titled “ What SQL Rights does the Configuration Database require?”Three kinds of identity touch the Configuration Database. Each right has one home page; this table points to it.
| Identity | Rights on the Configuration Database | Home |
|---|---|---|
| Installation user (runs the CLI) | sysadmin on the instance while the CLI runs |
SQL Server Sysadmin Requirements |
| Web API | db_datareader, db_datawriter, db_ddladmin, EXECUTE |
Web API SQL rights |
| Log API | EXECUTE (it writes through stored procedures) |
Log API SQL rights |
| Logging Service | EXECUTE, plus sysadmin, or dbcreator, diskadmin, and securityadmin, on the instance to create Log Databases at run time |
Logging Service SQL rights |
| Monitoring Service | db_datareader, db_datawriter, EXECUTE |
Monitoring Service SQL rights |
| MCP Endpoint | db_datareader, db_datawriter, EXECUTE (no db_ddladmin) |
MCP Endpoint database access |
| Web Client | ❌ None | Web Client SQL rights |
Grant the same logins on every instance that hosts Log Databases and on every Always On node: SQL logins are not replicated between nodes, and the Linked Servers pass the caller's identity on.
For the full rights matrix and the model to use when policy blocks permanent sysadmin, see SQL Server Sysadmin Requirements. Two System Parameters decide the rights on each new Log Database:
- LogAccessRoles – the database roles granted on each new Log Database
- LogServiceUsers – the accounts that get those roles
What Firewall settings are required for the Configuration Database?
Section titled “ What Firewall settings are required for the Configuration Database?”The Configuration Database never calls the Nodinite Core Services; they connect to it. It opens connections of its own only through Linked Servers, to the Log Databases and to other databases Nodinite reads, such as the BizTalk databases. Every server also needs a domain controller for DNS and Kerberos. The diagram shows each host, with the port on the arrow, drawn from the side that opens the connection.
Diagram: the Core Services connect to the Configuration Database, which reaches the Log Databases and other databases through Linked Servers; all servers use the domain controller for DNS and Kerberos.
The SQL Server, MSDTC, and domain controller ports are shared by all Nodinite components, so their full details live on one page, SQL Server Firewall Configuration. The tables below list each hop in one row per port and link there.
Between the Core Services and the Configuration Database
Section titled “Between the Core Services and the Configuration Database”| Direction | Source | Destination | Protocol | Port(s) | Purpose | Notes |
|---|---|---|---|---|---|---|
| Outbound | Core Services Server | SQL Server (Configuration Database) | TCP | 1433 | SQL Server connection from each Core Service | Default instance port; named instances and changed ports: Core Services to SQL Server |
| Outbound | Core Services Server | SQL Server (Configuration Database) | UDP | 1434 | SQL Server Browser | Only for a named instance without a port in the connection string; see SQL Server Browser Service |
| Both | Core Services Server | SQL Server (Configuration Database) | TCP | 135 + dynamic RPC range | MSDTC distributed transactions | Only for a resend to a transactional MSMQ queue; range and how to restrict it: Core Services to SQL Server |
Between the Configuration Database and the Linked Servers
Section titled “Between the Configuration Database and the Linked Servers”| Direction | Source | Destination | Protocol | Port(s) | Purpose | Notes |
|---|---|---|---|---|---|---|
| Outbound | SQL Server (Configuration Database) | SQL Server (Log Databases, BizTalk databases) | TCP | 1433 | Linked Server queries | Only when the databases are on another instance; see SQL Server to SQL Server |
| Both | SQL Server (Configuration Database) | SQL Server (Log Databases) | TCP | 135 + dynamic RPC range | MSDTC for Linked Server transactions | Requires RPC and RPC Out on the Linked Server |
Between every server and the domain controller
Section titled “Between every server and the domain controller”| Direction | Source | Destination | Protocol | Port(s) | Purpose | Notes |
|---|---|---|---|---|---|---|
| Outbound | Core Services Server, SQL Servers | Domain Controller (DNS server) | TCP/UDP | 53 | DNS name resolution | Kerberos needs host names, not IP addresses; hosts-file entries are a fallback |
| Outbound | Core Services Server, SQL Servers | Domain Controller | TCP/UDP | 88 | Kerberos authentication and delegation | Needs registered SPN values; see Domain Controller ports |
| Outbound | Core Services Server, SQL Servers | Domain Controller | TCP/UDP | 389 | LDAP account and group lookups |
What to get right
Section titled “What to get right”- Default and changed ports: SQL Server listens on TCP 1433 by default. Named instances and changed ports use their own port; put that port in the connection string you set in the Nodinite Portal (Step 3: Infrastructure) to avoid UDP 1434.
- Same server: when SQL Server runs on the Core Services Server, no firewall rule is needed between them. Linked Servers on the same instance need no rule either, but they're still required.
- Versions: these ports are the same in every Nodinite version.
- Azure SQL Managed Instance uses other ports; see Azure SQL Managed Instance.
- DNS (53): every server must resolve the others by name, including the Linked Server names and the Always On listener.
Linked Servers
Section titled “ Linked Servers”Nodinite uses Linked Servers to reach a Log Database or BizTalk database on another instance. A Log Database on the Configuration Database's own instance is reached by its three-part name, but the localhost (or localhost\instance) Linked Server is still required: the Logging Service tests it before it creates a Log Database and stops if it is missing. Configure the Linked Servers before you run the v7 CLI package (Install Nodinite v7).
Review and follow the steps detailed in the linked servers section to ensure a robust and secure configuration.
Frequently asked questions
Section titled “ Frequently asked questions”Additional solutions to common problems and the Nodinite Configuration Database FAQ exist in the Troubleshooting user guide.
Next Steps
Section titled “ Next Steps” Install Configuration Database
Linked Servers
System Parameters
Related Topics
Section titled “ Related Topics” Configuration Database
Core Services
LogAccessRoles
Log Databases
Logging Service
LogLocations
LogServiceUsers
Microsoft SQL Server
MSDTC
SPN
SQL Firewall
SQL Server Always On Availability Groups user guide
System Parameters
Troubleshooting
Trusted for delegation
Uninstall Configuration Database
Update Configuration Database