HP BL680c XenServer Administrator's Guide 4.1.0 - Page 99
vm-cd-remove, 4.22.6. vm-clone, 4.22.7. vm-compute-maximum-memory, 4.22.8. vm-copy
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 99 highlights
Command line interface Lists CDs attached to 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. You can also select which VBD and VDI parameters to list. 5.4.22.5. vm-cd-remove vm-cd-remove cd-name=name of cd [ vm-selector=vm selector value...] Remove a virtual CD 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). Optional arguments can be any number of the VM parameters listed at the beginning of this section. 5.4.22.6. vm-clone vm-clone new-name-label=name for clone [new-name-description=description for clone ] [ vm-selector=vm selector value...] Clone an existing VM, using storage-level fast disk clone operation where available. Specify the name and the optional description for the resulting cloned VM using the new-name-label and new-namedescription arguments. 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.7. vm-compute-maximum-memory vm-compute-maximum-memory total=amount of available physical RAM in bytes [approximate=add overhead memory for additional vCPUS? true | false ] [ vm-selector=vm selector value...] Calculate the maximum amount of static memory which can be allocated to an existing VM, using the total amount of physical RAM as an upper bound. The optional parameter approximate reserves sufficient extra memory in the calculation to account for adding extra vCPUs into the VM at a later date. For example: xe vm-compute-maximum-memory vm=testvm total=`xe host-list params=memory-free --minimal` uses the value of the memory-free parameter returned by the xe host-list command to set the maximum memory of the VM named "testvm." The VM or VMs on which this operation will 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.8. vm-copy vm-copy new-name-label=name for copy [new-name-description=description for copy ] [ sruuid=UUID of SR ] [ vm-selector=vm selector value...] 93