What you need
What you need
- A self-hosted Node with a working backup. In Kubernetes, there is no standby.
- A second host on which the Node’s backups are stored or arrive, for example through the off-site copy.
- A topology of the setup and
pnpm monoon the computer of the person who runs operations.
Prepare the standby
1
Open the way in Operations
Open Operations › “Add”, choose “Prepare a standby Node” and then “Prepare”. The Console shows the four steps.
2
Add the standby host to the topology
Add the standby host to the Node:
"availability": { "mode": "cold-standby", "standby": "<host>" }.3
Generate the files again
Generate the files for every host again with
pnpm mono render.4
Install the standby
Run the generated steps on the standby host. It is installed but not activated.
5
Check
Check with
pnpm mono doctor whether everything is right. It only reads.The standby host has the same settings and units as the Node, and they are not active.
Mono does not measure the standby itself, and the Console has no button for the switch. The person who runs operations carries out the switch, following the generated runbook.
When the Node fails
1
Stop the old Node
If the old Node is still running, stop it. Both must never run at the same time.
2
Bring back the last backup
On the standby, bring back the newest backup, as described under Backup and restore.
3
Start the standby
Start the Node on the standby host.
4
Switch the tunnel
Point the tunnel at the standby. The backup brings the Node’s signing key along, so sign-ins stay valid.
Why never two active Nodes?
Why never two active Nodes?
A self-hosted Node keeps its whole state in one file: approvals, audit log, sign-ins and one-time codes. Two Nodes on it would both approve, use up the same code and split the audit chain. That is why today there is only the cold standby.
And the models?
And the models?
The models scale separately. Two devices with the same model form a pool, and if one fails, the other steps in. See Local model servers.
In chat
In chat
Prepare the standby
Next
Backup and restore
The backup the standby starts from.
Many Nodes from one topology
Topology, render and doctor.
Custom address
The address under which the standby answers.
Health and diagnosis
Whether the Node answers.