Solved

VM Template

Posted on 2013-12-03
6
268 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 117

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 117
ID: 39693978
@rajivkumar07, if you used your method, wouldn't all your VMs have the same SID?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 117

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
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.

707 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

15 Experts available now in Live!

Get 1:1 Help Now