HP BL680c XenServer Administrator's Guide 4.1.0 - Page 104

vm-suspend, 4.22.26. vm-uninstall, 4.22.27. vm-vcpu-hotplug, 4.22.28. vm-vif-list

Page 104 highlights

Command line interface Start the specified VMs. The VM or VMs on which this operation should be performed are selected via the standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section. If the VMs are on a shared SR in a pool of hosts, use the on argument to specify which host in the pool on which to start the VMs. By default the system will determine an appropriate host, which might be any of the members of the pool. 5.4.22.25. vm-suspend vm-suspend [ vm-selector=vm selector value...] Suspend the specified VM. The VM or VMs on which this operation should be performed are selected via the standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section. 5.4.22.26. 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 via the standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section. 5.4.22.27. 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 via the standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section. 5.4.22.28. 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 via 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. 98

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Command line interface
98
Start the specified VMs.
The VM or VMs on which this operation should be performed are selected via the standard selection mech-
anism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the be-
ginning of this section.
If the VMs are on a shared SR in a pool of hosts, use the
on
argument to specify which host in the pool
on which to start the VMs. By default the system will determine an appropriate host, which might be any
of the members of the pool.
5.4.22.25. vm-suspend
vm-suspend
[
vm-selector
=
vm selector value
...]
Suspend the specified VM.
The VM or VMs on which this operation should be performed are selected via the standard selection mech-
anism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the be-
ginning of this section.
5.4.22.26. 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 via the standard selection mech-
anism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the be-
ginning of this section.
5.4.22.27. 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
VC-
PUs-max
and must be rebooted to change this value.
The paravirtualized Linux VM or VMs on which this operation should be performed are selected via the
standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM pa-
rameters listed at the beginning of this section.
5.4.22.28. 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 via the standard selection mech-
anism (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.