[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 958
  • Last Modified:

clone VM Vsyphere

I plan to clone one of my Virtual server.

can someone give instruction how to clone VM?
0
apollo-13
Asked:
apollo-13
8 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Right Click the Virtual Machine using the vSphere Client, and Click Clone, and follow the wizard.

if you have no VMware vCenter Server

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
expert_tanmayCommented:
There are two clone methods cold and hot.
In a cold clone the system will not be available during the conversion process With a hot clone it is possible that data on the machine is changed during the conversion process that will then not be replicated to the virtual clone.

How to do cold cloning
You need to download “Cold Clone” boot-able ISO image for VMware’s Converter product and build a boot-able disk. You use the boot-able disk to boot your virtual server and clone your virtual server. This some thing similar to using Ghost. Another issue with cold clone is that the boot CD does not include the necessary drivers for the conversion. You need a working mass storage driver and a working network driver, but the CD only includes a limited set of drivers that might not be suitable for you if the server you are going to virtualize has quite modern hardware.

Hot Cloning
For hot cloning you need the Converter Standalone Client. Start the client and follow the steps given below
1. Click the "Convert Machine" button  (towards the top left)
2. Select the "A Remote machine" radio button
3. Enter the IP address of the machine to be cloned
4. Enter the user ID and password of an Administrator on the machine being cloned
5. Click Next
6. You should see a prompt asking if you want to "Automatically uninstall" the agent software when the clone has finished. Select the option and click Yes.
7. It'll now wait while the client agent is installed.
8. Next you're prompted for the VMware Virtual Infrastructure details:
Server=abc.com
User Name=domain\administrator
 9. You should now see a view of our VI Infrastructure:
a. Click server abc.com
b. Select one of the infrastore1 disk volumes for the datastore
c. Type the virtual machine name you want to use (normally just the host name and not the FQDN)
10. Click next
11. You now get a chance to configure the VM "hardware" and select which disks to clone etc
12 Click Next
13. Click finish and the clone should start.

Conclusion
In recent releases of Converter (including 5.0 being in beta right now) VMware has dropped support for cold cloning. I guess the reason for this is that they wanted to get rid of maintaining the boot CD and instead concentrate on improving the hot conversion process. And they really did that e.g. by adding incremental data synchronization after the first data copy run. So, this is a win for hot cloning. Anyway, it is still possible to use cold cloning with the current releases of Converter, because it has support for importing the images of third party cloning tools (like Symantec Ghost and Acronis TrueImage). The reconfiguration process of Converter will make these images bootable with the virtual clone by injecting the necessary mass storage drivers into it.
0
 
apollo-13Author Commented:
i have a question: if cloning process in 99% failed. can it corrupt Main Virtual Machine?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
the clone will not function, but the original virtual machine should be okay.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
@expert_tanmay: "In recent releases of Converter (including 5.0 being in beta right now)".

v5.0 was released a while ago, no longer in Beta!
0
 
apollo-13Author Commented:
the clone is not important :) i do worry with original vm something happens because of cloning is FAiled.
0
 
apollo-13Author Commented:
have someone experiance clone is Failed ?
0
 
apollo-13Author Commented:
@thanks hancooca
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The clone function failure will not affect the original Virtual Machine.
0
 
apollo-13Author Commented:
you are the best hanccocka THANKSS
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No problems, thanks for your comments.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now