Migrate cluster ha resource

Options

optiondescriptionAllowed values
vmidThe virtual machine id to migrateinteger
filter-namea regex on virtual machines name used to select multiples virtual machines to be migratedstring
proxmox-nodethe target node to migrate the virtual machines tostring
blockwait for each resources to finish migration before starting another one (sequential mode)string
Note

vmid and filter-name are mutualy exclusive

Examples

  • migrate a cluster ha resource to another node
proxcli cluster ha resources migrate --vmid 125 --proxmox-node pve1
  • migrate multiple cluster ha resources to another node
proxcli cluster ha resources migrate --filter-name "^b4p-powerdns" --proxmox-node pve1
  • migrate multiple cluster ha resources to another node waiting for each resource to finish migration
proxcli cluster ha resources migrate --filter-name "^b4p-powerdns" --proxmox-node pve1 --block