Solved

SCVMM Library/Templates

Posted on 2010-11-26
5
2,208 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Few best practices specific to Network Configurations to be considered while deploying a Hyper-V infrastructure. It may not be the full list, but this could be a base line. Dedicated Network: Always consider dedicated network/VLAN for Hyper-V…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

765 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