Citrix Systems 5.6 manual Vm-data-source-query, Vm-data-source-record, Vm-destroy, Vm-disk-add

Models: 5.6

1 235
Download 235 pages 37.88 Kb
Page 225
Image 225

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-querydata-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-recorddata-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-listcommand. 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-recordcommand

sets enabled=false.

Once enabled, you can stop recording the metrics of the data source by running the vm-data-source-forgetcommand.

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-adddisk-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.

205

Page 225
Image 225
Citrix Systems 5.6 manual Vm-data-source-query, Vm-data-source-record, Vm-disk-add, Vm-destroy uuid=uuidofvm