---
title: "Installation"
description: "Learn the Privilege Secure architecture and deployment options, including single server, remote services, and high availability."
keywords:
  - system architecture
  - Service Mesh
  - high availability
  - Active-Passive
  - Active-Active
  - Web Service
  - LAPS
  - Bring Your Own Vault
sidebar_position: 30
---

# Installation

These topics describe the installation and initial configuration process of Netwrix Privilege
Secure. Before installing Privilege Secure, ensure that all installation requirements are
met. See the [Requirements](/docs/privilegesecure/25.12/requirements/overview.md) topic for additional information.

Privilege Secure includes a temporary 30-day license. Contact the organization’s sales
representative to purchase a license.

## System architecture

Netwrix Privilege Secure consists of several components that work together to manage and report
on activity:

- **Web Interface** — Allows the user to access and configure the Privilege Secure Console, via the Web
  Service.
- **Web Service** — The central web service is responsible for database access and communication out to
  each service component i.e. licensing, email, action, and proxy. The web service communicates to
  components on TCP/6500 but can be configured to run on any port e.g. https port 443.
- **Service Mesh** — The service mesh connects remote services to the central Web Service. Each remote
  “leaf” node is configured as a mesh so traffic may be routed via the most efficient route back to
  the web service. The service mesh registers to the webservice on TCP/6520 and all subsequent
  communication is over TCP/6523 for Leaf nodes and TCP/6524 for cluster nodes.
- **License Service** — The Privilege Secure license service by default installs with a 30 day / 10 user
  license. When the license expires, only the built-in Admin account can log into the product until
  a valid license is added; under these conditions, a red error displays on the main login page.
  The license service communicates with the central web service via TCP/6500 by default.
- **Email Service** — The email service connects Privilege Secure to an external SMTP server. It
  supports authenticated and unauthenticated connections and TLS. The email service
  communicates with the central web service via TCP/6500 by default.
- **Scheduler Service** — The scheduler service is responsible for setting up and maintaining any
  date/time-specific actions such as password changes and system scans etc. It is installed by
  default on the Privilege Secure server; remote nodes communicate back to the central web service
  via the Service Mesh
- **SIEM Service** — The SIEM service is responsible for processing events that enter the SIEM table,
  and forward onto a configured SIEM provider. It supports both on-prem and cloud-based services,
  and uses a template configuration for portability; built-in templates are available for
  CEF and LEEF. It is installed by default on the Privilege Secure server; remote nodes communicate
  back to the central web service via the Service Mesh.
- **Action Service** — Connects Privilege Secure to managed resources and runs actions defined in the
  console on those resources, such as Active Directory synchronization, password changes, and account
  orchestration. Many action services can connect to the Privilege Secure web service through the
  Service Mesh. Outgoing connections vary according to action.
- **Proxy Service (Session Proxy)** — The Privilege Secure proxy service connects users to resources via
  RDP and SSH protocols; the proxy is also responsible for storage of session recordings via its
  iolog component. Many proxies can be implemented for load balancing and redundancy and
  recording/storage functions can be enabled according to preference. The proxy may be implemented
  on Windows, Linux, or Docker Container. Incoming user connections from user desktops are over
  TCP/4489 (RDP) and TCP/4422 (SSH). Outgoing server connection are via TCP/3389 (RDP) and TCP/22
  (SSH). For remote proxies, all communication back to the central webservice is via the service
  mesh.
- **Remote Desktop Monitor Service** — The Privilege Secure Remote Desktop Monitor service monitors the
  Windows event activity that occurs during an RDP session. It must be installed on the target host
  before the launching of an RDP session. The service listens for terminal services connections.
  When a session begins, the service attaches to the session when it identifies the channel used by
  the Privilege Secure Proxy service and sends the Windows events back to the application. It
  specifically monitors what windows are opened and what menus are selected during an RDP session.
  See the [Install Remote Desktop Monitor Service on Target RDP Hosts](/docs/privilegesecure/25.12/install/servicesonadditional/rdpmonitor.md) topic for
  additional information.

