Command-line Tools

proxmox-datacenter-manager-client

This tool implements a datacenter manager client, i.e. it can connect to any datacenter manager with the same major version and issue management commands, query status and control remotes and their resources.

Commands that start a task on a Proxmox VE remote, for example pve qemu start, wait for the task to end, as do updates refresh and subscriptions apply-pending for the task they start on the Proxmox Datacenter Manager host. They exit with an error if the task failed, while a task that finished with warnings counts as success. The task log commands with the --follow option wait for a running task to end and set the exit status the same way. While waiting or following a task, task log --follow, updates refresh, and subscriptions apply-pending renew the authentication ticket automatically.

Commonly used subcommands and behaviors include:

  • Tasks: task list queries the remote task cache (default limit 50, pass --limit 0 for unlimited results); filtering with --vmid requires --remote.

  • Updates: updates summary [--view <view>] shows the cached update summary, and updates refresh fetches current update summaries from enabled remotes without running apt update on them.

  • Resources: resources lists cached resources and supports --max-age, --resource-type, --view, and --search filters.

  • Proxmox VE guests: pve qemu stop and pve lxc stop accept --overrule-shutdown to abort an active shutdown task before stopping; this requires Proxmox VE 8.2 or newer and does not apply to HA-managed guests.

  • Nodes: pve node config and pve node set --description <text> inspect and edit node notes. pve node reboot|shutdown and pbs node reboot|shutdown prompt for confirmation on a terminal and return immediately without creating a task.

proxmox-datacenter-manager-admin

This tool exposes parts of Proxmox Datacenter Manager's administrative API on the local host.

In addition to ACME, certificate, support-status, system report, and package version administration, it provides:

  • Tasks: task list lists local host tasks, task log <upid> [--follow] prints a task's log without timestamps (and with --follow waits for a running task to finish and exits non-zero unless it finished with OK or warnings), and task stop <upid> stops a running task.

  • Node options: node show prints the current host options from /etc/proxmox-datacenter-manager/node.cfg, and node update [--delete <option>] changes or clears them.

  • Remotes: remote update <id> accepts --disable <true|false> to disable or re-enable a remote and --delete <property> (web-url or disable) to clear optional properties.