Dominevo
Adding machines

Assigning cameras to nodes

How a camera ends up running on a particular machine, what moves it by default, how to pin it, and when to rebalance.

This page covers where camera placement is controlled, how to pin a camera to a specific machine or accelerator, and what the Rebalance action does.

Where placement lives

Open the Pipeline page and select the Cluster entry. It has these tabs:

TabWhat it is for
AssignmentsWhich camera runs where: one row per camera with its node and accelerator pins, the machine it runs on, and its live status.
Load balancingHow much each machine and accelerator carries: the placement policy, live load, node shares (target and actual), max concurrent sessions, the share source (Hardware, Benchmark or Manual), the capacity suggestion, accelerators (enablement, share, cap), stale device pins, and Rebalance.
Auto tuneThe recommended detector model for every machine.
Roles & nodesWho does what: the cluster roles (ingest, recording, audio, motion, post-processing), and for each machine whether it runs detection, the address other machines use to reach it, and its decode limits. The folder event media is written to is set on Recordings → Events.
SettingsCluster-wide settings, one card per subject: faces and recognition, semantic search, the enrichment crop, full-resolution crops, runner defaults and failover.
LogsLive orchestrator log stream — dispatch decisions, balancer moves, failover.

Editing the pipeline for a single camera is not done here. It lives on Device → Detection pipeline → Steps for that camera — see Where you change a step.

How a camera gets placed

By default the orchestrator chooses. It tracks each node's capacity and load and dispatches each camera to a node that can take it.

The defaults

A new camera is not pinned anywhere. Its Pipeline Node is Auto (load balanced). What that means depends on its detection mode:

  • On motion (the default): no node holds the camera between events. When motion starts, the detection session goes to a node that can take it, chosen by the placement policy (below). The next event may run somewhere else.
  • Always on: the camera is placed on one node and stays there until something below moves it.

The cluster-wide roles all default to the hub: connecting to the cameras (ingest), audio analysis, and software motion detection.

When the camera moves on its own

SituationWhat happens by defaultSetting
The cluster drifts out of balanceOnce a minute, if two or more nodes can run detection, the orchestrator moves an unpinned camera, but only when the target node is clearly less loaded — by at least one and a half cameras' worth, after weights. A balanced cluster sees no moves.None; always on
A node goes offlineUnpinned cameras move to another node. Pinned cameras stay assigned to the missing node and stop detecting until it comes back or you unpin them.When a node disconnects, Its pinned cameras
The node comes backCameras still assigned to it start again there, including pinned cameras that were waiting for it. Cameras that moved away stay where they are.When it comes back
A node is overloadedNothing moves. The node's state is only written to the log.Node stress handling

Change the failover defaults on Pipeline → Cluster → Settings → Failover, and node stress handling on Load balancing:

SettingDefaultOther choice
When a node disconnectsMigrate non-pinned camerasLeave all cameras unassigned
Its pinned camerasLeave pinned, unassignedAuto-unpin and migrate — the pin is cleared for good
When it comes backRestore previous assignmentsTrigger full rebalance, so unpinned cameras can move back
Node stress handlingObserve (log only)Off, or Failover: an overloaded node hands one camera at a time to a healthy node, at most four moves an hour across the cluster. When placement honours shares, the camera goes to the healthy node furthest below its share, and nothing moves if every healthy node already carries its share

The nodes for ingest, audio and motion are chosen on the Roles & nodes tab.

Pins

You can override placement in two ways, both in the Placement column of the Assignments tab:

  • Node pin — this camera runs on this machine, full stop.
  • Accelerator pin — this camera's inference runs on this specific accelerator of its node. It is offered once the camera has a node (pinned, or the one it last ran on).

A pin on the Assignments tab moves the camera at once. You can also set the camera's Pipeline Node to a node instead of Auto (load balanced) in the camera's pipeline settings. That takes effect at the camera's next dispatch or rebalance, not immediately.

Pin when you have a reason: a camera whose recordings must land on a particular machine's storage, or a camera you want on the box with the Coral. Leave the rest unpinned so the balancer can do its job.

Rebalancing

Load balancing → Rebalance moves always-on cameras that are no longer on their best node. Use it after you add or remove a node or change the shares — not as routine maintenance. On-motion cameras are placed per event anyway.

Pinned cameras stay where you pinned them.

Sharing the work

Load balancing decides how much detection each machine, and each accelerator inside it, carries.

Placement policy. Two choices:

  • Honour shares (default): the share of sessions running at the same time is held to the node and accelerator shares. With 70 / 20 / 10, the first session goes to the 70, and ten parallel sessions settle at 7 / 2 / 1. A machine at its max concurrent sessions hands its turn to a free one.
  • Least-loaded: a new session goes to the machine with the fewest sessions per unit of share. An idle machine always wins, so with on-motion cameras — whose sessions rarely overlap — the shares only matter once machines are busy.

Node shares come from one of three sources, chosen with the buttons above the sliders:

  • Benchmark (default): each machine's share follows how many cameras it carried in its own node benchmark. A machine without recent results uses its hardware capacity instead, and the tab says so for each one.
  • Hardware: each machine's share follows how many cameras its accelerators can run at the same time at the models Auto tune picks for it, from the published speed of its kind of hardware. Each accelerator's share inside the machine follows its speed.
  • Manual: the sliders, as you set them. They start from the automatic values.

Neither automatic source looks at how busy your cameras have been: the shares depend only on what each machine can carry, so they are the same right after a restart. Dominevo recomputes them by itself whenever a machine joins or leaves, an accelerator or a machine's detection is switched on or off, or a model changes or a benchmark result is stored — and again a minute later if a machine that just came back had not answered yet. Under Hardware or Benchmark the sliders show the result and cannot be dragged.

Either way, a machine or accelerator that cannot take sessions right now (offline, switched off) gives its share to the others in proportion; the tab says which one and where its share went. Manual shares always sum to 100%; locking one holds it while the others redistribute. The node cards show each machine's target share next to the share it actually carried over the last hour.

Suggest from hardware (or from benchmark) shows the capacity behind the automatic shares and a suggested session cap per accelerator. In manual mode it can be applied to the sliders; each cap is applied from its accelerator row.

Accelerators: per machine, whether each device is enabled, its share of the machine's sessions, and its cap. On a small machine the cap is the number the ramp actually held — Weak machines.

Stale device pins: a camera pinned to an accelerator that no machine offers any more (a disabled Coral, for example) ignores the pin. The tab lists them with a button to clear each one.

Recordings follow the camera

An agent writes the media for the cameras it owns, to that agent's own media root. Moving a camera to another node does not move its existing recordings. Plan storage per machine, and think before you re-pin a camera with a long retention window.