Why do I need to add the files that I use to create virtual machines to the library?
The library provides a central, secure, definitive store for the resources used to create virtual machines in your organization. Using the library helps promote re-use of approved images and configurations.
How do I configure my library?
To configure the library, you create the library shares on the servers that you want to use and then add the servers, specifying which shares you want VMM to index during library refreshes. You can do this by using the Add Library Servers Wizard, which is available in any view of the VMM Administrator Console. To add additional library shares later, you can use the Add library shares action, available in Library view. You can add only existing shares; VMM does not create the shares.
To enhance performance and reduce network traffic during virtual machine creation, it’s important to store the files that you use to create virtual machines near the hosts you will use to stage virtual machine creation. You can use the library group property of library servers to help associate library servers with the host groups they will serve. For more information, see Planning for the VMM Library.
VMM also supports highly available library servers, created by adding a Windows Server 2008 or Windows Server 2008 R2 failover cluster. This option is discussed in detail a little later in this topic.
What types of files are indexed in the VMM library?
During library refreshes, the following types of files are added to available resources in Library view: virtual hard disks (unless attached to a stored virtual machine), virtual floppy disks, ISO images, answer files, and PowerShell scripts.
A library refresh also indexes, but does not display, all files associated with stored virtual machines, including the virtual machine configuration file, attached virtual hard disks, saved state files, imported snapshots, checkpoints, and the files associated with virtual machine templates. In the navigation pane of Library view, stored virtual machines and templates are displayed in the VMs and Templates node for the library server that stores the files that are associated with them. You can view snapshots and checkpoints for a virtual machine on the Checkpoints tab in the virtual machine properties.
For a complete listing of indexed file types, see File Types That Are Indexed During a Library Refresh.
How often does VMM refresh the files on library shares?
By default, VMM refreshes all library shares once every hour. If you need an immediate refresh, you can manually refresh an individual library share or all library shares on a library server by selecting the share or server in the Library view of the VMM Administrator Console and then clicking Refresh share.
To change the library refresh interval, display Administration view of the VMM Administrator Console, click General, and then click Library Settings in the results pane. In the Actions pane, under Settings, click Modify. In the Library Settings dialog box, set the number of hours between refreshes. One hour is the minimum interval.
Can I transfer files from one library server to another?
You can move the files by copying them to a library share on another library server. During the next library refresh, VMM will refresh the metadata in the VMM database.
What happens when I remove a library server?
When you remove a library server or library share from VMM, the files are not deleted from the file system. The only change is that the metadata is removed from the VMM database. Likewise, VMM removes all library objects—such as templates, hardware profiles, software profiles, and stored virtual machines—that are associated with files on a removed library share from the VMM database.
When I store a virtual machine in the library, why don't I see the configuration files in the library resources?
The virtual machine configuration file is used only to import the virtual machine into VMM. After the virtual machine has been imported, there are no actions that a VMM administrator or self-service user can take on a configuration file. For this reason, the configuration file is not displayed.
What happened to my virtual hard disk file? I see it in Windows Explorer but not in the library.
If the virtual hard disk is attached to a virtual machine, the virtual hard disk file does not show up in the library as a resource. If you view the properties of the virtual machine that the VHD is attached to, you will see the reference to the VHD.
I created a folder on my library share. Why doesn’t the folder show up in the library after a library refresh?