---
title: "Step 3: Infrastructure – Install Nodinite v7"
description: "Step 3 for installing Nodinite v7: configure the SQL Server connection string for the Configuration Database (in the Portal or at run time), the SqlPackage path, SQL DB Lookup entries for sqllookup, and the outbound network proxy."
---

# <i class="fal fa-forward-step" aria-hidden="true"></i> Step 3: Infrastructure

This step covers the database and network plumbing that the installer needs: the SQL Server connection for the [Configuration Database][], the SQL deployment tooling, the SQL DB Lookup entries, and the outbound proxy.  
![Infrastructure step for the Contoso Environment Test: a Standalone database with the connection string for sql01, the installation media and SqlPackage path, then the Network / Proxy section and Next to Servers, animated walkthrough (7.12)][1]  
*Animated walkthrough: keep **Standalone**, enter the **SQL connection string** for the Configuration Database, check **Install settings**, open **Network / Proxy**, and click **Next**.*  

Click the **Infrastructure** step button to review the database and network settings. The Portal writes these values into the generated installation package.

You can provide:

* [SQL Server connectivity and the connection string](#configure-sql-server-connectivity) for the Configuration Database; required, in one of two ways
* [SQL DB Lookup entries](#configure-sql-db-lookup) for the [sqllookup][] [Formula][] plugin; optional
* [Network and proxy settings](#configure-network--proxy) for outbound HTTP calls; optional

## <i class="fal fa-network-wired" aria-hidden="true"></i> Understanding What the Installer Does with SQL Server

The installer creates or updates only the [Configuration Database][]. It deploys the database schema with SqlPackage from [DacFX][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, running as the user who runs the CLI. It creates no Log Database: the [Logging Service][] creates the first [Log Database][Log Databases] when it starts for the first time, and every later one ([Install Log Databases][]).

<div class="mermaid">
flowchart LR
    subgraph "Nodinite Portal: Step 3"
        P1["fa:fa-keyboard Connection string<br/>entered in the Portal"]
        P2["fa:fa-toggle-on Provide during<br/>install/update"]
    end
    subgraph "Step 7: CLI on the Core Services Server"
        ARG["fa:fa-terminal --database-connection-string,<br/>environment variable, or prompt"]
        SQLP["fa:fa-gears SqlPackage.exe (DacFX)"]
    end
    subgraph "After the installation"
        LS["fa:fa-hard-drive Logging Service<br/>first start"]
    end
    subgraph "SQL Server"
        CDB["fa:fa-database Configuration Database"]
        LDB["fa:fa-database First Log Database"]
    end
    P1 --> SQLP
    P2 --> ARG
    ARG --> SQLP
    SQLP -->|"Create or update"| CDB
    LS -.->|"Creates"| LDB
    style P1 fill:#2678BD,color:#fff
    style P2 fill:#2678BD,color:#fff
    style ARG fill:#E47528,color:#fff
    style SQLP fill:#E47528,color:#fff
    style LS fill:#3F827B,color:#fff
    style CDB fill:#93d16d
    style LDB fill:#FFD525
</div>

*Diagram: the connection string comes from the Portal (blue) or from the CLI at run time (orange); SqlPackage from [DacFX][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> creates or updates the [Configuration Database][] (green). Later, the [Logging Service][] (teal) creates the first [Log Database][Log Databases] (yellow).*  

## Configure SQL Server connectivity

Enter the target SQL Server in the **Database** panel.

![Database panel with the Database type Standalone, Prompt for SQL connection string during install off, and a SQL connection string for sql01 (7.12)][6]  
*The **Database** panel: the database type, the prompt option, and the connection string for the [Configuration Database][].*  

* **Database type**
  * **Standalone** (default): a single SQL Server instance
  * **AlwaysOn**: an Always On availability group; see [Always On Availability Groups][]
  * **Managed Instance**: Azure SQL Managed Instance; the CLI user needs no `sysadmin` here, see [SQL Server Sysadmin Requirements][]
* **Prompt for SQL connection string during install**: turn it on for SQL credentials, managed instances, or any connection string that shouldn't be stored in the Portal. The **SQL connection string** field then shows *CLI prompts during install*.  
  ![Database panel with Prompt for SQL connection string during install on, and the SQL connection string field showing CLI prompts during install (7.12)][2]  
  *With the prompt on, the installer asks for the connection string at run time.*  
* **SQL connection string**: the [connection string][ConnectionStringsExamples] for the Configuration Database, such as `Data Source=sql01;Initial Catalog=Nodinite_Prod_Config;Integrated Security=True;Encrypt=True;TrustServerCertificate=True`. The installer uses it to create the database, or to upgrade an existing one in place, and the installed <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> services keep connecting with it at run time.

### Choose one of these two paths

1. Enter the SQL connection string directly in the Portal.
2. Turn on **Prompt for SQL connection string during install** to provide it at run time. Then pass it with `--database-connection-string` or the `NODINITE_DATABASE_CONNECTION_STRING` environment variable, or answer the CLI prompt ([Step 7: passing arguments][Step07 Arguments]).

<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>The connection string is mandatory. Provide it here or at run time by toggling the option; an undefined database connection is not supported.</p></div>
</aside>

For tested formats and security guidance, use the [SQL Server Connection String examples][ConnectionStringsExamples]. The user who runs the CLI needs `sysadmin` on the SQL Server instance during install and update ([SQL Server Sysadmin Requirements][]).

### Install options (SqlPackage and Dacpac tooling)

The **Install settings** panel holds the installation media and the SQL deployment tooling.

![Install settings panel with the Installation media note, the expected media folder InstallationMedia, and the SQL package path to SqlPackage.exe (7.12)][3]  
*The **Install settings** panel.*  

* **Installation media**: the downloaded package already contains the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> release ZIP files, in the folder `InstallationMedia`, so you enter no ZIP file paths. Keep that folder next to the installer when you unzip the package; if it is missing or empty, copy the release ZIP files into it before you run the installer.

* **SQL package path**: confirm the full path to `SqlPackage.exe`, which deploys the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> databases. [DacFX][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> must be installed on the servers where the installer runs. The default path is `C:\Program Files\Microsoft SQL Server\170\DAC\bin\SqlPackage.exe`; check it with the [DacFX verification][PrereqDacFX].
* Keep these values aligned with the account that runs install and update.

Use [SQL Server options][SQLServerOptions] for deployment-model specifics.

## Configure SQL DB Lookup

>💡 This is an optional configuration. Configure it only if you need the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [sqllookup][] Formula plugin.

Use the **SQL DB Lookup** panel when [Search Field Expressions][] should query reference tables in SQL Server with the [sqllookup][] [Formula][] plugin. The installer registers these named connection strings on the [Logging Service][], and lookups reference them by name. Click the panel to expand it.

![SQL DB Lookup panel expanded, with Lookup connection strings showing No values and the Add button (7.12)][4]  
*The **SQL DB Lookup** panel before you add an entry.*  

### Add a SQL DB Lookup entry

1. Click **+ Add** under **Lookup connection strings**. A row with **Name** and **Connection string** appears.
2. Enter a **Name**. It becomes the `CSTRID`, the first parameter, in the [sqllookup][] expression.
3. Enter the **Connection string** for the reference database. A row with a name and no connection string is a validation error; enter one, or remove the row with **×**.  
   ![SQL DB Lookup panel with one entry: the Name CustomerReferenceData and a connection string to the CustomerReferenceData database on sql01 (7.12)][5]  
   *An SQL DB Lookup entry.*  
4. Save the [Environment][] after you add the entry.

### SQL DB Lookup rules

* Use a stable name, such as `SqlDbLookupLocal` or `CustomerReferenceData`.
* Keep the connection string read-only from the target database's point of view.
* Don't rename an SQL DB Lookup entry after Search Field Expressions start using it.
* Use the same name in your [sqllookup][] expressions.

### Example mapping

With an SQL DB Lookup entry named `mylookup`, use that name in a Search Field Expression with the [sqllookup][] Formula plugin:

```ini
sqllookup('mylookup', 'MyLookupDB', 'AreaCodes', 'Name', 'AreaCode', body)
```

For the full syntax and more examples, see the [sqllookup][] page.

<h2 id="configure-network--proxy">Configure Network / Proxy</h2>

> 💡 This is an optional configuration. Configure it only if your servers need an outbound HTTP proxy to reach external endpoints.

The Network / Proxy section controls how the installer reaches outbound HTTP endpoints during registration, health checks, and OAuth discovery calls. Click the panel to expand it, then define the proxy mode, the proxy URL, and the bypass hosts.

![Network / Proxy panel with the Proxy mode system, an empty Proxy URL, both proxy toggles on, and an empty Proxy bypass hosts list (7.12)][7]  
*The **Network / Proxy** panel with its defaults.*  

### Typical values to review

* **Proxy mode**: **Use Windows/system proxy** (the default) uses the server's Windows proxy settings, **No proxy** disables proxy use, and **Manual proxy** routes through the proxy you enter in **Proxy URL**. The CLI [proxy overrides][Step07 Proxy] use the same modes as `system`, `none`, and `manual`.

  ![Proxy mode list with Use Windows/system proxy, No proxy, and Manual proxy (7.12)][8]  
  *The three proxy modes; Use Windows/system proxy is selected by default.*  
* **Proxy URL**: the proxy, including scheme and port, for example `http://proxy01:8080`.
* **Use Windows credentials for proxy auth** (on by default): the installer authenticates to the proxy as its own process identity.
* **Bypass local and intranet names** (on by default): localhost and single-label internal server names skip the proxy.
* **Proxy bypass hosts**: hosts the installer reaches directly, one host or wildcard per line, such as `*.dev.local` or `sql01.contoso.local`; commas and semicolons are accepted too.

To change the proxy only for one run, use the CLI [proxy overrides][Step07 Proxy]. Which hosts the servers must reach is listed in the [Network and Firewall Overview][].

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

* [<i class="fal fa-forward-step" aria-hidden="true"></i> Step 4: Servers][Step04]  
* [<i class="fal fa-backward-step" aria-hidden="true"></i> Step 2: Auth][Step02]  

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

* [<i class="fal fa-rocket" aria-hidden="true"></i> Install Nodinite v7][Main]  
* [<i class="fal fa-forward-step" aria-hidden="true"></i> Step 1: Basics][Step01]  
* [<i class="fal fa-forward-step" aria-hidden="true"></i> Step 5: Agents][Step05]  
* [<i class="fal fa-forward-step" aria-hidden="true"></i> Step 6: Review and Download][Step06]  
* [<i class="fal fa-database" aria-hidden="true"></i> Configuration Database][Configuration Database]  
* [<i class="fal fa-database" aria-hidden="true"></i> SQL Server Connection Strings][ConnectionStringsExamples]  
* [<i class="fal fa-user-shield" aria-hidden="true"></i> SQL Server Sysadmin Requirements][SQL Server Sysadmin Requirements]  
* [<i class="fal fa-magnifying-glass" aria-hidden="true"></i> sqllookup Formula][sqllookup]  
* <i class="fal fa-gear" aria-hidden="true"></i> [Change the connection string after a database migration][Migration Configuration Changes]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/Portal_AddEnvironment_Infrastructure.gif
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/Infrastructure_Database_PromptForCstr.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/Infrastructure_InstallSettings.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/InfrastructureTab_DBLookup.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/InfrastructureTab_DBLookupEntry.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/Infrastructure_Database.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/InfrastructureTab_Proxy.png
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/InfrastructureTab_ProxyModes.png

[Always On Availability Groups]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/always-on-availability-groups/
[Configuration Database]:https://docs.nodinite.com/core-services/configuration-database/overview/
[ConnectionStringsExamples]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[DacFX]:https://aka.ms/dacfx-msi
[Environment]:https://docs.nodinite.com/getting-started/menu-environment/
[Formula]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/formula/overview/
[Install Log Databases]:https://docs.nodinite.com/core-services/log-databases/getting-started/install/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Main]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7/
[Migration Configuration Changes]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/configuration-changes/
[Network and Firewall Overview]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/#network-and-firewall-overview
[PrereqDacFX]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/verify-prerequisites/#fa-file-prescription-dacfx-sqlpackageexe-verification
[Search Field Expressions]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/
[SQL Server Sysadmin Requirements]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-sysadmin-requirements/
[sqllookup]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/formula/extract/sqllookup/
[SQLServerOptions]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-options/
[Step01]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/01-basics/
[Step02]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/
[Step04]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/
[Step05]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/05-agents/
[Step06]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/06-review-and-download/
[Step07 Arguments]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/#passing-arguments-when-needed
[Step07 Proxy]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/#proxy-overrides