Update xe cli page

This commit is contained in:
RealStickman 2023-02-19 16:01:08 +01:00
parent 983d8744ca
commit b5e577dd5e

View File

@ -7,14 +7,27 @@ visible: true
## VM Operations ## VM Operations
Show running VMs Show running VMs
`# xe vm-list --multiple power-state=running`
Poweroff all VMs currently running ```sh
`# xe vm-shutdown --multiple power-state=running` xe vm-list --multiple power-state=running
```
Start VM Poweroff all VMs currently running
`# xe vm-start uuid=<vm uuid>`
```sh
xe vm-shutdown --multiple power-state=running
```
Start VM
```sh
xe vm-start uuid={VM UUID}
```
## Host reboot procedure
> [XCP-ng documentation](https://docs.xcp-ng.org/guides/host-reboot/)
## Snapshot management ## Snapshot management
@ -22,8 +35,11 @@ _TODO_
## VM Limits ## VM Limits
Check current limits Check current limits
`# xe vm-param-get uuid=<vm uuid> param-name=<parameter>`
```sh
xe vm-param-get uuid={VM UUID} param-name={PARAMETER}
```
Parameters: Parameters:
@ -32,7 +48,10 @@ VCPUs-max: Maximum number of CPU cores
VCPUs-at-startup: Number of CPU cores initially assigned VCPUs-at-startup: Number of CPU cores initially assigned
``` ```
Set Limits 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) ```sh
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)