Last updated by at .

  • Microsoft Azure
  • Virtual Machine Manager

Category: Windows Server 2008 R2

SCVMM Bare-Metal Fails

Add drivers to SCVMM Bare-Metal WinPE Image

A long time ago I wrote a blog post on how you can use System Center Virtual Machine Manager Bare-Metal Deployment to deploy new Hyper-V hosts. Normally this works fine but if you have newer hardware, your Windows Server Image does may not include the network adapter drivers. Now this isn’t a huge problem since you can mount and insert the drivers in the VHD or VHDX file for the Windows Server Hyper-V image. But if you forget to update the WinPE file from Virtual Machine Manager your deployment will fails, since the WinPE image has not network drivers included it won’t able to connect to the VMM Library or any other server.

You will end up in the following error and your deployment will timeout on the following screen:

“Synchronizing Time with Server”

SCVMM Bare-Metal Fails

If you check the IP configuration with ipconfig you will see that there are no network adapters available. This means you have to update your SCVMM WinPE image.

First of all you have to copy the SCVMM WinPE image. You can find this wim file on your WDS (Windows Deployment) PXE Server in the following location E:\RemoteInstall\DCMgr\Boot\WIndows\Images (Probably your setup has another drive letter.

WDS SCVMM Boot WIM

I copied this file to the C:\temp folder on my System Center Virtual Machine Manager server. I also copied the extracted drivers to the C:\Drivers folder.

After you have done this, you can use Greg Casanza’s (Microsoft) SCVMM Windows PE driver injection script, which will add the drivers to the WinPE Image (Boot.wim) and will publish this new boot.wim to all your WDS servers. I also rewrote the script I got from using drivers in the VMM Library to use drivers from a folder.

Update SCVMM WinPE

This will add the drivers to the Boot.wim file and publish it to the WDS servers.

Update WDS Server

After this is done the Boot.wim will work with your new drivers.

 

 

 

 

 



Microsoft System Center Logo

Technical Documentation for Getting Started with System Center 2012 R2

Marcel van den Berg just posted a blog post about the availability of the Technical Documentation for Getting Started with System Center 2012 R2 which was just released by Microsoft. The Technical Documentation covers the Support Matrix and Upgrade Sequence for System Center 2012 R2.

System Center 2012 R2 Requirements

You can download the documents on the Microsoft Download website.



CLIXML Export Import

Save PowerShell Object to file for Remote Troubleshooting

This is not something new to the most of you PowerShell guys out there, but still there are a lot of IT Pros which do not know about this. Sometimes we have to do some remote troubleshooting without having access to the system itself. The thing you can do is to let the customer send you some screenshots but that doesn’t really show everything and maybe you have to contact the customer like 100 times to get the right information. A better solution is to let the customer to run a PowerShell command or script and send you the output. But even a text file or screenshot of the PowerShell output is not the best solution. If you get a lot of text in a TXT file it is hard to sort it and maybe there are some information missing because the txt output does not include all information of the PowerShell object.

I have started to use a simple method to export PowerShell objects to a XML file and import the object on another system. This can be done by the PowerShell cmdlets Export-Clixml and Import-Clixml.

What I do is, I tell the customer to run the following command to generate a XML with the PowerShell objects about his disks for example.

After I got this XML file, I can import it here on my local system and can work with it as I would be in front of the customer system.

CLIXML Export Import

As I said, this is nothing new but this can save you and your customer some time. Of course this works with other objects not just disks ;-) For example you can get Cluster Configurations, Hyper-V Virtual Switch Configurations and much more.

 

 



Windows Server 2012 Logo

Recommend Hotfixes and Updates for Hyper-V and Failover Clusters

I the last couple of releases I always posted the pages where you could get the list of Recommended Hotfixes and Updates for Windows Server 2012 Failover Clusters and List of Hyper-V and Failover Cluster Hotfixes for Windows Server 2012. I want to upgrade the post with the links for Windows Server 2008 R2, Windows Server 2012 and Windows Server 2012 R2. So you can find all updates from a single site.

