39 lines
706 B
Markdown
39 lines
706 B
Markdown
---
|
|
title: "xe CLI"
|
|
visible: 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>`
|
|
|
|
## 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](https://support.citrix.com/article/CTX219771/increase-ram-for-xenserver-vms-through-command-line-interface)
|