Thursday, September 15, 2011

Hyper-V - Moving VMs and Getting it Just Right

Hyper-V VM Organization
  1. Desired folder format
    1.  D:\HyperVDriveD\VM1\
      1. .\Virtual Machines\<GUID>
      2. .\Virtual Hard Disks\*.VHD
      3. .\Snapshots
    2. Why?
      1. This is an orderly structure and can occur when the correct details are assigned when creating a new VM. This structure is easy to find the components and then creates consistency.
    3. When?
      1. Sometimes upon creating a new VM. When importing or moving a VM from one disk to another, it is easy to lost this effective directory structure. 
    4. What?
      1. Following this recipe you will understand how to create a consistent and orderly VM directory structure. 
    5. How can you help?
      1. Many questions remain for me about the effective, and when and why of many of the Hyper-V aspects. Your feedback, comments, questions and instruction will be appreciated.
  2. To move a VM, import doesn't work, because it wasn't exported, right?
  3. Move from C:/HyperVDriveC/VM1 to D:/HyperVDriveD/VM1
  4. Copy files
  5. Rename with an underscore to save for now, copy to D:/HyperVDriveD/_VM1
  6. New as to be performed just right to avoid the defaults s or adding another subfolder
  7. New
    1. Before you begin
    2. Specify Name and Location
      1. Name: VM1
      2. Location:
        1. Store in a different location: D:/HyperVDriveD
        2. Note: we don't specify the root folder "\VM1" in the Location step
          1. It probably is correctly placed because of where we put the new virtual hard disk
    3. Memory...
    4. Connection...
    5. Create a new virtual hard disk
      1. even though we already have one
      2. location: D:\HyperVDriveD\VM1\
    6. Installation Options
      1. Install an operating system later
        1. this is no problem it will be there when we swap in the actual .vhd
  8. Now we have the beginning of our desired folder format
  9. Create VHD folder
    1. .\Virtual Hard Disks\
  10. Copy in VHD
    1. .\Virtual Hard Disks\VM1.VHD
  11. Virtual Machine Settings - for your new VM
    1. VHD location
    2. Snapshot location


No comments:

Post a Comment