Solved

VM Template

Posted on 2013-12-03
6
269 Views
Last Modified: 2013-12-06
when we need to create a VM template, do we need first to use a powered on VM , then "Clone to Template" ?
after the template has been created do we need to customize the VM so that it will have unique SID?

I might have posted similar question in the past, but since I have not used it, I forgot about the answer.

Thank you
0
Comment
Question by:jskfan
  • 3
  • 2
6 Comments
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 350 total points
ID: 39693518
Template creation can be completed with the VM Power ON or Powered OFF.

using the Clone to Template feature.

When Deploying the TEMPLATE, if you want the VM to have a Unique SID, you will need to use the Customization Specification Option to "Sysprep" after deployment.

ALL Physical or Virtual Computers SHOULD HAVE Unique SIDs as recommended by Microsoft, when cloning a computer.
0
 
LVL 4

Expert Comment

by:rajivkumar07
ID: 39693633
1 - Create a VM.

2 - Convert it to the template and shut it off since templates should not be turned on     anyways.

3 - Clone it from that template.

4 - Do not need to run sysprep if cloned from a template.


Sysprep is needed if cloned from a non-template.

Cloning is possible whether you are cloning from a VM that is turned off or on.
0
 
LVL 118
ID: 39693978
@rajivkumar07, if you used your method, wouldn't all your VMs have the same SID?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 4

Assisted Solution

by:rajivkumar07
rajivkumar07 earned 150 total points
ID: 39694063
You know I forgot to add something else. Here it is -

When the template is created, run the sysprep /generalize and shut it down!!! It will basically rip the Unique identifier.

After that, create a VM by cloning that particular template and at the boot time, that VM will generate its new SID so no need to run sysprep again.

This is what I have been doing in my organization and never got into an issue.
0
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 350 total points
ID: 39694077
This is what Customization Specification does automatically at Deployment with no interaction with the VM.
0
 

Author Closing Comment

by:jskfan
ID: 39702560
Thank you
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now