Solved

SCVMM Library/Templates

Posted on 2010-11-26
5
2,209 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
[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
  • 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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Nowadays, Virtual Machines are used equally by small and large scale organizations. However the issue is that VMDK files are also prone to corruption. So, in this article we are looking at how to recover VMDK files from hard disk of host operating s…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

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