> ## Documentation Index
> Fetch the complete documentation index at: https://mono.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Prepare a standby Node for an outage

> Provide a second server with the same settings and let it take over when the Node fails.

A standby Node has the same settings as your Node, is installed and is not active. If the Node fails, the standby starts from the last backup. Only one ever writes.

> [accordion] 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 mono` on the computer of the person who runs operations.

```mermaid theme={"system"}
flowchart LR
  A[Node, active] -. Backup every night .-> S[Standby Node, not active]
  A -- fails --> X[Stop]
  X --> R[Bring back last backup]
  R --> S2[Start standby]
  S2 --> T[Tunnel to the standby]
```

## 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.

> [!TIP]
>
> The standby host has the same settings and units as the Node, and they are not active.

> [!NOTE]
>
> 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](https://mono.mintlify.site/en/admins/backups.md).

**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.

> [accordion] 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.

> [accordion] 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](https://mono.mintlify.site/en/admins/models-local.md).

> [accordion] In chat
>
> Prepare the standby
>
> How do I prepare a standby Node?
>
> “Mono Admin” names the same steps.

## Next

> [card] [Backup and restore](https://mono.mintlify.site/en/admins/backups.md)
>
> The backup the standby starts from.

> [card] [Many Nodes from one topology](https://mono.mintlify.site/en/partners/topology.md)
>
> Topology, render and doctor.

> [card] [Custom address](https://mono.mintlify.site/en/admins/own-address.md)
>
> The address under which the standby answers.

> [card] [Health and diagnosis](https://mono.mintlify.site/en/admins/health-and-diagnosis.md)
>
> Whether the Node answers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.