Link two servers
A link is a lasting connection between exactly two Vaulthalla servers. Each server records the other's key, and a super admin on each side approves. Mirrored vaults travel over a link, and nothing else does: a link on its own copies no vault and gives the other server no access.
Desktop makes a link easy to find and quick to set up, but it never makes one for you. Before anyone confirms, it shows what each server will hold.
Before you start
- Both servers run Vaulthalla 1.27 or later. An older node reads "needs Vaulthalla 1.27 or newer" in the Link Servers sheet, and Link stays disabled.
- This Mac is paired as a super admin on at least one of the two. Every linking command needs a super admin on that server. Desktop never works around a refusal.
- One of the two can reach the other: the same network, a VPN, or a forwarded port.
What a link gives the other server
The Link Servers sheet states this for each direction before you confirm:
| What the other server gets | |
|---|---|
| Accounts | Shared as identities only. |
| Vaults | None. No vault is mirrored until one server offers it and the other accepts. |
| Access to mirrored vaults | The default role you pick for it in that direction. No role is the default. |
| Any third server | Nothing. Trust goes no further than the two servers. |
Link from Desktop
Open All Nodes and choose Link Servers…. Two paired nodes that aren't linked also get a quiet row on All Nodes, "A and B are not linked", with Link…, which opens the same sheet with both servers picked.
What happens next depends on where this Mac's account is a super admin:
| This Mac is a super admin on | What you do |
|---|---|
| Both servers | Confirm on one screen. Desktop links them over its own connections. |
| One of them | Request the link from that server. The other server's admin approves it there. |
| Neither | Nothing from here. A super admin of either server can start it there. |
Pick the two servers
In Link Servers…, pick both nodes.
Check what each will hold
The sheet shows both servers by name and address, with the short form of the key this Mac pins for each. Under What server will hold here, it lists, per direction, accounts as identities only, no mirrored vaults yet, and a picker for that server's default role on vaults mirrored with it (No role unless you pick one).
Choose Link
Desktop checks both servers against the keys it already trusts and compares the pairing code for you. The sheet shows each step: checking both servers, one reaching the other, comparing the code, and recording the link.
What you'll see: "A and B are linked." If you picked a role and a server refused to set it, the sheet says which role wasn't set where and why. The link stays; that server simply has no role on mirrored vaults from that side yet. If linking fails, Desktop undoes what it started and says "A and B weren't linked."
Request the link
In Link Servers…, pick the server you are a super admin on and choose Request a Link.
Ask the other admin to open a window
That admin opens Accept a Link Request… in Desktop, or Linked servers › Accept a link in the other server's web console. Their window lists the server's addresses.
Enter the other server's address
Type it as their window lists it (
hostorhost:port), then choose Request a Link. Your server dials it.Read the code and the key to them
The sheet shows Read this to server's admin: a six-digit code and your server's key. The other admin checks that the key on the request matches, and clicks the same code.
What you'll see: "Waiting for server's admin to approve…", then "server's admin approved the code. The two connect on their own." The link then shows under Linked servers in All Nodes. If they declined or picked a different code, or the request expired, the sheet says so and nothing was linked. Cancel stops the request.
Accept a link request
When another server's admin starts a link with a server you administer:
Open the window
In All Nodes, under that node's linked servers, choose Accept a Link Request…. The node opens a window for linking. The sheet shows this server's key, its addresses, and how long the window stays open.
Give the other admin an address
They choose Request a Link in Desktop (or Linked servers › Link a server in their web console) and enter one of the addresses shown.
Check the key, then click the code
Their request appears with their server's name and key. Check that the key matches what they read to you, then click the code they read out. A wrong code declines the request. Deny declines a request you didn't expect.
What you'll see: "server is now linked with this server. The two connect on their own." Closing the sheet closes the window, and any request that wasn't approved expires with it.
Manage your links
All Nodes lists each node's linked servers:
| Line | Meaning |
|---|---|
| Connected since time | The link is up. |
| Not connected since time | The link is down. Check that one server can still reach the other. |
| speaks an older link protocol: update it | The other server needs a newer Vaulthalla. |
| linked by Desktop, linked by a person | Who set up the link. |
Each row's menu has:
- Rename…: the name this server shows for the other one. The other server keeps its own name for it.
- Unlink…: this server stops trusting the other's key and closes the connection; the other server is told and unlinks too. To link them again, make a new link.
If linking doesn't work
Linking problems
- Cause
- That server can't link servers.
- Fix
- Update Vaulthalla on it.
- Cause
- Neither server lets this Mac's account link servers.
- Fix
- Ask a super admin of either server to start the link there.
- Cause
- Someone is pairing a device or a server on that node. Only one window can be open at a time.
- Fix
- Try again when they're done.
- Cause
- A can't reach that address.
- Fix
- Check the address and the firewall, or use an address on a network both share (LAN, VPN or a forwarded port).
- Cause
- The other admin didn't approve in time, or their window closed.
- Fix
- Ask them to open Accept a Link Request… again, then request again.
- Cause
- That server refused the default role you picked.
- Fix
- The link stands. A super admin on that server can set the role later.
What linking does not do
- It doesn't mirror anything. See Mirrored vaults for offering a vault to a linked server.
- It doesn't link more than two servers, and a third server gains nothing from a link.
- AI apps can't link servers: a person always does it in the app or the web console.
