wiki-grav/pages/02.linux/xcp-ng/xe-cli/default.en.md
2023-02-19 16:01:08 +01:00

827 B

title visible
xe CLI true

[toc]

VM Operations

Show running VMs

xe vm-list --multiple power-state=running

Poweroff all VMs currently running

xe vm-shutdown --multiple power-state=running

Start VM

xe vm-start uuid={VM UUID}

Host reboot procedure

XCP-ng documentation

Snapshot management

TODO

VM Limits

Check current limits

xe vm-param-get uuid={VM UUID} param-name={PARAMETER}

Parameters:

VCPUs-max: Maximum number of CPU cores
VCPUs-at-startup: Number of CPU cores initially assigned

Set Limits

xe vm-param-set uuid={VM UUID} {PARAMETER}={VALUE}

TODO Memory limits