Windows Server 2012 R2

Windows Server 2012

Windows Server 2008 R2

Feel free to share this page and I always recommend to get the latest hotfixes when you are deploying a new Hyper-V or Scale-Out File Server environment. And definitely check also Aidan Finns blog from time to time where he does some deeper look at the Knowledge Base articles for Hyper-V.

 



Server Posterpedia

Microsoft Server Posterpedia Windows 8.1 App just updated

Some days ago Microsoft released some of the new architecture poster for Windows Server 2012 R2 Hyper-V. Today Microsoft released an update in the Windows App Store for their Server Posterpedia App including the new Hyper-V 2012 R2 posters and some design changes.

Server Posterpedia is an interactive app that uses technical posters as a reference for understanding Microsoft technologies. This app includes all the reference posters from different Microsoft Server Technologies such as Windows Server 2012 Hyper-V, Exchange or Windows Azure. The great thing about this App, you can not only checkout the different posters and zoom in, if you click on a specific topic for you get directly linked to the right TechNet article. This can help find some TechNet references really easy and fast.

You can get the Server Posterpedia App in the Windows Store. and you can get some more information about this awesome App on my blog: Microsoft Server Posterpedia Windows 8 App or on serverposterpedia.com.



System Center Logo

System Center 2012 SP1 Virtual Machine Manager Update Rollup 4 available

Microsoft just released Update Rollup 4 for System Center 2012 SP1 which includes updates and fixes for Virtual Machine Manager, Service Manager, Operations Manager and App Controller.

Update Rollup 4 for System Center 2012 Service Pack 1

The Update Rollup 4 for Virtual Machine Manager includes fixes for 28 issues. The Update Rollup includes fixes for the Virtual Machine Manager Server, Console and Agent.

Issue 1
For scale-out file servers, if one of the file server nodes is offline, Virtual Machine Manager cannot discover or register the scale-out file shares.

Issue 2
Virtual Machine Manager cannot deploy port profiles if one of the port profile’s maximum size is reached.

Issue 3
The Virtual Machine Manager Service crashes when there is an empty value for the vNICperf counter.

Issue 4
A “RunAs” account cannot be defined by using a service setting and cannot support the validation for network load balancing.

Issue 5
New virtual machines cannot be created from a library virtual machine if that library virtual machine has a snapshot on it.

Issue 6
In some cases, if a user imports a user interface add-in, the user might be unable to access the Virtual Machine Manager Server connection because the PowerShellContext property is null.

Issue 7
System Center 2012 Service Pack 1 Virtual Machine Manager cannot be uninstalled if any previous Update Rollup is applied to the system.

Issue 8
Virtual machine creation fails because the VMNetworkServiceSetting property cannot be set.

Issue 9
A new virtual machine deployment together with multiple pass-through disks may fail because Virtual Machine Manager cannot locate the boot or system volume during the installation of virtual guest services.

Issue 10
The Virtual Machine Manager Service may crash when it tries to discover a virtual machine on specific Storage Area Networks (SAN) storage.

Issue 11
In some cases, Virtual Machine Manager cannot update the VMWare host, the virtual machine or networking information.

Issue 12
Virtual Machine Manager tries to reset a virtual local area network (VLAN) ID when there is no change in the virtual machine network (VM network) or virtual machine subnet (VM subnet) of the network adapter.

Issue 13
When you migrate the storage of an online highly available virtual machine (HAVM), the cluster resource for the storage is not updated.

Issue 14
Virtual Machine Manager may report 0-percent CPU usage or 0 kilobytes (KB) available memory on the Hyper-V host.

Issue 15
Failed or canceled cross cluster migration does not clean the highly available virtual machine (HAVM) resource that is left in the target cluster.

Issue 16
The Virtual Machine Manager Service may crash because of Foreign Key violations in the tbl_ADHC_FibrePort table. This can be caused by a port that is deleted by Virtual Machine Manager before mapping is added.

