Vmware Vcenter6.0 Virtual Machine management-cloning
We described the new installation of VMware vsphere and the new installation and configuration of VMware vcenter, and we all know that VMware Vcenter is a powerful management center that is very convenient to manage virtual machines using Vmwre vcenter. Can reduce the human participation in the management of data center operations, today, the introduction of VMware vsphere6.0 Virtual machine Management---cloning, a virtual machine is a clone of the original virtual machine all the state of a backup, or a mirror,
The cloning process does not affect the original virtual machine, and once the cloned operation is complete, the cloned virtual machine can be isolated from the original virtual machine. And the operation of the original virtual machine in the cloned virtual machine is relatively independent. Do not affect each other. In cloning, Vcenter generates different Mac and UUID amounts from the original virtual machine, which allows the cloned virtual machine and the original virtual machine to appear on the same network without any conflict;
Vcenter supports two types of clones: 1. Complete cloning. 2. Linked clones
Full clone: A full clone is a completely separate backup from the original virtual machine. He's not drinking. Meta is a virtual machine that shares any resource that can be detached from the meta is a virtual machine used independently
Link clone: A linked clone needs and Meta is a virtual machine share the same disk file, not hungry out of the meta is a virtual machine independent operation, but the use of shared disk files can shorten the time to create a cloned virtual machine, colleagues can also save valuable physical disk space. Linked clones make it easy to create a standalone virtual machine for different tasks
When cloning a virtual machine, the virtual machine creates the entire replica, which includes the hardware configuration of the virtual machine, the installation files, the user's settings and the user's files, etc., which is a complete replication process. In this replication process, you can set some custom properties----IP address, computer name, user, etc.
Let's start with a demo of cloning: We use the VMware vsphere client to connect to Vcenter first, we take the CentOS this machine to test, first we first look at the computer's information
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/90/wKioL1VMZL6C93pYAAH1gFVIHYI772.jpg "height=" 356 "/>
Start cloning
Right-click the virtual machine you want to clone--- Cloning
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/90/wKioL1VMZL7QghrqAAGF9xio5A4255.jpg "height=" 366 "/>
Go to the Clone virtual machine. Enter the name and location of the virtual machine, and then click Next:
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/90/wKioL1VMZL7jNm_sAAFc_vrBuj0298.jpg "height=" 356 "/>
Then select Cluster, because our current environment is configured with cluster, so choose cluster
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/90/wKioL1VMZL6gqH67AAFI5pykPXo833.jpg "height=" 349 "/>
Next Select storage:
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/90/wKioL1VMZL-x8h0hAAFxwZGhdUc444.jpg "height=" 347 "/>
Do not introduce custom
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/90/wKioL1VMZL_Tf73gAAEI8G9FWiU402.jpg "height=" 366 "/>
Click Finish
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/90/wKioL1VMZL_jHuY1AAExesLsOAY751.jpg "height=" 328 "/>
Cloning in progress
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/90/wKioL1VMZL_wy124AAC8Lqe1JB0907.jpg "height=" 257 "/>
Cloning Complete:
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/90/wKioL1VMZL_DzCquAADWuMIX6NY602.jpg "height=" 289 "/>
Then we look at the cloned virtual machine
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/90/wKioL1VMZL-gmUhLAAEZ2f2kEjM129.jpg "height=" 329 "/>
We'll start the center-back at the same time to see if there will be a conflict, then check the corresponding Mac
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/90/wKioL1VMZMDABIsLAAGQAgDkS2M143.jpg "height=" 287 "/>
Then we try to shut down the clone in the state:
Clone vcenter in Shutdown state copies the virtual machine files directly for full cloning, not the steps to start the copy after the snapshot is in the boot state.
We will first delete the cloned centos-back and then test the clone of the new hostname-centos01
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/90/wKioL1VMZMDyjuseAAEu3IQIhCI091.jpg "height="/>
We will first shut down the machine that needs to be cloned----then clone
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/90/wKioL1VMZMCDdL7sAAFubEWQai8909.jpg "height=" 418 "/>
Set the virtual machine storage path
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/90/wKioL1VMZMDyO_6jAAF_QS-NnF4641.jpg "height=" 397 "/>
Confirm the clone information, click Finish
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/90/wKioL1VMZMCTzI3nAAFlWZy384A442.jpg "height=" 388 "/>
Cloning in progress
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/95/wKiom1VMY0ySDdIzAAFjruEmjz8288.jpg "height=" 424 "/>
Cloning complete
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/95/wKiom1VMY0zh8ty2AAEoJRDntnU221.jpg "height=" 351 "/>
Then we say the virtual machine template, we all know that cloning is a virtual management of a manual, is a very convenient way to install the system, but also for the virtual machine The simplest way to backup, but if you need a large-scale deployment system, often cloning can not figure out who the real virtual machine is, Over time, there will be problems. Of course, cloning a virtual machine can save a certain amount of time, but in a virtual machine is often cloned, we can consider making a template, the required software and files are installed and then made into a template, the template is the main image of the virtual machine, through the impression can deploy more than one virtual machine, Of course, you can convert a virtual machine into a template, or you can clone a virtual machine into a template or clone another template to create a template. Before you can use a template, you need to install a template virtual machine, convert or clone the virtual machine into templates, and later require such a virtual machine to clone multiple virtual machines.
First we set the virtual machine into a template, before we make the template, we need to prepare a clean operating system, or install the required software, after installation, shut it down, and then can be converted into a template. After the conversion of the hush you will not be seen in the host management, but can only be seen in the template. Cloning a copy of a virtual machine before converting it into a template, preserving the virtual machine, after converting it to a template, you cannot edit or start the template unless you convert the template back to the virtual machine.
We still take CentOS as an example, we right-click the virtual machine that needs to be converted----Template---converted into a template
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/95/wKiom1VMY0zyzBmFAAFRr3HhUwg013.jpg "height=" 366 "/>
We found that the CentOS machine was missing because it was converted into a template.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/91/wKioL1VMZMHCRLNEAAFRr3HhUwg712.jpg "height=" 366 "/>
We'll go back to the homepage---virtual machines and templates-
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/95/wKiom1VMY02Rpzj8AADi6XJoA0g556.jpg "height=" 301 "/>
After we stand-alone VMS and templates, we discover that the display status of this virtual machine is not the same as the other one, as it is currently a template; We found that CentOS currently has two options----deployed as a new virtual machine;
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/95/wKiom1VMY03ByUGlAAEeMC22so8331.jpg "height=" 375 "/>
We chose to convert to a virtual machine:
There are two ways to convert: 1. After converting to a virtual machine, the template disappears, 2. When you deploy a new virtual machine, the template exists, and the new virtual machine is not complete.
We complete the machine
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/95/wKiom1VMY02AX-fpAADt2k5xvSs518.jpg "height=" 357 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/95/wKiom1VMY03wUtVbAAEBu5kpRM8591.jpg "height=" 375 "/>
Conversion complete
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/95/wKiom1VMY02A7WkxAAFwwJyHLFI882.jpg "height=" 351 "/>
But we found that the template is gone, so, we can choose according to their own environmental requirements; If a template exists, we can choose to deploy it as a new virtual machine
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/91/wKioL1VMZMLRw91uAADv-7eEVoU836.jpg "height=" 346 "/>
Storage selection
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/91/wKioL1VMZMKilAKMAAEsZQbi6IY294.jpg "height=" 357 "/>
Custom settings
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/91/wKioL1VMZMKD5k0xAAD2gTJQkjQ818.jpg "height=" 356 "/>
Deploying new virtual machines using templates
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/91/wKioL1VMZMPhBvcHAAEhK5Gq8uY101.jpg "height=" 354 "/>
We found that the operation was just like cloning.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/91/wKioL1VMZNvhsUE_AAFOXja6GJE203.jpg "height=" 387 "/>
Here we find a problem, whether it is a clone or a template conversion, there is an option in the conversion process, which is similar to the virtual files that are replicated by virtualization in this startup conflict, need to run the system comes with the Sysprep tool to encapsulate, For example, the system itself embeds the tool after Windows7, and the path to the tool is:
C:\windows\windows32\sysprep\sysprep.exe
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/91/wKioL1VMZNvR_ZFoAAD_7nft-4s311.jpg "height=" 315 "/>
When Vcenter was cloning, the custom function was actually similar to this way: How to customize it? We're under vcenter. Click---home page---custom spec Manager
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/96/wKiom1VMY2iBpc4jAADVqK99hcc795.jpg "height=" 311 "/>
Click Custom Spec Manager---New
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/96/wKiom1VMY27hC2ePAAEKqoafasY931.jpg "height=" 393 "/>
For example, we set up a windows2012 custom planning management
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/91/wKioL1VMZOKQo3ZDAADqDynJJCc360.jpg "height=" 344 "/>
Choose According to your needs
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/91/wKioL1VMZO_BMvRHAAEcRw0NUK8342.jpg "height=" 351 "/>
Define License
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/96/wKiom1VMY3vAQ5QiAAEC0xErYMY989.jpg "height=" 358 "/>
Define Administrator Password
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/91/wKioL1VMZPeRaQzeAADgIlt0vVU251.jpg "height=" 355 "/>
Defining time zones
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/91/wKioL1VMZPfA9f6hAADP3iZLqmo510.jpg "height=" 354 "/>
Network settings
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/91/wKioL1VMZPmhhT-CAADw3Cuq_u8372.jpg "height=" 366 "/>
Domain or Workgroup mode definition
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/91/wKioL1VMZPmwinbOAAD8mGRCDuc667.jpg "height="/>
Generate a new security ID
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6C/91/wKioL1VMZPmioDyyAADgndNFItg583.jpg "height=" 363 "/>
Defining information Previews
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/91/wKioL1VMZPrD2rHGAAEZpHhSTwc168.jpg "height=" 351 "/>
Definition Complete
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/91/wKioL1VMZPuDPis5AACJYpqWt0Q497.jpg "height=" 227 "/>
We can define a Linux system template
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/6C/96/wKiom1VMY4fQLSvCAAChiECTRaM799.jpg "height=" 296 "/>
Definition Complete
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/91/wKioL1VMZPyTQYzKAACInGNF2d4687.jpg "height=" 245 "/>
Next we try out the feature options, we use the template to deploy the new virtual machine, and then we choose to use the existing custom specifications to customize
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/96/wKiom1VMY4iTtZyjAAEXM7D0AI4049.jpg "height=" 376 "/>
This allows you to define the security settings for the converted virtual machine based on your own settings
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/6C/96/wKiom1VMY4qC4p5BAAEXM7D0AI4180.jpg "height=" 376 "/>
This article is from the "Gao Wenrong" blog, make sure to keep this source http://gaowenlong.blog.51cto.com/451336/1649604
Vmware Vcenter6.0 virtual Machine Management---cloning