Solved

vmware 4.1 create a new server from a template within the data store

Posted on 2014-07-28
8
572 Views
Last Modified: 2014-07-29
Hi all,

I have copied a server template from a datastore on the production system into a datastore on a stand alone ESXi server (a non clustered host). For the life of me I can't figure out how to deploy a new machine based on the machine that I copied to the template? I'm expecting to see deploy from template but can't see it. I do see deploy from OVF template but when I try this it just takes me down the route of deploying a VM and I can't see the option to chose the folder that I just copied to the datastore - what am I doing wrong?
0
Comment
Question by:Jason Thomas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 120
ID: 40224464
Template deployment is a function of vSphere vCenter Server, when you are connected to  vSphere vCenter Server, which manages ESXi hosts, you can Deploy Templates.

Standalone ESXi hosts do not have this function.

To use it...(copy and clone as per my EE Article!)

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0

Just rename the template file from *.vmtx to *.vmx, and Register the *.vmx filename with the Inventory.

Right Click the *.vmx, and Select Register with Inventory.
0
 
LVL 1

Author Comment

by:Jason Thomas
ID: 40225604
That makes sense thank you. Can I just ask, if you were looking to make a template for 2008 and 2012 would you build and patch them and then run sysprep on them?
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40225619
Yes, we create a 2008/2012 golden master, well (all Windows OS 8/7), we do not add them to the domain, they are workgroup based machines, with a template name of

example

Win2k12VMTemplate1A which matches the computer name!
Win2k12VMTemplate1B

Every month on patch Tuesday, we patch them.

We only SYSPREP them on deployment and Generate a new SID, as part of the to do list.

1. Deploy
2. Sysprep and Change Machine name
3. Add Static IP Info
4. Join to domain

etc
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 1

Author Comment

by:Jason Thomas
ID: 40225633
Oh right, I was patching a server and then sys prepepping and then using the sysprepped image for the new machine, so if you are spinning up a new machine do you make a copy of your master , say by copying all the files in the data store for the machine and then use this copy to turn on and then run sysprep on it?
0
 
LVL 120
ID: 40225712
Yes, the Master always remains the Master - it's the Golden Master. (it's never deployed) but copied/cloned.

It's better for quality control, because you have Baseline to deploy from.

We also have several templates, e.g. just Windows 2012, and then various other versions with different pre-reqs for SQL, IIS, Oracle Servers. (no apps installed, just pre-reqs hotfixes, .NET versions etc)

Golden Masters always remain as Master Images, we deploy, and then Sysprep!
0
 
LVL 1

Author Comment

by:Jason Thomas
ID: 40226035
Thanks Andrew. I've learnt a tremendous amour about VMware and in particular ESXi and is in good part down to you an your articles. Keep the articles coming and if ever you decide to produce a pay for ebook I'll be lining up to buy a copy.
0
 
LVL 1

Author Closing Comment

by:Jason Thomas
ID: 40226038
First class as always. Not only the answer but an explanation too.
0
 
LVL 120
ID: 40226067
Jason

Many Thanks for the kind words!

Andy
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question