From b5e577dd5e93e39949b576b60646e5df3e0a5f16 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 19 Feb 2023 16:01:08 +0100 Subject: [PATCH] Update xe cli page --- pages/02.linux/xcp-ng/xe-cli/default.en.md | 41 ++++++++++++++++------ 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/pages/02.linux/xcp-ng/xe-cli/default.en.md b/pages/02.linux/xcp-ng/xe-cli/default.en.md index d5e87fe..16103ed 100644 --- a/pages/02.linux/xcp-ng/xe-cli/default.en.md +++ b/pages/02.linux/xcp-ng/xe-cli/default.en.md @@ -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=` +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= param-name=` +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= =` +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)