šŸ“š Browse docs

Create a DR Site Pair

A DR Site Pair links this site to a second Asternodis controller, your recovery site. Replication and failover happen over this pair. You’ll need Asternodis installed at both sites first.

How pairing works

Pairing is a two-step handshake, done under Sites & nodes in the sidebar, on the Site pairs tab. All it needs is the Site Link address of one controller (host:port, the peer port, 8444 by default) and the pairing code:

  1. On one controller, press Create or join a pair, then Create a pair: name the pair and choose this site’s role. Asternodis generates a short pairing code and shows this site’s Site Link address.
  2. On the other controller, press Create or join a pair, then Join a pair, and enter that address and code.

The side you create the pair on has to be reachable from the other side over TCP, because the joining controller connects to it. That is the whole network requirement, and only for that one direction: once the pair exists the controllers use whichever direction is open, for the control calls as well as the data. The two sides authenticate each other, pin each other’s fingerprints, and keep a mutually-authenticated (mTLS) link between the controllers on the peer port. Every message across the link is authenticated against the pair: there’s no global trust, so one controller can safely hold many independent pairs.

You don’t enter node addresses, data ports or anything about your Proxmox nodes. Once the pair is active, the primary site runs a network check by itself, and the pair’s Site Link tab shows the link’s state. Replication, failback and container transfers go through the Site Link unless the network check proved the nodes can reach each other directly, in which case Auto mode uses those paths (see Site Pairs). The joining controller keeps the address you joined with for the pair. The site you joined learns the joining site’s address from that site’s Settings → Site Link, so set it there when the joining site is reached by another address (for example behind a NAT or a proxy); with only one direction open, the pair works anyway.

Over the internet

You don’t need a VPN for security: the control channel, the Site Link and VM replication data are mutually TLS-authenticated, and container and native-ZFS replication runs over key-authenticated SSH. A pair works across the internet as long as the Site Link port is reachable between the controllers, in one direction. See the port table in Install. Where the sites’ nodes can also reach each other directly, the optional direct paths are faster; teams that want to keep them off the internet often still put the nodes’ traffic inside a WireGuard or IPsec tunnel. The tunnel is convenient, not a security requirement.

Roles and direction

A pair has a primary (production) and a recovery side, and the roles are fixed. While a guest is failed over, the primary keeps its protection record; a failback returns the workload home, and forward protection from the primary resumes on its own. Nothing swaps roles, and there is no separate reprotect step. A site can hold several pairs, so one recovery site can protect more than one primary; each pair is configured on its own.

Next