Dominevo
Adding machines

Adding another machine

When a second machine helps, what an agent actually is, and what it costs you in complexity.

This page helps you decide whether you need a second machine, and explains what changes about your install when you add one.

What an agent is

An agent is Dominevo started in the agent role. It joins your hub over the network and contributes its hardware to the workload. The hub keeps orchestrating; the agent does work.

It runs the same way a hub does: the container image started with DOMINEVO_ROLE=agent, or the Mac desktop app set to Agent (worker) on first launch. Either kind of agent can join either kind of hub.

An agent's application version is managed by its hub, so an agent container on an older image tag still runs current code. Update a cluster from the hub, not machine by machine.

When it is worth it

Add an agent when a single machine is the bottleneck and the bottleneck is something an agent can absorb:

  • You have an accelerator on the wrong box. A Coral, an Intel NPU or a capable GPU on a machine that is not your hub. This is the strongest reason.
  • You have a Mac. A Mac mini runs detection on the Apple Neural Engine and decodes with VideoToolbox, so it can take detection work off the hub.
  • Decode is saturating the hub. Several 4K HEVC cameras with no hardware decode on the hub will eat it; a machine with an integrated GPU can take those cameras.
  • You want cameras processed near where they are. Agents own the cameras assigned to them, including their recordings.

Do not add an agent because it feels tidier. It is a second machine that has to stay up, on a network that has to stay reliable, running a version your hub controls. One well-specified box is easier to operate than two. Sized examples, including an agent that should only decode, are on Example setups.

What changes when you add one

Single machineWith agents
The hub's addressNot usedAgents fetch addon bundles and models from the address ticked for Internal on the Network page. It is picked automatically; add a custom address when agents dial another one, for example under Docker bridge networking.
DOMINEVO_MOLECULER_USE_HOSTNAMEIrrelevantMust be false on every node, or nodes advertise container hostnames nothing can resolve and the cluster never forms.
Ports4443, plus random UDP ports for live videoAlso 6443/TCP (mutual TLS) on the hub and on each agent, and 5353/UDP if you want the hub found by name (mDNS). See Ports.
UpdatingPer nodeFrom the Cluster page, so ordering is handled — agents first, hub last.
RecordingsOne media rootEach agent writes the media for the cameras it owns, to its own media root. Plan storage per machine.

Next