Benefits of using differential disks to create virtual machines
1. Saving space on physical disks
2. quickly create multiple VMS
It is not recommended in the production environment. It is mainly used in the testing environment. The master disk must be closed during use, and the master disk will be finished after it is hung.
In fact, the method here is similar to the Link clone in VMware Workstation. in VMware Workstation, In order to quickly create a virtual machine in the test environment, we can also perform sysprep on the virtual machine and then shut down the machine, as a template. Other virtual machines are cloned using links, so that we can quickly create multiple virtual machines for testing.
Prepare to create more than 2003 VMS. First, prepare a 2003 master disk.
For example, insert the first CD of 2003 and copy the deploy. cab file to the desktop in the tools file.
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_1407746522tA2Z.png "" 531 "Height =" 484 "/>
Then we open the deploy.cabfile and copy the setupcl.exeand sysprep.exe files to the same directory. Here I am the desktop.
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_1407747010Kt48.png "" 537 "Height =" 484 "/>
Run sysprep.exe and select "OK"
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_14077470102jc1.png "" 537 "Height =" 484 "/>
Click "re-encapsulate". Note that the shutdown mode is as follows:
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_1407747014BvLU.png "" 534 "Height =" 484 "/>
Select "OK"
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_1407747014K0Pv.png "" 540 "Height =" 484 "/>
After preparing the Virtual Machine template, we can create a differential disk. For example, select create hard disk"
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_1407748638fduY.png "" 624 "Height =" 428 "/>
Here, based on the actual situation, the disk of the VM in the previous 2003 template is vhdx, so here I select "vhdx" (a small problem here is that vhdx does not support systems earlier than Windows Server 2012, my test environment does not matter)
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_14077486387XVR.png "" 624 "Height =" 474 "/>
Select "difference" and select "Next"
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_1407748639PG9E.png "" 609 "Height =" 484 "/>
Specifies the location and name of the virtual hard disk file
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_1407748639Z0pr.png "" 609 "Height =" 484 "/>
Specify a parent hard disk for the new differential disk. The parent hard disk after sysprep is viewed here.
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_1407748639vBrF.png "" 624 "Height =" 471 "/>
Select "finish"
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/11/2754337_1407748640TiEy.png "" 624 "Height =" 471 "/>
After the differential disk is created, you can select the virtual disk to be created when creating a new virtual machine.