Solved

All new VMs created out of the template have a VHD with the origial server name

Posted on 2011-02-14
5
1,802 Views
Last Modified: 2012-05-11
I created a template from an existing VM (Windows 2008 R2) and stored it in the library. However every time I create a new VM by using this template on which guest OS profile configuration is applied, I get a VM with the same VHD disk name as the original VM. The problem is, that the original VHD name contained the original server name. So every new VM created out of this template has a VHD with the origial server name.  This can be kind of confusing.

How can I rename the VHD either before I create a new VM out of the template or after I created the new VM?  I can't as SCVMM has no mecanism to rename a vhd in the process of creating a vm from template.

VMM is creating a folder by the name of VM when the vm is created and copies the VHD there.  But the VHD gets the name of the template and still, it is confusing no matter what.  Of course  I can use the full path to vhd to identify which VM it is associated with.  But it's really not the way to go.  I hope Microsoft will fix this up in the next release / uppdate.  

As SCVMM doesn't care about VHD names, is there an easy way to rename it ?  

Thanks
0
Comment
Question by:quadrumane
  • 3
5 Comments
 

Accepted Solution

by:
quadrumane earned 0 total points
ID: 34889931
Someone on the technet forum has figured it out.  It's not exactly what I would have expected.  But:

 "when you create a template of a VM and it is stored in the library, you can go into the library, go to the stored vhd and rename the name of the vhd and the file name of the vhd by using the properties function. this allows to rename a disk before you create a new machine out of the stored template."

Just don't forget to rename it back as it was.
0
 

Author Comment

by:quadrumane
ID: 34910179
But you'll be unable to create more VM from the template at the time because all VMs will get the same VHD name.  
0
 

Author Comment

by:quadrumane
ID: 35306008
Thanks
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35340002
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

786 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