Contents

Warm standby

A warm standby is a verified copy of your Docker Compose application kept restored: DownDrill restores and checks it as a drill, then leaves it running instead of destroying it. This page covers starting and stopping one, its states, who can reach it today and what it does not do yet.

  1. StartAn administrator starts it from the asset’s page.
  2. RestoreThe newest copy that passed a drill is restored in a new sandbox.
  3. CheckThe asset’s checks run, and the start is recorded as a drill.
  4. KeepIf it passed, the sandbox keeps running, with a preview of one HTTP service.

What it is

Warm standby is for Docker Compose applications only, the assets the app labels Containerized application; WordPress sites and databases have none. Such an asset’s page has a Warm standby section, and an asset has at most one standby. Everyone in your organisation can see the section; only an administrator can start or stop a standby.

DownDrill keeps a running standby on the runner’s machine, with the application’s named volumes and internal network, until an administrator stops it.

Starting a standby

Administrators see Start warm standby when the asset has no standby, or its standby has stopped or failed. It starts from the newest copy that passed a drill, the one Copies held marks Newest verified; the page offers no way to choose another copy for a standby. To restore an older held copy, use Test this copy, an ordinary drill that keeps nothing running.

The start is a drill, which the app and the evidence say was started by standby. It restores those exact bytes, checked against the SHA-256 recorded when they were stored, without contacting your backup source, and runs the asset’s current checks within the asset’s time limit. Like any drill that passes or fails, it gets evidence and a ledger entry. A pass brings recovery debt back to 0; a failure is emailed to your alert list and is not retried.

Start is refused when no copy held for the asset has passed a drill, or when another drill of the asset is queued or running. Until the start ends, it is the asset’s one open drill.

What its states mean

Starting
Its drill is queued or running, and View the standby run follows it. While the drill is queued, an administrator can press Cancel queued drill on that page; the standby then shows Failed.
Running
The drill passed these checks and the runner kept the application. The section names the copy, the runner, and the service, port and path, with Open warm standby preview.
Stopping
An administrator pressed Stop warm standby, and the runner that started the standby has not yet reported back.
Stopped
That runner reported that it removed the standby. Start warm standby is offered again.
Failed
Its drill failed, it was cancelled while queued, or it passed but the runner did not report a usable preview. Failure, in the section, says why, and Start warm standby is offered again.

The preview, and who can reach it

The preview is a relay, DownDrill’s own container, that passes connections to that one service and port and to nothing else. No other service, the database among them, is published. Its address is plain HTTP on the runner’s machine, at a port chosen when the preview starts, followed by the check’s path. Open warm standby preview links to it, as does the standby run’s page.

As DownDrill runs today, that address is the loopback address of the runner’s machine, which can be reached only from that machine. The preview is not open to the internet, and you cannot open it either: in your browser, the button leads to a port on your own computer, not to the standby. A way to open the preview from your own browser is not built yet. The preview asks for no sign-in of its own; its address is what limits who can reach it.

No route out

The application’s containers stay on the standby’s internal network, as in any drill: it has no route out, to the internet, to your servers or anywhere else. They keep the drill’s limits on memory, CPU and processes, and nothing is mounted from the runner’s machine. So the standby cannot reach a payment provider, a mail service or anything else your application needs from outside.

The relay is the only container also on a second, ordinary network, through which its port is published. It runs with every capability dropped and only passes connections to its one service and port. More in Isolation and security.

Stopping a standby

Administrators see Stop warm standby while a standby is running. The runner that started it removes the application’s containers, volumes and networks, and the preview. Anything written to the standby goes with them: nothing is copied back. The encrypted copies in the vault stay as they were.

Only that runner can take the stop. If it reports that it could not, or stops answering part-way, the standby shows Running again, with the reason under Failure. To move a standby to a newer copy, stop it and start it again.

What it does not do yet

The stages towards failover are on downdrill.com.