Anyway, I'm working on a project to re-build DR, and I have to deploy a number of servers. Since we aren't using vCenter there, I can't just deploy one server, template it, and deploy the rest from the template. That is because cloning, and templating is a function of vCenter, not ESXi, or even ESX for that matter.
I did see a really great suggestion from Dave Mishchenko on the VMWare communities forums that is a pretty good workaround. He suggests:
- Create a new VM with the VI client - give it a small HD size.
- Edit the new VM and remove the HD.
- With the RCLI, use vmkfstools to copy the template VMDK to the new VM's folder.
- Edit the VM and add a HD - use the option to select an existing VMDK.
- Start the VM and run sysprep, etc to customize the OS.
You don't really need the RCLI to copy the VMDK to the clone machines. You can do that through the VI Client, and you will probably want to sysprep your template machine first before copying it around, but hey, this works and saves a heap of time. Thanks for the tip Dave!
[VIa VMWare Communities]
Related articles, courtesy of Zemanta: