[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2213
  • Last Modified:

SCVMM Library/Templates

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
ITOS
Asked:
ITOS
  • 3
  • 2
1 Solution
 
msmamjiCommented:
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
 
ITOSAuthor Commented:
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
 
ITOSAuthor Commented:
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
 
msmamjiCommented:
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
 
ITOSAuthor Commented:
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.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now