Relocate cluster ha resource

Options

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

vmid and filter-name are mutualy exclusive

Examples

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