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
Show running VMs
`# xe vm-list --multiple power-state=running`
Show running VMs
Poweroff all VMs currently running
`# xe vm-shutdown --multiple power-state=running`
```sh
xe vm-list --multiple power-state=running
```
Start VM
`# xe vm-start uuid=<vm uuid>`
Poweroff all VMs currently running
```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
@ -22,8 +35,11 @@ _TODO_
## VM Limits
Check current limits
`# xe vm-param-get uuid=<vm uuid> param-name=<parameter>`
Check current limits
```sh
xe vm-param-get uuid={VM UUID} param-name={PARAMETER}
```
Parameters:
@ -32,7 +48,10 @@ 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>`
Set Limits
![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)