Issue 17
Forecasting reports do not work if you use Microsoft SQL Server Analysis Services (SSAS) 2012.

Issue 18
A Server Message Block (SMB) protocol dialect shows 30,000 network-attached storage devices when Virtual Machine Manager is run on a German locale.

Issue 19
You try to create a virtual machine by using a virtual machine template. When you use some specific virtual hard disks (VHDs), the virtual machine creation may fail at the “Install VM component” step.

Issue 20
VMware templates imported from the Virtual Machine Manager 2012 Service Pack 1 console that are deleted from the Virtual Machine Manager console are put in the “Missing” state.

Issue 21
When a Windows Communication Foundation (WCF) channel is used after having aborted, the Virtual Machine Manager Service may ultimately crash.

Issue 22
You migrate a virtual machine with live migration. If you then migrate the virtual machine with stopped migration (for example, the source location does not exist in the target host), the migration fails. Additionally, you receive the following error message:

Failed to change smart paging store for virtual machine.

Issue 23
You change the Preferred Owners and the Possible Owners settings of a highly available virtual machine (HAVM). When you migrate the HAVM from a cluster to a stand-alone host, the Virtual Machine Manager Service may crash.

Issue 24
When you run a physical-to-virtual (P2V) conversion or a virtual to virtual conversion (V2V), the conversion wizard should use the virtual machine network (VM network) parameter in the network adapter cmdlet instead of the logical network parameter.

Issue 25
When unmasking a logical unit number (LUN) to the host, you may receive the following error message:

Fibre Channel – SM_RC_NOT_ENOUGH_SPACE

Issue 26
You receive an error when you add a storage pool to Virtual Machine Manager. This problem occurs if the logical unit number (LUN) of the storage pool is part of multiple storage pools.

Issue 27
After you install the Microsoft .NET Framework security update 2840632, some of user interface (UI) controls may not work.

Issue 28
Servicing services that were deployed before Update Rollup 3 for System Center 2012 Service Pack 1 was applied might fail after Update Rollup 3 is applied.



Export Templates from Virtual Machine Manager Settings

Export and Import Virtual Machine Manager Templates

If you are working with System Center Virtual Machine Manager and you want to export and import your existing VM or Service Templates. I have a customer scenario where we have two VMM installations. They are using System Center Virtual Machine Manager, Orchestrator, Serivce Manager to deploy new customer environments for their premium SaaS (Software as a Service) hosting solution where they deploy Lync, Exchange and SharePoint fully automated. Here we have a development environment where they test new System Center Orchestrator Runbooks and new Templates in Virtual Machine Manager. After they have a working RunBook with working Templates they export the templates from the dev VMM and import them in the production environment.
Because I was surprise how great this works and I think not a lot of people know about this feature, I created this short step-by-step guide.

Export Templates from Virtual Machine Manager

First select the Templates you want to export and click on the Export button on the Ribbon bar. You can also do a multiple select to export multiple templates.

Export Templates from Virtual Machine Manager

You can than configure the export, with a location, password.

Export Templates from Virtual Machine Manager Settings

 

You can also select what physical resources which should be exported with the template. For example if you are using the same VHD or VHDX for multiple templates you may want to export this resource only once to save some space.

Export Templates from Virtual Machine Manager physical resources

The export will look kind of like this. The XML files are the templates with the configurations, and in the folders are the physical resources like VHDs, XMLs or other stuff.

Exported Templates from Virtual Machine Manager

Import Templates in Virtual Machine Manager

To import a template just select the exported XML file.

Import Templates in Virtual Machine Manager

You can change or setup the resource of the template, for example you can select an already existing VHD from your Library or an already existing Run As account.

Import Templates in Virtual Machine Manager resources

And you can set the location for the new imported resources (VHDs,…)

Import Templates in Virtual Machine Manager resource location

I hope this shows you how easy an export and import of a Service or VM Template from System Center Virtual Machine Manager is. I like especially how SCVMM handles the additional resources, so you don’t have to import the same VHD every time and you can change Run As accounts very easily.