HP BL680c XenServer Administrator's Guide 4.1.0 - Page 98

vm-cd-add, 4.22.2. vm-cd-eject, 4.22.3. vm-cd-insert, 4.22.4. vm-cd-list

Page 98 highlights

Command line interface Parameter Name actions-after-shutdown actions-after-reboot possible-hosts dom-id recommendations xenstore-data vm-metrics-last-updated Description Type z, where z is the single-letter military timezone indicator, for example, Z for UTC (GMT) action to take after the VM has shutdown read/write action to take after the VM has rebooted read/write potential hosts of this VM read only domain ID (if available, -1 otherwise) read only An XML specification of recommended read only values and ranges for properties of this VM data to be inserted into the xenstore tree (/ read/write map parameter local/domain//vm-data) after the VM is created time when VM metrics were last updated read only 5.4.22.1. vm-cd-add vm-cd-add cd-name=name of new CD device=integer value of an available VBD [ vmselector=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-devices parameter of the 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.2. vm-cd-eject vm-cd-eject [ vm-selector=vm selector value...] Eject a CD from the virtual CD drive. This command will only work if there is one and only one CD attached to the VM. When there are two or more CDs, please use the command xe vbd-eject and specify the UUID of the VBD. 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.3. vm-cd-insert vm-cd-insert cd-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, please use the command xe vbd-insert 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 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.4. vm-cd-list vm-cd-list [vbd-params] [vdi-params] [ vm-selector=vm selector value...] 92

  • 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
92
Parameter Name
Description
Type
z
, where
z
is the single-letter military
timezone indicator, for example, Z for UTC
(GMT)
actions-after-shutdown
action to take after the VM has shutdown
read/write
actions-after-reboot
action to take after the VM has rebooted
read/write
possible-hosts
potential hosts of this VM
read only
dom-id
domain ID (if available, -1 otherwise)
read only
recommendations
An XML specification of recommended
values and ranges for properties of this VM
read only
xenstore-data
data to be inserted into the xenstore tree (/
local/domain/<domid>/vm-data) after the
VM is created
read/write map parameter
vm-metrics-last-updated
time when VM metrics were last updated
read only
5.4.22.1. vm-cd-add
vm-cd-add
cd-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-devices
parameter of the 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.2. vm-cd-eject
vm-cd-eject
[
vm-selector
=
vm selector value
...]
Eject a CD from the virtual CD drive. This command will only work if there is one and only one CD attached
to the VM. When there are two or more CDs, please use the command
xe vbd-eject
and specify the UUID
of the VBD.
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.3. vm-cd-insert
vm-cd-insert
cd-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, please use the command
xe
vbd-insert
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 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.4. vm-cd-list
vm-cd-list
[vbd-params] [vdi-params] [
vm-selector
=
vm selector value
...]