I read about cold and hot-cloning everywhere, but isn't the following possible:
- snapshot the machine while running including the memory
- restore the snapshot (including the memory) as a new VM (e.g. paused)
- be able to change the NIC to an isolated network etc. so the clone doesn't interfere with the original
- resume the clone/fork exactly at the snapshot state
This would not create any inconsistencies in the cloned VM. At least no filesystem-level inconsistencies...
Nobody talks about this, so probably it won't work. Does the snapshot that "Clone..." in Vcenter takes at least quiesce the disks then? There is no option in the "Clone" dialog to do this explicitely.
Thoughts on why this probably couldn't work: MAC address changes instantly => OS may not be happy.
What do you think?
Yes, you can clone a VM from a snapshot. Not through the vSphere client GUI, but via PowerCLI. See this post for details: http://www.jonathanmedd.net/2013/07/clone-a-vm-from-a-snapshot-using-powercli.html You won't be able to resume the cloned VM though. So it will start up with a potentially inconsistent file system.