- 4 minutes to read

Validation and DACPAC Registration

In the new SQL Server instance, the Nodinite version in use needs to be correctly registered, and every Core Service must be tested against the moved databases.

Note

Nodinite v7: DACPAC version registration is partially automated. The CLI in the generated package handles the Configuration Database and the Monitoring Databases of agents in the package. Log Databases are registered with the Update Log Database guide under Administration › Settings › Log Databases in the Web Client. Nodinite v6 is no longer supported.

flowchart TB R1["fa:fa-terminal Register Configuration
and agent databases
CLI"] --> R2["fa:fa-database Register Log Databases
Update Log Database guide"] R2 --> W["fa:fa-play Start web application pools"] W --> T["fa:fa-vial Test Log API and Web API"] T --> S["fa:fa-play Start Logging and
Monitoring Services"] S --> V["fa:fa-circle-check Test Web Client and
Log Database status"] style R1 fill:#2678BD style R2 fill:#E47528 style S fill:#3F827B style V fill:#93d16d

Diagram: the order of this page. Register the versions with the CLI (blue) and the Update Log Database guide (orange) first, test the Log API and Web API before the Logging Service and Monitoring Service start writing again (teal), and finish in the Web Client (green).

Register DACPAC

Configuration Database and Agent Databases

  1. Download the latest Nodinite 7 package for the environment from the Nodinite Portal (or use your currently downloaded version), see Updating Nodinite v7

  2. In elevated PowerShell 7, run the CLI validation and deployment commands from the generated package (see Step 7):

    .\Nodinite.Installer.Cli.exe validate --config .\localhost\config.cli.json
    .\Nodinite.Installer.Cli.exe deploy-environment --config .\localhost\config.cli.json --dry-run
    .\Nodinite.Installer.Cli.exe deploy-environment --config .\localhost\config.cli.json
    
  3. The CLI deployment will automatically detect and register the correct DACPAC versions for:

  4. Verify the registered versions in Administration › Tools › Nodinite Overview

Log Databases

  1. Navigate to Administration › Settings › Log Databases in the Web Client and open the Update Log Database guide
  2. Copy the generated script for each Log Database
  3. Using a command prompt as the service account for the Nodinite Logging Service, run the provided script
  4. Verify registration - the version number should match your Nodinite version
  5. Repeat for each Log Database

Start the IIS Application Pools

Start the stopped application pools of the Web Client, Web API, Log API, and the other Core Services. Review the IIS Authentication settings user guide for additional information.

Important

Do NOT start the Logging Service and the Monitoring Service yet; start them after the basic tests, in Start the Logging and Monitoring Services.

Basic Validation Tests

Navigate to Administration › Tools › Nodinite Overview in the Web Client to access quick links to all Nodinite Core Services.

Nodinite v7 Overview with clickable links to the Core Services
Example: Nodinite v7 Overview page with clickable URI links.

Validate that all Core Services are working correctly:

Log API Test

From the Nodinite Overview, click the Log API link.

  • Open the Scalar interface (/scalar) and insert a JSON Log Event example. You verify that it appears in the Admin Log View in the Web Client test below.

Web API Test

From the Nodinite Overview, click the Web API link.

  • Using the Scalar interface (/scalar), perform a test of the Get operations for Roles. All roles should be returned in the response JSON

Start the Logging and Monitoring Services

Start the Logging Service and the Monitoring Service, with the Start button in Step 5 of the Update Log Database guide or in IIS Manager.

Web Client Test

Navigate to the Web Client home page.

  • Perform a search in the Admin Log View and verify that there are Log Events in the search result, including the one from the Log API test

Database Status Verification

From Administration › Settings › Log Databases in the Web Client, verify:

  • Server name(s) match the new SQL Server environment
  • Database name(s) are correct
  • Version numbers match your Nodinite version
  • All Log databases are listed as operational

Log Databases list with every Log Database shown as operational
Confirmation that all Log Databases are listed as operational in Nodinite.

Next Steps

Validation successful? Continue with final steps: