Hyper-V virtual machine cloning

2010-07-10  来源:本站原创  分类:Development  人气:174 

Always been the company's test MM upload system in the new virtual machine, the Lei Ya, look at the heartache ... on the Internet for a moment believe google taught, it is trivial to find the tutorial twice, but in English , the simple translation of what to tell it. the level of a little time, can read on-line!-_-

Original link: http://www.windowsreference.com/windows-server-2008/hyper-v-how-to-clone-a-virtual-machine-vm/

--------------------

There are two ways to clone Hyper-V virtual machines:

1. Through the Hyper-V import / export capabilities to achieve the virtual machine

2. Copy the VHD (Virtual Hard Disk) file, the new virtual machine and configured to use a copy out of the VHD file.

1. Using the Hyper-V import / export function clone a virtual machine

This is a simple way to clone a virtual machine. But it has one small drawback, this method can only import system derived from the Hyper-V virtual machine.


First, export the virtual machine

Open the Hyper-V Manager, right-click a virtual machine, and then select Export. Select the save path to export the virtual machine. A bit first to emphasize, when you save the path to import from the virtual machine, the virtual machine and also the path of VHD will be set up to here, instead of the default path. (Translator Note: R2 has the option copy the virtual machine file, which automatically copied to the default path)

Hyper-V virtual machine cloning

When exporting the virtual machine, you can choose to only export the virtual machine itself, rather than export VHD. When you want to re-establish the VHD to install a clean environment, and in this way is especially useful.

Hyper-V virtual machine cloning

Import the virtual machine

To import a virtual machine, the first Hyper-V Manager from the context menu, select "Import Virtual Machine." And then select just the path to export the virtual machine, point of import.

Hyper-V virtual machine cloning

Hyper-V virtual machine cloning

Re-emphasize that, before this path is the path to export the virtual machine, not inside any of its subdirectories.

Virtual machine import is completed, you can do to change it, like other virtual machine settings. Note that if the new virtual machine into the original virtual machine is in the same virtual network, then

When the original virtual machine has been the case to open a new line into the virtual machine, the new virtual machine into the network will be unavailable. You can import the new virtual machine to modify the host name (hostname) and IP address to avoid these network problem.

2. Copy the VHD and create a new virtual machine

This is a quick but rough method for cloning. This method simply copied from the original virtual machine VHD file, and then create a new virtual machine, use this instead of copying out the new VHD VHD. To create a virtual machine, and then in the wizard select "Connect Virtual Hard Disk", select "Use an existing virtual hard disk" and then set the copy of the VHD file out of the path.

This buttoned up ~ ~

相关文章
  • Hyper-V virtual machine cloning 2010-07-10

    Always been the company's test MM upload system in the new virtual machine, the Lei Ya, look at the heartache ... on the Internet for a moment believe google taught, it is trivial to find the tutorial twice, but in English , the simple translation of

  • VirtualBox virtual machine cloning 2011-04-01

    Transfer http://www.cnblogs.com/foxhengxing/archive/2010/09/10/1822899.html At first I felt a direct copy. Vdi virtual hard disk and then hang on it, actually did not expect tips UUID Virtualbox repeat, it seems that is a bit like the kind of com-gen

  • Virtual machine description (d) 2010-10-18

    Fifth, the virtual machine uses 1 , the use of scenarios What virtual machine use? The following examples use some virtual machine scene, let us describe these scenes, to understand the use of the virtual machine: 1), using the virtual system to lear

  • "In-depth Java Virtual Machine" Study Notes 5: Type Life Cycle 2010-03-29

    Chapter VII of the types of life-cycle 1, type load, links, and initialization Java Virtual Machine through the loading, linking and initializing a Java type, so that the type of running can be used by Java programs. Among them, loading Java types is

  • Java Virtual Machine (JVM) parameters configuration instructions (turn) 2010-03-29

    Java Virtual Machine (JVM) parameters configuration instructions In Java, J2EE large-scale applications, JVM configuration of non-standard parameter is directly related to the overall system performance. Non-standard JVM is a JVM parameter refers to

  • (Turn) Java Virtual Machine (JVM) parameters configuration instructions 2008-12-30

    Java Virtual Machine (JVM) parameters configuration instructions In Java, J2EE large-scale applications, JVM configuration of non-standard parameter is directly related to the overall system performance. Non-standard JVM is a JVM parameter refers to

  • Java Virtual Machine Study Notes (4) class file 2009-08-23

    1, class content of the document Each class file can contain only one class or interface; class content of the document in order as follows: magic (magic number)-u4 0xCAFEBABE, its role is to easily identify Java class files and non-Java class files;

  • In-depth Java Virtual Machine for 5 2009-11-28

    Chapter V: JAVA Virtual Machine 1, Java virtual machine is what the 1. Abstract specification; 2. A concrete implementation; 3. A running virtual machine instances (one of three) 2, Java virtual machine life-cycle 1. Each run-time Java virtual machin

  • In larger-scale applications, Java Virtual Machine (JVM) memory settings is particularly important to achieve good efficiency in the project, GC (garbage collection) set is the first step. PermGen space 2010-05-07

    Basic knowledge JAVA 6 Pz% @ 5P 1, object-oriented features are what yl3 = V 5b 1. Abstraction: 8 9M.C | Dkf Abstract is to overlook a topic unrelated to the current target those aspects in order to more fully pay attention to related aspects of the

  • Linux virtual machine installation 2010-07-30

    Debian System # Uname-a # See kernel / operating system / CPU Information # Head-n 1 / etc / issue # See the operating system version # Cat / proc / cpuinfo # View CPU Information # Hostname # view the computer name # Lspci-tv # list all PCI devices

  • [Change] Java Virtual Machine (JVM) parameters configuration instructions 2010-09-16

    Java Virtual Machine (JVM) parameters configuration instructions In Java, J2EE large applications, JVM non-standard configuration parameters directly related to the overall system performance. Non-standard JVM JVM parameter refers to the bottom of so

  • Java virtual machine shuts down unexpectedly on the issue (jdk crash) 2010-09-24

    Java virtual machine shuts down unexpectedly on the issue (jdk crash) 2009-07-06 14:50 A recent project of the service that she had stopped, and very strange. Then restart the discovery service was on the simulation of a process the request, did not

  • Virtual machine image file to mount the LVM logical partition 2010-10-08

    If by " installation and configuration of the KVM on CentOS "This article describes the method to install the guest operating system to a raw file (virt-install ...-disk path = / home / vpsee / centos.img ...), so in the future maintenance proce

  • Java Virtual Machine (JVM) configuration parameters that 2010-11-11

    Switch to "Java Virtual Machine (JVM) configuration parameters that" a text ( http://lavasoft.blog.51cto.com/62575/25492 ) Copyright: For reprint, please contact the original author. Otherwise held liable. Java Virtual Machine (JVM) configuratio

  • jps (Java Virtual Machine Process Status Tool) 2010-11-26

    jps (Java Virtual Machine Process Status Tool) is a JDK 1.5 provides all the java process shows the current pid of the command, simple and practical for the linux / unix platform, a simple look at the current situation of some simple java process. jp

  • Copy the virtual machine using Vmware Server 2010-12-14

    In general we are asked to create a virtual machine, installed operating system to do any configuration, and then all of the virtual machine files to a new folder, and then open from a virtual machine, give it a new name, into another operating syste

  • [Transfer] VMware virtual machine to adjust the size of Linux partition Notes 2011-05-26

    After use of the summary: the first step in expanding virtual hard disk space is actually very simple, the main virtual machine where the HOST system partition space is large enough, spend more time with it; Gparted tool is useful, can be adjusted be

  • Expansion of the virtual machine VMare 2011-03-25

    Reference documentation (thanks to the author of the document below): http://www.linuxidc.com/Linux/2010-12/30811.htm http://hi.baidu.com/jackli00/blog/item/4f399bd2c64e2738970a16e2.html As with the continuous use of Linux virtual machines, often enc

  • windows ctrl key virtual machine failures and finally get 2011-03-28

    With linux (ubuntu) has several years, and reload the company's recent desktop and found the left ctrl key has failed, as has been used to shortcut keys, ctrl + c, ctrl + v and so on. After not starting a shortcut key, really made me very uncomfortab

  • Virtual Machine VMare Linux system expansion 2011-03-31

    As with the continuous use of Linux virtual machines, often encountered in VMware virtual machines linux pre-installed hard disk space is too small problem, resulting in a lot of software can not be installed, and re-install one, and very troublesome