1.3.6. Proxmox VM CLI Commands


Many of the command arguments are shared with containers, only the command itself changes from qm to pct

Start, Halt, Migrate, or Restart VM from CLI/Shell

In terminal:

$ qm start [vmid]

Live Migration (on Shell of node containing VM’s)

This command usually has issues when used in conjunction with PVE’s Z-Sync Replication, therefore you’ll need to either disable Z-Sync or do a cold migration.

$ qm migrate [vmid] [targetnode] --online --with-local-disks

Cold Migration

To do a cold migration (with the VM turned off) do

$ qm migrate [vmid] [targetnode] –with-local-disks