- 3 minutes to read

SQL Server Troubleshooting

Nodinite keeps its settings in the Configuration Database and its Log Events in one or more Log Databases, all hosted on Microsoft SQL Server. Most installation, update, and runtime problems that look like "Nodinite is broken" are really SQL Server plumbing: a connection string, a missing Linked Server, a Kerberos SPN, a firewall rule, or a missing right. This page is the index of the guides that fix them.

Where SQL Server Fits in Nodinite

On Windows Server, every Nodinite Core Service is its own IIS web site that connects to the Configuration Database with the connection string you set in the Nodinite Portal (Step 3: Infrastructure). The Configuration Database reaches the Log Databases through Linked Servers, and the Logging Service creates the first Log Database when it starts for the first time.

flowchart LR subgraph CS["fa:fa-server Nodinite Core Services Server"] Core["fa:fa-globe Core Services
IIS web sites"] end subgraph SQL["fa:fa-database SQL Server"] Config["fa:fa-database Configuration Database"] Log["fa:fa-database Log Databases"] end DC["fa:fa-shield-halved Domain Controller
Kerberos and SPNs"] MA["fa:fa-hard-drive Monitoring Agent"] Agent["fa:fa-database Monitoring Database"] Core -->|"Connection string, TLS"| Config MA -->|"Connection string"| Agent Config -->|"Linked Server, RPC and RPC Out, MSDTC"| Log Core -.->|"Kerberos ticket"| DC Config -.->|"Delegation"| DC style Core fill:#2678BD style Config fill:#3F827B style Log fill:#3F827B style DC fill:#9E59BB style MA fill:#E47528 style Agent fill:#E47528

Diagram: the SQL Server hops in a Nodinite installation. Blue is the Core Services, green the Configuration Database and Log Databases (joined by Linked Servers with RPC and RPC Out), purple the domain controller that issues Kerberos tickets for the SPNs, and orange the optional Monitoring Database that some Monitoring Agents use. Each hop has its own guide below; the ports are on the Firewall page.

Authentication and Connectivity

  • SPN – Service Principal Names — Hub: how SQL Server and IIS SPNs differ, when SPNs are required, and the shared setspn commands
  • SQL Server SPNs (MSSQLSvc) — Register SPNs for default and named instances, failover clusters, Always On listeners, and linked servers; validate with Microsoft Kerberos Configuration Manager
  • Connection Strings — Supported SQL Server connection string formats, certificate validation, Windows vs SQL authentication, and named instance syntax
  • Firewall — The one home for SQL Server, MSDTC, and domain controller ports between Nodinite and SQL Server

High Availability

  • Always On Availability Groups (AOAG) — Configure and troubleshoot SQL Server Always On for Nodinite databases; covers the listener, recovery model, and synchronization of new Log Databases

Database Maintenance

Migration

  • Database Migration — Move Nodinite databases to new disks, a new SQL Server instance, or a new host

Next Steps