Partizan VMS

Video management system

Video surveillance that keeps recording

Partizan VMS records, shows and manages cameras on a cluster of standard servers, from a few cameras to more than 1,000. When a server, a disk or the network fails, recording continues.

Download How it works

System components: cameras, a cluster of identical servers, the shared archive, clients and modules.

From one server to 1,000+ cameras

Start with one server and add more as the site grows. Nothing needs to be reinstalled, and recording does not stop.

No master server

All servers are identical: the same software, each with its own disks. Any of them can fail, including the first one.

About a minute to recover

From three servers up, the cameras of a failed server move to the healthy ones automatically.

Recording comes first

A failure of the archive, the database, the network between servers or an add-on module does not stop recording.

How the system is built

Cameras send video to a cluster of identical servers. Operators and administrators work with it through the desktop client and the web interface.

Cameras

ONVIF cameras and Partizan cameras and recorders, H.264 and H.265. Usually two streams are recorded per camera: the main stream in high resolution and the sub stream for long-term storage.

Cluster servers

Every server runs the same services: video recording, management and API, database, message bus and archive storage. Each has a fast NVMe buffer and HDDs for the archive.

Shared archive

The HDDs of all servers add up to one shared cluster archive. Every piece of video is stored redundantly on different servers.

Clients and modules

Operators use the desktop client, administrators use the web interface. Access control, analytics and other modules run as separate programs and never affect recording.

From camera to archive

Video goes through three stages, and a recording is never deleted until its next copy is confirmed.

How video travels from the camera through server memory and the NVMe buffer to the cluster archive.
How video travels from the camera through server memory and the NVMe buffer to the cluster archive.
  1. Server memory

    The last seconds of every camera are kept in memory. Live video goes to clients straight from there. Video is never transcoded, so one server handles about 100 cameras.

  2. NVMe buffer

    Video is written to the local NVMe drive in files of about 2 seconds. The buffer holds at least 8 hours of recording if the archive is unavailable.

  3. Cluster archive

    Files are merged into 1-minute chunks and moved to the shared archive. A file leaves NVMe only after its copy in the archive has been verified by checksum.

The retention period is set per stream, for example 30 days for the main stream and 180 days for the sub stream. Important footage can be protected from deletion.

If the archive is unavailable, recording continues on NVMe, and the backlog is uploaded automatically: 8 hours catch up in about 4 hours.

Grows with the site

The system always starts on one server. New servers join through the installation web wizard: enter the address of the first server and the join token, then select the disks. Everything else is configured automatically, and recording does not stop.

Cluster sizes and quorum: 1–2 servers, 3 or more servers, a large cluster.
Cluster sizes and quorum: 1–2 servers, 3 or more servers, a large cluster.

1–2 servers

For a start and small sites. Not fault tolerant: the system shows a warning.

3 or more servers

A quorum of 3. Survives the failure of any one server, including the first one.

Large cluster

A quorum of 5 in different racks. The quorum survives the failure of two of its servers at once.

Some services make decisions by voting, so the cluster keeps a quorum of 1, 3 or 5 servers. The system chooses the quorum servers, and the administrator expands the quorum with one button on the Cluster page.

Built to survive failures

Each server reports to the cluster that it is alive. When one stops responding, the cluster waits about 35 seconds to ignore short network glitches and hands its cameras to the least loaded healthy servers. About a minute after the failure the cameras are recording again.

Server failure: its cameras move to healthy servers in about a minute, the archive stays available.
Server failure: its cameras move to healthy servers in about a minute, the archive stays available.

No single point of failure

From three servers up, the managing role moves to another server automatically.

Servers work on their own

A server keeps recording its cameras even when it loses contact with the rest of the cluster.

Store safely, then delete

Video leaves the local disk only after it has been confirmed in the archive, which keeps several copies.

Isolated modules

Analytics, access control and other modules run separately with limited resources. Their failure does not affect recording.

Doors decide on their own

Decisions that affect people's safety are made by the access controller itself. A failure of the VMS neither locks nor unlocks doors.

Risky actions are done by a person

The system never removes a server or a disk on its own: it raises a warning, and the administrator decides.

Design guidelines

Size servers and disks so that the site keeps recording through a failure.

At least 3 servers

Where continuous recording matters. 1–2 servers suit only sites that can tolerate downtime.

N+1 capacity

Count on about 100 cameras per server and one spare: 300 cameras need 4 servers, not 3.

NVMe for 8 hours

Buffer size = maximum bitrate of all streams × 8 hours + 10%. Choose the drive by its endurance (DWPD) with a margin of 1.5×. No RAID for the buffer.

Different racks and power lines

Especially for the quorum servers, so that one incident cannot take out several servers at once.

10 Gbit/s between servers

Each server receives its camera streams (about 600 Mbit/s for 100 cameras) and exchanges archive data with the others.

Time over NTP

Synchronize cameras and servers: the accuracy of the archive timeline depends on it.

Full guidelines in the documentation →

Applications

Desktop client

The operator workstation: video wall, archive and alarms. The client decodes video itself, so servers spend no resources on transcoding. macOS, Windows and Linux.

Web interface

Administration of cameras and users, the Cluster page with servers, disks and buffer status, and quick viewing of a few cameras. Opens from any server of the cluster.

Modules

Access control, video analytics, scales and other add-ons. Each module runs as a separate program and cannot interfere with recording.

Download

The latest release of the server image and the desktop client.

Loading…

Installation

  1. Write the ISO to a USB drive or attach it to the server's virtual console.
  2. Boot the server from it and install the system on the system disk.
  3. Open the address shown on the server's screen in a browser. The installation wizard creates a new cluster or joins the server to an existing one.

Installed servers receive updates from apt.vms.partizan.global.