Lesson 2 of 7 · 2 min
Proxmox VE
An API token, and SSH to every node.
Where: any machine that reaches a node of the cluster over HTTPS (port 8006) and every node over SSH, as root, with the program’s own key: Hosts → Add host shows it — add it to /root/.ssh/authorized_keys of each node.
Account: an API token (Datacenter → Permissions → API Tokens), of root@pam or one allowed to read, make and start machines and to allocate space — for example root@pam!iglubox.
Backups: a running machine’s own QEMU takes a view of all its disks at one instant and serves it over NBD, with a dirty bitmap per disk for what changed. A machine that is off is read whole each time (what is kept already is not sent again). Containers (LXC) are backed up too: running, from a snapshot of their LVM-thin volumes; off, from their volumes on LVM-thin, LVM or a directory. Containers on ZFS or Btrfs are refused, and said so.
Restores: as a new machine (new ID, name, MAC addresses) on a storage of the node, or in its place.
Running from a backup: the node mounts the backup server as an NFS storage (igx-…), and Move disk moves the machine to a storage of its own while it runs.
Tags: Proxmox VE’s own.
A first version: QEMU’s part was tried for real, Proxmox VE’s API and its nodes through a simulation. Back up and restore a test machine before relying on it.