Wednesday, August 29, 2018

vmware esx - vSphere templates what to put in them?



I am new to vmware and templates. From what I understand templates are meant to eliminate some repetitive tasks when creating virtual machines.



I am currently setting up a virtual machine on win2008 R2, and configuring it to be a base template using the following link as a guide. http://jeremywaldrop.wordpress.com/2008/10/28/how-to-build-a-windows-2008-vmware-esx-vm-template/



Ok great, I can eliminate some of the OS setup tasks when creating a virtual machine using my base template.



My question however is, what else are other users here putting in their templates?




Should I setup external applications in my templates such as SQL Server 2005, notepad++, wireshark? Or are templates only meant to be used for OS type settings like in the above guide?



Thanks.


Answer



There's 2 main components to templates, if you're running vSphere (ESX and vCenter). The template Vms themselves, and Guest Customization. If you configure guest customization (just by coping sysprep for each OS onto the vcenter), all the windows deployment steps (naming, network, license, time zone, owner info) is taken care of for you.



So once that's running, all you have to do with the templates is provide a base OS configuration, patched, with a temporary network name. If you have 'standard build' apps that you must layer on your builds (e.g. monitoring agents, wallpaper) then you can do this to the template VM before marking it as a template.



Beyond that, I don't think there's too much more to it, everything else you could add on is at your discretion. I find that keeping a relatively small number of templates/guest customizations, usually one per OS, is sufficient and saves a chunk of deployment time.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...