Recovery Plans
Plans live on the Recover page (Recover in the sidebar; the old /plans address still
works). It has three tabs: Recovery plans (the list, with a count), Running DR tests and
Restore from a backup. At the top are Run a DR test, and, when they apply, Fail back a
site⦠and Fail over a site⦠(see Replication & recovery operations
for whole-site failover and failback). A banner above the tabs lists any guests running at this
site because they were failed over.
A Recovery Plan turns a pile of individual guests into a single, ordered runbook, so a real failover or a DR test runs as one orchestrated operation instead of a manual VM-by-VM scramble.
Building a plan
Press New plan under the list, give it a Name and choose its Pair, then press Create plan. A new plan starts with every guest of the pair in stage 1. Open the plan (click it in the list) to arrange it on the Stages card: add a guest to a stage with Add a guestā¦, take one out with its X, move a stage earlier or later with the arrows, add a stage with + Stage, and set Then wait ⦠seconds between stages. Order the guests into stages to encode boot-order dependencies: for example, bring up the database tier, wait for it to be healthy, then the app tier, then the front-ends. Each stage completes before the next begins. A stage with nobody in it is not saved. Edits to the name, the stages and the waits save on their own (when you leave the field or make the change, with a small save mark beside Stages); if a save fails, a floating bubble says so and offers Try again. A plan cannot be changed while a run of it is under way, and only an operator or admin can change one. If another console changed the plan while you were editing, the card says so, your edit is not saved, and Discard my change and reload the plan shows the plan as it now is.
Where plans are changed
A plan belongs to the recovery site of its pair. That is the only site that creates, edits, renames, deletes, schedules and runs it, so there is one copy to trust and nothing to reconcile between two.
On the recovery site you change plans directly. On the primary site the same page shows a read-only copy read from the recovery site (the list tags it Kept on that site), with a note saying when it was read. The controls are the same: when you create, edit, delete or schedule there, the change is sent to the recovery site, and the primary reads that siteās list again before it answers, so the page you changed it on shows the plan list the recovery site now has.
If the recovery site cannot be reached:
- the change is not made and the page says so, with the time of the copy it is showing;
- if the change was sent and no answer came back, the page says it may have been made and asks you to look at the list before pressing again. Pressing again is safe: a repeated create is refused because the name exists, and a repeated edit is refused because the plan changed since you opened it.
A refusal from the recovery site (the plan is running, the name is taken, another console changed the plan a moment earlier) is shown as it came, and reads the same on both sites.
If the recovery site runs an older version than the primary, the primary shows its last copy and asks you to update the recovery site before changing plans from there. Update the recovery site first, then the primary.
Plans set aside by the upgrade
An install that kept plans on both sites may have plans or changes that the upgrade could not keep as they were: a plan only the primary held, a primary version the recovery siteās replaced, a change that was never confirmed. None of them is deleted. The Plans set aside by the upgrade panel above the plan list lists them with Create this plan (the normal create form, filled in) and Dismiss. A copy of the whole database is kept beside it before the first change. A second panel, Plans the recovery site no longer lists, does the same for plans the recovery site stopped listing without saying it deleted them: dismiss the note if you deleted the plan on purpose, otherwise make the plan again from it.
Running a plan
The buttons are at the top right of the open plan. You can run a plan as either:
- a DR test (Run DR test): everything boots in an isolated network to prove recovery, non-disruptively; or
- a failover (Run failover, or Request failover when two-person approval is on): the real thing, at the recovery site.
Run a DR test at the top of the Recover page asks what you want to prove, a whole plan or a single guest. Choosing a plan opens it, where you press Run DR test; choosing a guest takes you to that guestās own DR test. Delete removes the plan (it asks first, and it is refused while the planās DR-test copies are still up: press Stop test first). Fail back appears once the planās guests are failed over.
During a run you watch each member and stage progress live on the stage board (each guestās chip shows its state). Health checks can gate a stage so the run only advances once a tier is actually up.
A failover run first shows the same go/no-go preflight across the planās guests; one that fails or couldnāt run must be acknowledged before the run starts (see Replication & recovery operations). The Will it fit? card on the plan asks the recovery cluster, when you press Check now, whether all the planās guests could come up at once: memory, storage, machine type and network (a NIC whose bridge does not exist on its recovery node) are hard failures, CPU oversubscription across guests only warns, and one VM wider than its node fails.
The failover confirm
Run failover on a plan opens a full-screen confirm that lists the planās stages in the order they run and names the members that will start, then reads the recovery cluster for anything already sitting at a memberās destination VMID. A stopped DR copy left there by an earlier failover or abort of that same guest is listed as a leftover DR copy, with the choice Replace the leftover DR copies, which starts unticked: ticking it destroys each of those stopped copies (disks included) and rebuilds the guest over it. DR copies are never deleted for you, and a leftover can hold writes made at the recovery site that exist nowhere else, so check the Storage page first if that matters. With it unticked, a member with a leftover is refused when its turn comes and shows as failed in the run. A running DR copy, a VM with no Asternodis tag, or a stopped Asternodis VM that is not shown to be that guestās own DR copy is listed too and is refused whatever you choose. The confirm button counts only the members that will start, and reads up to N guests when the leftover check could not be read (an unread check never reads as ānoneā and never blocks a failover). When two-person approval is on, the choice travels with the approval request. The same read is asked of the recovery site without starting anything: if that site runs an older build that cannot answer it, the confirm says the check could not be read.
A plan failover asks you to type to confirm: type FAIL OVER (capital letters, exactly; spaces around it are ignored, a lower-case āfail overā is not accepted) into the box before the button enables. The confirm warns that a plan failover promotes every guest in it to a live guest at the recovery site and stops forward replication. A single guestās failover and a plan DR test do not ask you to type. When two-person approval is on, the button reads Request failover and the confirm says it submits a request that a different operator must approve before the failover runs.
Stopping a DR test
Stop after stage on a DR test lets the guests still booting finish, starts no later stage, and tears nothing down: every isolated copy that is already up stays up until you press Stop test. The run is recorded as cancelled, with the stages that did not run named. Stop test removes each isolated copy in turn, about ten seconds each, so it can take a while for a larger plan. While it works the button reads Stopping⦠and is disabled, and the card says how many isolated copies it is removing (the copies that are up, not every guest in the plan). When it finishes the card says how many copies were removed; if the stop reports that a copy or its disk could not be removed, the card shows that reason instead of saying the copies were removed.
When something fails
If a member fails mid-run, you can retry just that member (its Retry button on the planās failure list) without re-running the whole plan. Every step is visible on the runās live progress as it happens (and under Operations in the sidebar), and a run survives a controller restart.
Running DR tests and backups
The Running DR tests tab lists every guest whose DR test copy is still up, on this site and on the sites it is the primary of: the guest, the copyās VMID, what it booted from (a recovery point or the live replica) and its Outbound setting, with View results and Stop test on each row. A site that could not be read is named rather than taken for ānoneā. A test copy left behind by a test that did not tear down is listed on the Storage page as a leftover DR test, where it can be removed.
The Restore from a backup tab is for when there is no live replica: any backup on the recovery site, on dir, NFS, CIFS or Proxmox Backup Server. Restore⦠opens the backup-capable storages Asternodis found on the recovery node: pick a storage, choose a backup, then say where it lands. Manage (admins) registers a Proxmox Backup Server datastore by name, optional because storages are auto-detected, and each registered source has Browse and restore.
Coming back
After a failover, failback returns each guest to its home site. Because Asternodis reverse-replicates changes back to the primary the whole time you run at the recovery site, failback is near-instant (it applies only the delta accumulated since the failover, not a full re-copy), and forward protection resumes on its own once the guest is home.
This assumes the recovered guest is running at the recovery site: a live guest is what lets Asternodis track its changed blocks. If you fail over with Power on unchecked, or stop the DR copy afterwards, there is nothing tracking changes: the copy is safe and nothing has been lost, but proving the two disks match means reading and comparing the whole disk, so that failback takes as long as a whole-disk read rather than seconds.
Evidence
The planās Schedule card sets the Automated DR test cadence, the RTO target (minutes, 0 for none), the Teardown hold (how long a scheduled test runs before it is stopped for you) and On a stage failure (Abort remaining stages, the safe default, or Continue to later stages anyway). These fields save on their own. The Last run card shows the planās latest run: when it started and finished, how long it took, its RTO and how many guests are done or failed.
DR-test runs feed the Evidence section, which turns them into exportable RTO/RPO evidence for audits and maps that evidence onto the control frameworks you are assessed against.
Next: Evidence.