Solved

SCVMM Library/Templates

Posted on 2010-11-26
5
2,205 Views
Last Modified: 2013-11-08
Hi,
I am currently installing SCVMM 2008 R2 - I am a little confused by the concept of the library. As far as I can tell the library holds a repository of configuration files but it is unclear where I can store all the various templates that I will use in order to build new servers.

It was recommended in articles that you use the SCVMM itself to hold the library but depending on capacity i'm not so sure this is the perfect solution. I was thinking of creating a share on a NAS and mapping it so that I could keep a larger repository.

What do other people use in order to achieve this?

Regards
0
Comment
Question by:ITOS
  • 3
  • 2
5 Comments
 
LVL 15

Expert Comment

by:msmamji
ID: 34228294
I am currently installing SCVMM 2008 R2 - I am a little confused by the concept of the library. As far as I can tell the library holds a repository of configuration files but it is unclear where I can store all the various templates that I will use in order to build new servers.

The library can store the various types of resources:
Virtual hard disk files (.vhd, .vmdk), PowerShell script, Sysprep answer files, ISO images, Virtual floppy disk (.vfd, .flp). In additon to those, you can also store entire VMs in the form of templates or offline VMs. You can also store Hardware profiles and guest operating system profiles.
However templates, hardware profiles and guest OS profiles don't have physical representation in the library share, they are stored in database. Meaning if you go look at the share, you won't find anything corresponding to those resources.
To answer you question your templates will reside in the database but the VHD(s) the templates are linked to will be present in the share.

It was recommended in articles that you use the SCVMM itself to hold the library but depending on capacity i'm not so sure this is the perfect solution. I was thinking of creating a share on a NAS and mapping it so that I could keep a larger repository.

So if the share is mapped to the VMM server, wouldn't that mean the VMM server is holding/hosting the library share? If the share is mapped to any other server and then the share is added to the library, I think that would make it sort of a remote share...which is it?
0
 

Author Comment

by:ITOS
ID: 34337231
Sorry for the delay on the reply,
While I understand your concept of resources I am still unclear on where to store certain files.

I have created the library on a new .vhd file which is attached to the SCVMM server as a second drive. I take it that this is where I can define the templates.

"However templates, hardware profiles and guest OS profiles don't have physical representation in the library share, they are stored in database."

When you mention database what exactly do you mean? Where does this need to reside so SCVMM can use it to create the vhd files.

The reason I am asking is that previously I have created a number of VMs that I use as templates. When I want to use one to create a new server I copy the .vhd file and adjust settings then manually deploy. What I am trying to work out is how SCVMM can do something similar in order to automate this process. Do I need to add another library server with all these customised VMs I wish to call?

Sorry for the confusion.
0
 

Author Comment

by:ITOS
ID: 34337312
After re-reading the question I am really trying to figure out is where should these template .vhd files reside and how do I set up SCVMM to be able to call these when I want to build from these templates.
0
 
LVL 15

Accepted Solution

by:
msmamji earned 150 total points
ID: 34340969
When you mention database what exactly do you mean? Where does this need to reside so SCVMM can use it to create the vhd files.

When you install SCVMM your are asked to select a database where the VMM DB will installed by the installer or you are given an option to install sql express that comes with the installer. Either way you have a SQL DB associated with VMM where it stores information about VMM settings, templates (in tables) etc.

In order to achieve a better understanding I would like to break it up a little bit. I assume you are familiar with the process of creating a VM. Once you have a VM on a Hyper-V host, which you have attached/added to the VMM Server. Using the VMM server, you would like to create template out of this VM. You right click the VM and select "create template". The VMM submits a job, that job creates the template out of the VM and destroys the VM at the end. The end product is that a template is placed physically on the SQL server and is viewable from the library Tab of the VMM Server. The VHDs associated with the template are saved to the library share.

You can then go to the library tab in the VMM server, there you should see the template and then right click on the template, you have the option of creating a VM from template among other things.

Give it a try. Fool around. The worse that can happen is that the server gives off smoke and smells funny. :)

Hope that cleared some confusion.
Regards,
Shahid.
0
 

Author Comment

by:ITOS
ID: 34345394
Thanks Shahid.
I will play around with it and give it a go. My concern was running out of storage space to store these templates as some of them can be sizeable.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction Windows 2012 is here - it is upon us, and I hope that like me, you will upgrade your Hyper-V to the new version which has been promised to be a lot more stable, flexible and powerful than its predecessor in Windows 2008 R2.  Setting up…
From Coral's  "So You Want To Play With Computers" Series A bit of background first, so this story will make a little sense. One day, probably because he needed a good laugh, Finagle hooked me up with a church to upgrade/run their Media Booth.…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

22 Experts available now in Live!

Get 1:1 Help Now