Update xe cli page

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

View File

@ -8,13 +8,26 @@ visible: true
## VM Operations ## VM Operations
Show running VMs Show running VMs
`# xe vm-list --multiple power-state=running`
```sh
xe vm-list --multiple power-state=running
```
Poweroff all VMs currently running Poweroff all VMs currently running
`# xe vm-shutdown --multiple power-state=running`
```sh
xe vm-shutdown --multiple power-state=running
```
Start VM Start VM
`# xe vm-start uuid=<vm uuid>`
```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
@ -23,7 +36,10 @@ _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:
@ -33,6 +49,9 @@ 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)