Skip to main content

Install Access Analyzer

The installer is a single Linux binary, dspm-installer. Run it as root on the server, and it checks the hardware, asks for anything you haven't supplied, sets up every service, and prints the address and credentials for the first sign-in.

Before you start, work through Requirements. You need the license key, the server's fully qualified hostname, the TLS certificate and private key files, and the email address & name of the first administrator at hand.

Download the Installer

  1. Download the Access Analyzer installer for your server's architecture from the download link Netwrix supplied with your license: dspm-installer-linux-amd64 for 64-bit x86 or dspm-installer-linux-arm64 for Arm.

  2. Copy the file to the server, for example with scp.

  3. Rename it.

    mv dspm-installer-linux-amd64 dspm-installer
  4. Make it executable.

    chmod +x dspm-installer
  5. Confirm it runs.

    ./dspm-installer --version

Copy the TLS Certificate to the Server

The installer expects the certificate at /etc/dspm/tls.crt and the private key at /etc/dspm/tls.key. If you keep them somewhere else, enter the paths when the installer prompts for them, or pass them with --tls-cert and --tls-key.

  1. Create the directory.

    sudo mkdir -p /etc/dspm
  2. Move the certificate and key into place.

    sudo mv /path/to/your.crt /etc/dspm/tls.crt
    sudo mv /path/to/your.key /etc/dspm/tls.key
  3. Restrict the key to root.

    sudo chmod 600 /etc/dspm/tls.key

If a private certificate authority (CA) issued the certificate, copy its CA bundle too. /etc/dspm/ca-bundle.pem is a convenient place; the installer asks for the path.

Run the Installer

Run the installer with sudo. The -E flag carries your environment through to root, which matters if you export the license key as LICENSE_KEY instead of typing it.

sudo -E ./dspm-installer

If your sudo policy doesn't allow -E, pass the variable inline instead: sudo LICENSE_KEY="$LICENSE_KEY" ./dspm-installer.

The installer runs its preflight checks first, then collects any value it doesn't have yet. You can let it ask, or supply everything up front.

When you run the installer with no flags in a terminal, it asks for each value it needs, one screen at a time. It asks only for values it doesn't already have, so a re-run skips what you answered before.

  1. License Key - paste your Netwrix license key in the form XXXX-XXXX-XXXX-XXXX-XXXX-V3. The installer validates it online before moving on.
  2. Hostname - enter the fully qualified domain name users open in their browsers, for example dspm.corp.example.com. If the server's own name is a valid choice, the installer offers it as a suggestion.
  3. First Admin Email and First Admin Name - enter the email address of the first administrator, and optionally their full name. The address becomes their username.
  4. TLS Certificate File, TLS Private Key File, and CA Bundle File (optional) - press Enter to accept /etc/dspm/tls.crt and /etc/dspm/tls.key, or enter other paths. Fill in the CA bundle only if a private certificate authority issued the certificate. The installer checks that the certificate and key match, that the certificate hasn't expired, and that it covers the hostname you entered.
  5. Show advanced settings? - select No.
  6. Check the review screen. It lists the hostname, the certificate path (and the CA bundle path if you gave one), the first administrator, and a masked license key.
  7. Answer Yes to Everything look good?

The installer saves each answer to /etc/dspm/installer.yaml as soon as you confirm it. On the first save it prints Progress saved to /etc/dspm/installer.yaml — future runs will pre-fill these values. If you cancel with Esc or Ctrl-C, the installer exits with installation cancelled, and your answers stay in that file for the next run.

Preflight Checks

The installer checks the server first, under the heading Running preflight checks.... Checks that pass are silent. Each failure or warning gets its own line, tagged [FAIL] or [WARN], for example:

[FAIL] 48.0 GB RAM; the medium size requires 64 GB
[WARN] clock-sync no clock sync daemon detected

A [FAIL] stops the install. There's no way to override it: fix the server or choose a smaller size, then run the installer again. Failures cover CPU cores, RAM, the 40 GB disk floor, DNS resolution of the hosts the installer downloads from, and the availability of cgroups, a kernel feature the platform depends on.

A [WARN] is a condition the install can continue past, such as less disk than the size recommends, no time-sync service, or antivirus software that may need exclusions. In a terminal the installer asks Continue despite these warnings?; answer Yes to go on. Without a terminal, warnings stop the install unless you pass --accept-warnings.

The full list of checks, thresholds, and messages is in the Installer reference. The installer also writes the complete result of each run to /var/log/dspm-preflight.json (a --dry-run doesn't write it).

Install Phases

After the checks and prompts, the installer validates the certificate and hostname, confirms the license key online, and saves your answers. Then it works through these phases, printing a progress line for each:

  1. Sets up the platform Access Analyzer runs on. The installer waits up to 5 minutes for it to become ready.
  2. Downloads and starts the Access Analyzer services. A live line reads Starting Access Analyzer (<n> of <total> services running) and counts up. The installer waits up to 30 minutes for every service to become healthy.
  3. Creates the first administrator account, under Provisioning first admin user....

If the platform or the services don't become ready inside those limits, the installer stops with a non-zero exit code; the Installer reference lists the codes. If creating the first administrator fails, the installer prints a warning and still finishes. The installer logs everything it does to /var/log/dspm-installer.log.

Install Summary

The installer prints a summary. It contains:

  • The web application URL, https://<hostname>.
  • First Admin Credentials: the Username, which is the email address you gave, and a one-time Password.
  • A reminder to allow inbound port 443 through the firewall.
  • The installation log path, /var/log/dspm-installer.log.

Copy the password somewhere safe. It works once, and Access Analyzer asks you to replace it when you first sign in. Then open the URL in a browser and continue with Sign in for the first time, which also explains how to read the password back from the server if you lose it.