As I’ve mentioned in the past I’ve been working with a good friend of mine to help him get his home lab up and running. In the last blog post I talked about the importance of a solid Windows 2008 Template and the process in vSphere 5 on how to create a template. As I pointed out, a good windows 2008 R2 Template can be a nice thing to have when building up your home VMware Lab !! Between Active Directory, vCenter, View Connection server etc. The number of Windows Servers can add up quickly and the last thing you want to be doing is re-creating the wheel each time with a new install.
The next step after you’ve created a Template is to actually deploy that template. This is a step by step process of how that works in vSphere 5.
First things first, you want to click on Home: VM’s and Templates:
Next, you want to select them template you want to use:
Then Right Click on it and “Deploy Virtual Machine from this Template”
The first question that pops up ask you to name the new virtual machine as well as pick the inventory location. In my case, I just have 1 datacenter 🙂 so I picked my Plano, Tx location.
The next step will ask you to pick the Host/Cluster you want to run this new VM in. In my case, I just have 1 Cluster and that’s my “HomeLab” so this was an easy pick.
It will then prompt you to pick a host. In my case I have 3 hosts to choose from. .
Next question asks you what Datastore you want to utilize for this.
The next few questions are all around the guest customization. Take it from me, don’t simply skip this step. All to often I’ve seen a cloned OS come on line and wreak havoc with Active Directory. Case in point: http://vtexan.com/2011/06/05/quick-fix-to-an-ad-issue-with-a-vm/
First question on the customization process is naming the server and setting up the organization.
Then you enter in the NetBIOS name – you can also choose to simply use the VM’s name – just keep it under 15 Characters or it gets truncated
Ahh the fun part – adding in the Product Key. I sometimes do this, sometimes I don’t. Its not a show stopper.
Step 9 (or so) asks you for the password
Then you pick the time zone
If you have any other types of scripts or processes you want to kick off during the setup, this is the spot to call that out. – I don’t have anything fancy like that so I just click next to skip it.
Ahhh, the fun Network info. You can either do “typical settings” which will be DHCP (you can change it later)
Next you get to define if you want to add this to a domain or not. I have to tell you, I’ve been hit or miss on this. Sometimes it works, but often times it doesn’t and I end up adding it to the domain once it powers on after all the setup stuff.
Most importantly – have it generate a new SID.
If what you’ve selected above is your “Typical” settings then you can simply save all of this in a customization script that you can use in the future.
We are just about done, this next step gives you a chance to review all the changes you’ve made to the OS
Finally the last part is for you to review the VM specific stuff (Hosts/Cluster/Datastore etc) stuff. Once you are done, click Finish
Now you can watch the process down in the Tasks area 🙂
Once it’s completed, you will now see your new VM in the Hosts/Clusters area. Right Click and power on !!
There ya go – EASY PEASY !!
Like I said, a good template can make your home lab a lot easier to deal with !! If you have any other tips/tricks or hints feel free to leave them in the comments section.
3 Responses to “vSphere 5–How to Deploy from Template”
Leave a Reply
- How to setup your first Desktop Pool in VMware View 5
- How to install configure and deploy VMware View 5 on vSphere 5
- FastCache-the answer to the Automated Storage Tiering Problem
- The VMware Home Lab
- How To Install EMC ProSphere
- How to recreate a VMware Workstation VMX file from scratch
- Vblock: the answer to the NRE time problem
- VMware is not evil - my opinion on their new licensing model