Citrix Systems 5.6 Manual Do Utilizador
205
List the data sources that can be recorded for a VM.
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-data-source-query
vm-data-source-query
data-source=
<name_description_of_data-source>
[
<vm-selector>
=
<vm
selector value>
...]
Display the specified data source for a VM.
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-data-source-record
vm-data-source-record
data-source=
<name_description_of_data-source>
[
<vm-selector>
=
<vm
selector value>
...]
Record the specified data source for a VM.
This will write the information from the data source to the VM's persistent performance metrics database.
This database is distinct from the normal agent database for performance reasons.
Data sources have the true/false parameters
standard
and
enabled
, which can be seen in the output of
the
vm-data-source-list command. If
enabled=true
, the data source metrics are currently being recorded
to the performance database; if
enabled=false
they are not. Data sources with
standard=true
have
enabled=true
and have their metrics recorded to the performance database by default. Data sources
which have
standard=false
have
enabled=false
by default. The
vm-data-source-record command
sets
enabled=false
.
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-destroy
vm-destroy
uuid=
<uuid_of_vm>
Destroy the specified VM. This leaves the storage associated with the VM intact. To delete storage as well,
use
xe vm-uninstall.
vm-disk-add
vm-disk-add
disk-size=
<size_of_disk_to_add>
device=
<uuid_of_device>
[
<vm-selector>
=
<vm_selector_value>
...]
Add a new disk to the specified VMs. Select the
device
parameter from the value of the
allowed-VBD-
devices
parameter of the VMs.