Difference between revisions of "Managing VMM 2008 Library Servers"
m (Text replacement - "<google>BUY_VMM</google>" to "<htmlet>vmm</htmlet>")
|Line 8:||Line 8:|
Revision as of 18:44, 29 May 2016
|Previous||Table of Contents||Next|
|Managing Virtual Machines with the VMM Administrator Console||Performing Physical to Virtual (P2V) Conversions using VMM 2008|
|Purchase and download the full PDF version of this VMM 2008 eBook for only $8.99|
The Virtual Machine Manager Library is a repository used to store a variety of virtual machine resources such as virtual hard disk and CD/DVD ISO images, virtual machine templates, stored virtual machines, virtual floppy disks, hardware and guest operating system profiles and SysPrep answer files. The primary purpose of the library is to promote re-use of information and objects in the creation and configuration of virtual machines deployed within the Virtual Machine Manager infrastructure.
A VMM Library consists of resources stored in one or more network share folders on the VMM Library Server system combined with information cataloged in the SQL Server database associated with the VMM 2008 installation. By default, the VMM Library share folder is located in %SystemRoot\ProgramData\Virtual Machine Library Files and shared under the name MSSCVMMLibrary.
A VMM 2008 configuration can have multiple VMM Library Servers configured. The Library Server is commonly installed on the same system as the VMM Server, although for larger mission critical configurations, it is recommended that the VMM Library Server be deployed on a failover cluster.
Adding New Library Servers
When the VMM Server component is installed, the default VMM Library Server is also installed. It is then possible to configure additional VMM library Servers on other systems. This is achieved from within the Library view of the VMM Administrator Console (for information on installing and launching the console read the chapter entitled A Guided Tour of the VMM Administrator Console).
New VMM Library Servers are added by clicking on the Add library server link located in the VMM Administrator Console Actions pane located on the right hand side of the console window. This selection will launch the Add Library Server wizard. The Enter Credentials screen requires the user name and password for a valid administrator on the specified domain.
Once a valid account has been specified, the Next button displays the Select Library Servers screen where one or more servers may be designated as VMM Library Servers (see figure below). Enter the name of the server in the Computer Name field and click Add to add the server to the list, or use the Search button to search for servers by domain and virtualization type.
Once one or more systems have been selected as library servers, click Next to configure the network shares to be used to store the library files. During the preparation of this book, problems were encountered in adding shares during the library server creation process. If you encounter similar problems, shares may be added after the library server has been added by following the steps outlined in the section entitled Adding Shares to a Library Server.
Once the library server configuration is completed, the new library will appear in Library Resources pane in the top left hand corner of the VMM Administrator Console:
Removing Library Servers
A library server may be removed from the Virtual Machine Manager by right clicking on the server in the Library Resources pane in the top left hand corner of the VMM Administrator Console and selecting the Remove menu option. The system will calculate any dependencies and then display the following dialog prompting for user credentials and confirmation to proceed with the removal process:
Once the library server has been removed from the VMM infrastructure, the files associated with the corresponding library will remain on the server that originally hosted the library server. These will need to be manually deleted if no longer required.
VMM Library Servers store files in network share folders. Shares are typically configured during the VMM Library Server installation process. Additional shares may, however, be added to a library using the VMM Administrator Console.
Before the shares can be added to the library, however, they must first be created on the VMM Library Server host. To do this, log into the system on which the library resides, enable network sharing and discovery if not already enabled, create the folders which are to be used as library shares and then share them by right clicking on the folders, selecting Properties and choosing the Share tab. More details on how to share folders on Windows Server 2008 can be found in the Configuring Windows Server 2008 File Sharing chapter of the Windows Server 2008 Essentials online book.
Once the shared folders have been created and shared, switch to the Library view of the VMM Administrator Console, select the library server to which the shares are to be added from the Library Resources pane and click the Add library shares link in the Actions pane. The selection will invoke the Add Library Shares wizard as illustrated in the following figure:
The first screen displayed by the wizard lists the network shares that were previously configured on the VMM Library Server host. Select any shares that are to be added to the library and click Next to proceed to the summary screen. Assuming the summary information is correct, click the Add Library Shares button. Once the addition is complete, the new shares will appear beneath the library server in the resources pane as shown below:
The shares are now available for the storage of virtual machine resources.
To remove a share from a library, right click on the share in the Library Resources pane and select the Remove menu option. A confirmation box will appear warning that all files contained in the share will also be removed the Virtual Machine Manager. Once confirmation is given, the share will no longer be listed in the library. Although the share has been removed from the library, the shared folder and files contained therein still exist on the server hosting the library and must be manually deleted if no longer required.
Manual and Automatic Library Refreshes
VMM Library Servers perform periodic automatic refreshes on libraries to re-index the library share files. By default, the interval duration is set at one refresh every hour. To change this setting to increase or decrease the frequency of these refreshes, choose the required library from the Library Resources pane in the VMM Administrator Console and select the Actions -> Library Actions -> Library Settings menu option. This will display the Library Settings dialog:
From within this dialog, automatic refreshes may be turned off or the duration modified to meet specific requirements. In addition, a manual refresh of a library may be performed at any time by right clicking on the library and selecting Refresh from the resulting menu.
Adding Files to a VMM Library
To add a file to a library, simply copy the file to the appropriate share folder on the library server system. Note that new files added to a library share will not show up in the library index until the next refresh is performed. To perform a manual refresh, right click on the library to which the file was added and select Refresh from the resulting menu.