Add commands to modify vm cpu limits

This commit is contained in:
RealStickman 2022-12-01 08:51:34 +01:00
parent 471265f0a1
commit 3ca6cca8f6

View File

@ -1,15 +1,36 @@
---
title: 'xe CLI'
title: "xe CLI"
visible: true
---
[toc]
## VM Operations
Show running VMs
`# xe vm-list --multiple power-state=running`
`# xe vm-list --multiple power-state=running`
Poweroff all VMs currently running
`# xe vm-shutdown --multiple power-state=running`
`# xe vm-shutdown --multiple power-state=running`
Start VM
`# xe vm-start uuid=<vm uuid>`
## Snapshot management
*TODO*
_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>`