"Can I clone a VM ?"
"I have spent time coming up with a perfect image (gold image), how can I use ConVirt to provision VMs from it ?"
As I heard quite a few similar queries, I thought it might be useful to have blog entry that explains it. Apart from some differences between VM Cloning and using a reference image, both boil down to having pre-cooked disk(s) that are ready for creating more VMs from it. It is assumed that the environment would use DHCP and other vm specific customizations would be carried out on first boot.
As ConVirt is built with very flexible provisioning scheme, it only takes few simple steps to achieve this.
1. Select an image from the image store that is similar to your reference disk.
e.g. Select a PV image if your disk contains a Xen PV image or select a Linux_CD_Install if you want to use HVM. We will select the Linux_CD_Install.
2. Use Create Like operation from the context menu after selecting the image. Give it a name say ‘Developer Desktop’
3. Now that you have an image, lets customize and associate it with the reference disk. For this:
If you have more disks repeat this step.
4. As we have selected the Linux_CD_Install image, we need couple of more adjustments.
5. Now that we have our own image, lets change the description to reflect that. Update title, author (in case something goes wrong, people know whom to catch
), and procedure specific to the image. You can select the image and choose Edit Description. (Fig. 3 and 4)
6. Thats it !!. You have your own image template that now you can provision for each Developer. Select the image and provision away.
Fig 1 : Specify Reference Disk Details

Fig 2: Change the Boot Settings

Fig 3 : Change Description

Fig 4 : New Description

Comments Closed
Sorry, comments for this entry are closed at this time.