## Single Privilege Secure server

Install Privilege Secure for Access Management on a single Windows server. Typically, this
architecture is only used for Proof of Concepts or testing purposes. All components install on
the application server. This scenario provides rapid start capability, and in most cases,
you complete installation and initial configuration in about 20 minutes.

![Single Server Deployment](/images/privilegesecure/25.12/accessmanagement/install/singleserverdeployment.png)

## Privilege Secure server with remote services

The Proxy and Action services consume resources according to load. Often you
install Proxy and Action Services on additional hosts for scalability, redundancy, or network
segmentation. Adding these services to other hosts provides the option to disable these services on
the application server.

![Distributed Architecture Data Flow Diagram](/images/privilegesecure/25.12/accessmanagement/install/distributedarchitecture.png)

The user can contact the Web service over port 6500, shown as a blue arrow. They can also
connect directly to the Proxy service, shown as a green arrow over port:

- RDP port is TCP 4489
- SSH port is TCP 4422

The Proxy connects to the managed resources over their native ports:

- RDP port is TCP 3389
- SSH port is TCP 22

The Action service executes actions on manage resources and Active Directory using PowerShell
remoting over:

- WinRM port TCP 5985 or 5986
- SSH port 22

The Action service also needs to communicate with Active Directory on a variety of different ports.
See the [Ports](/docs/privilegesecure/25.12/requirements/ports.md) topic for additional information.

The Service Mesh connects remote services to the central Web service. Each remote “leaf” node is
configured as a mesh so traffic may be routed via the most efficient route back to the web service.
The Service Mesh registers to the Web service on TCP 6520. All subsequent communication is over:

- Leaf nodes port TCP 6523
- Cluster nodes Port TCP 6524

## Active-passive database deployment with PostgreSQL database

For high-availability, the application lets you configure two identical servers so that at
any one time, all components of all hosts are active for load-balancing and
redundancy, with a replicated database pair. When the Primary becomes unavailable,
use a high-availability configuration tool to manually initiate failover. All external components
on operational resources continue to service requests.

![Active-Passive Database Deployment Diagram](/images/privilegesecure/25.12/accessmanagement/install/activepassivedatabase.png)

The Active-Passive configuration, which is only available with the PostgreSQL database, allows you
to use the embedded database. It is also the simplest option for configuring high-availability.
However, it does require manual intervention to failover.

## Active-active database deployment

The Active-Active configuration for high-availability supports both the PostgreSQL and SQL
Server database options. Failover requires no manual intervention. You can add many application servers
to the database for redundancy and scalability. However, setup is more complex than an
Active-Passive configuration. You also need an additional server for the database.

![Active-Active Database Deployment Diagram](/images/privilegesecure/25.12/accessmanagement/install/activeactivedatabase.png)

## Cloud-native database deployment

Cloud-native databases are useful for Active-Active configuration. They benefit from having
built-in high-availability and auto-scaling. AWS supports databases for PostgreSQL (Aurora
PostgreSQL) and SQL Server (RDS SQL Server). Azure also supports databases for PostgreSQL and SQL
Server.

![AWS Active-Active Database Deployment Diagram](/images/privilegesecure/25.12/accessmanagement/install/awsdatabase.png)

## Third-party vault integration

Often you want to pull managed credentials from existing vaults into Privilege Secure
activities. Benefits include:

- Faster deployment
- Consolidate multiple vendors into a single user interface
- Onboard credentials without having to change API references in applications
- Build on existing infrastructure

![Bring Your Own Vault Integration Diagram](/images/privilegesecure/25.12/accessmanagement/install/byovdatabase.png)

## LAPS integration

Microsoft Active Directory supports changing local Administrator passwords. The LAPS
integration lets Privilege Secure activities use those passwords. Benefits include:

- Use existing investment in local password management
- Faster deployment time
- Offboard password changing process to Active Directory

![Bring Your Own Vault LAPS Integration Diagram](/images/privilegesecure/25.12/accessmanagement/install/byovlapsdatabase.png)
