Table of Contents

VirtBench

A desktop program for looking after virtual machines, containers and backups on Proxmox VE, Proxmox Backup Server and libvirt (KVM/QEMU), from one window. For Linux and Windows.

Not released yet. Version 0.1.0 is a test build; the download page will follow once it has been tried on a real Windows computer.

Version history: changelog.

Installing

The window is virtbench; the command line is virtbench-cli. GPL version 3 or later; icons Fugue by Yusuke Kamiyamane (CC BY 3.0).

A first connection

  1. File, Add Connection. Choose the kind of server and type its address.
  2. Proxmox VE and Backup Server: the user is root@pam with its password, or better an API token, written user@realm!tokenname, with the token's secret as the password. Make one on the server under Datacenter, Permissions, API Tokens. The role PVEAuditor is enough to look.
  3. Get Fingerprint shows the server's certificate fingerprint. Compare it with the one on the server (Proxmox: the host, System, Certificates), tick the box, and save.
  4. libvirt on this computer needs nothing more. On another computer VirtBench runs ssh with your own key or agent, so ssh thathost must work without a password first. It checks the host's SSH key fingerprint the same way.
  5. Double-click the connection to sign in.

To try VirtBench without a server, choose the kind Practice cluster.

A new connection can only look. To change things, select it and choose Allow Changes; the same button takes it back. The secret goes to the desktop keyring (Linux; the package libsecret-tools provides the tool) or Credential Manager (Windows), never into VirtBench's files.

Using it

An action that cannot be used stays visible, greyed, and its tip says why.

The command line

virtbench-cli uses the same saved connections and the same rules. Anything that loses data wants --yes.

virtbench-cli connections list
virtbench-cli guests home
virtbench-cli power home 101 start
virtbench-cli backups home create 101 --to STORE
virtbench-cli history home guest 101 --range week
virtbench-cli report home backups --format html --to backups.html
virtbench-cli watch home          # keep reading; print alerts as they come and go
virtbench-cli watch home --once   # one reading, for a timetable such as cron

virtbench-cli help lists everything. -o json gives output for scripts. For scripts the secret can be given in the environment as VIRTBENCH_SECRET_<NAME>.

Where things are kept

Linux Windows
Connections ~/.config/virtbench %APPDATA%\virtbench
Record of changes, readings and alerts ~/.local/share/virtbench %APPDATA%\virtbench
Secrets desktop keyring Credential Manager, VirtBench:name

Removing the program leaves these alone.

Not done or not tested

VirtBench is an independent program, not made or endorsed by Proxmox Server Solutions GmbH or the libvirt project.