[pve-devel] batch migrate : add a optionnal flag to check available memory on target node ?

Dietmar Maurer dietmar at proxmox.com
Sat Jan 13 08:30:43 CET 2018


> How is it possible to get stats of targetnode, from sourcenode ? (cluster
> resources api ?)

# pvesh get /cluster/resources --type node
[
   {
      "cpu" : 0.00540930640914729,
      "disk" : 150681653248,
      "id" : "node/anode",
      "level" : "",
      "maxcpu" : 8,
      "maxdisk" : 195782651904,
      "maxmem" : 8323002368,
      "mem" : 1217204224,
      "node" : "anode",
      "status" : "online",
      "type" : "node",
      "uptime" : 178538
   }
]




More information about the pve-devel mailing list