Difference between revisions of "GSP Virtualisation with Xen"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 124: Line 124:
 
= Storage =
 
= Storage =
  
== Where are the VM disk images (VDIs) ==
+
== Where are VM disk images (VDIs) ==
  
 +
VM disk images come in two flavours: the default is VHD (even over LVs), or raw (over LVs) for legacy/import stuff. The Virtual Disk Images (VDIs) are bout to a specific SR, but you can move them using the GUI, and you can copy them using the CLI. Note that copy is not found in the XenCenter GUI for some reason. Cop from RO to RW SRs is possible, and a good way to import/migrate VM disk images bwteen pools. Or export your file based old VM disk images over NFS and then attach the NFS SR over the installnet to the DOM0 and cop from there. The target SR can be specified by uuid:
 +
xe vdi-copy uuid=95cc590d-56b7-4fb5-ad44-8d78fb2921cf sr-uuid=e5d0e83a-7e70-3d28-31ab-ed98bfb68368
 +
 +
Notes:
 +
* by default we want them stored on shared FC/iSCSI storage, which can even (in R/O mode) be used to exchange VM images between pools. Only use NFS for transient storage, and not for any mission-critical stuff please. And 'salado' is not the proper host to put them on, sinc eit only has 100Mbps to the installnet.
 +
* copy ''from'' NFS/local disk ''to'' FC is quick (30 sec for 8GB), but the reverse is very slow (10 min for 8 GByte)!
  
 
== Moving VM image files from outside ==
 
== Moving VM image files from outside ==

Revision as of 14:04, 12 March 2012