vm-assert-can-be-recovered

vm-assert-can-be-recovered <uuid> [<database>] <vdi-uuid>

Tests whether storage is available to recover this VM.

vm-cd-add

vm-cd-addcd-name=<name_of_new_cd>device=<integer_value_of_an_available_vbd> [<vm-selector>=<vm_selector_value>...]

Add a new virtual CD to the selected VM. The device parameter should be selected from the value of the allowed-VBD-devicesparameter of the 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-cd-eject

vm-cd-eject[<vm-selector>=<vm_selector_value>...]

Eject a CD from the virtual CD drive. This command only works if there is one and only one CD attached to the VM. When there are two or more CDs, use the command xe vbd-ejectand specify the UUID of the VBD.

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-cd-insert

vm-cd-insertcd-name=<name_of_cd>[<vm-selector>=<vm_selector_value>...]

Insert a CD into the virtual CD drive. This command will only work if there is one and only one empty CD device attached to the VM. When there are two or more empty CD devices, use the xe vbd-insertcommand and specify the UUIDs of the VBD and of the VDI to insert.

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-cd-list

vm-cd-list[vbd-params] [vdi-params] [<vm-selector>=<vm_selector_value>...]

Lists CDs attached to the specified VMs.

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.

You can also select which VBD and VDI parameters to list.

vm-cd-remove

vm-cd-removecd-name=<name_of_cd>[<vm-selector>=<vm_selector_value>...]

Remove a virtual CD from the specified VMs.

174

Page 192
Image 192
Citrix Systems 6 manual Vm-cd-add, Vm-cd-eject, Vm-cd-insert, Vm-cd-list, Vm-cd-remove