181
vm-uninstall
vm-uninstall [<vm-selector>=<vm_selector_value>...] [force=<true | false>]
Uninstall a VM, destroying its disks (those VDIs that are marked RW and connected to this VM only) as well as its
metadata record. To simply destroy the VM metadata, use xe vm-destroy.
The VM or VMs on which this operation should be performed are selected using the standard selection
mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the
beginning of this section.
vm-vcpu-hotplug
vm-vcpu-hotplug new-vcpus=<new_vcpu_count> [<vm-selector>=<vm_selector_value>...]
Dynamically adjust the number of VCPUs available to a running paravirtual Linux VM within the number bounded
by the parameter VCPUs-max. Windows VMs always run with the number of VCPUs set to VCPUs-max and
must be rebooted to change this value.
The paravirtualized Linux VM or VMs on which this operation should be performed are selected using the standard
selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed
at the beginning of this section.
vm-vif-list
vm-vif-list [<vm-selector>=<vm_selector_value>...]
Lists the VIFs from the specified VMs.
The VM or VMs on which this operation should be performed are selected using the standard selection
mechanism (see VM selectors). Note that the selectors operate on the VM records when filtering, and not on the
VIF values. Optional arguments can be any number of the VM parameters listed at the beginning of this section.
Workload Balancing XE Commands
Commands for controlling the Workload Balancing feature.
pool-initialize-wlb
pool-initialize-wlb wlb_url=<wlb_server_address> \
wlb_username=<wlb_server_username> \
wlb_password=<wlb_server_password> \
xenserver_username=<pool_master_username> \
xenserver_password=<pool_master_password>
Initializes the connection between the Workload Balancing server and the XenServer pool.
Note:
Initializing a pool requires running two commands. After executing the pool-initialize-wlb
command, execute xe pool-param-set wlb-enabled=true uuid=<pool-uuid>[].
pool-param-set other-config
Use the pool-param-set other-config command to specify the timeout when communicating with the Workload
Balancing server. All requests are serialized, and the timeout covers the time from a request being queued to its
response being completed. In other words, slow calls cause subsequent ones to be slow. Defaults to 30 seconds
if unspecified or if the setting cannot be parsed.
xe pool-param-set other-config:wlb_timeout=<0.01> \
uuid=<315688af-5741-cc4d-9046-3b9cea716f69>