If you’ve been in IT for any length of time, you’ve likely gotten that phone call that you never want to get: Everything is broken! It’s the end of the world! The sky is falling! Your Hyper-V Host or Cluster is broken and you are the person to fix it!
Where do you start?
What are the most common things to look for?
These are exactly some of the questions we’ll be covering in our next webinar, on February 25th, 2016 at 4pm CET / 10am EST!
Microsoft Cloud and Datacenter Management MVPs Didier Van Hoye and Andy Syrewicze will be answering these questions, and will also be sharing some tales from the trenches.
In this webinar you’ll learn Hyper-V troubleshooting basics and solutions to common problems. You’ll also see some Hyper-V oddities that were encountered by Didier and Andy and how these issues were ultimately resolved and with what tools.
It’s one thing to setup and run a virtualization solution. It’s another thing to fix it when it’s broken.
Sign up now to join us on February 25th, 2016 at 4pm CET / 10am EST (30-45mins + live Q&A!) for some tales from the trenches!
Save the date!!
the 10th of december there is a free webinar about automating tasks in your Hyper-V environment without the user of Microsoft System Center Virtual Machine Manager (SCVMM).
This is realy usefull for that customers who don’t have System Center within their environment! Automation and scripting some tasks can save you a lot of time and money!
MVP Thomas Maurer and Technical Evangelist Andrew Syrewicze will present this webinar!
This month I’ve to install and configure a Microsoft SCCM 2012 R2 environment. This customer is going to use SCCM basically deploying Windows Server 2012 R2 virtual machines. For the task sequences I’ve used the Windows Server 2012 Update 1 ISO, but there’re a few updates available in the past (around the 122 updates!!)
So I’ve configured a new Build and Capture task sequence to deploy a “Golden Image”. I’ve also integrated Windows Server Updates Services (WSUS) within SCCM, so during the Build and Capture task sequence the updates will also be installed. The task sequence takes a long time. After some troubleshooting, I’ve found some of the main reasons….Update KB3000850. This update is around the 700 MB and takes a long time to install!
First of all, I’ve updated the Windows Server 2012 R2 WIM from the ISO with the latest Windows updates using Offline Servicing. This great feture is available within SCCM 2012 R2. With Offline Servicing it is possible to apply Windows Updates in a WIM file offline. After applying update KB3000850 in the WIM image, the Build and Capture task sequences is going realy faster!! 🙂
When you do a lot of deployments whitin your Windows 8.1 Client Hyper-V machine, the disk space is getting more and more. Because I’ve only one SSD drive of 250 GB, the free space becomes critical. I’ve got to find a way to reduce it. I read a few blogs and found a solution which is the dedup. But data deduplication is not available whitin Windows 8.1.
This method is not officially supported by Microsoft ,however found a way to save my disk space.
This method requires the CAB files from the Windows Server 2012 R2. Either you can get those files from a Windows Server 2012 R2 or you can download the files from my OneDrive here.
The files are as follow :
I downloaded the files to a folder as below and installed all the CAB files:
Next step is to install the CAD files on your Windows 8.1 machine. I’ve used DISM to install these files.
After you’ve succesfully installed the CAB files, you’re able to install the “Data Deduplication” role. I’ve also used DISM (see screenshot below).
The next step is to enable Data Deduplication on the volume or volumes. First I’ve readthe current free space on my E: drive. After enabling Data Deduplication on this volume, I’ve manually started the Data Dedup task.
But after enabling Data Depuplication and running the Dedup Job, there’s nothing happening!! Why?? Because the minimumFileAgeDays is 3 and my files on the hard drives are 2 days old 🙂 So I’ve added the MinimumFileAgeDays to 0 (zero days). After running the Dedup Job again, let’s have a look on the current free space!! Dedup is doing his job!!! 🙂 Cool!
The final screenshot are the commands I’ve used to configure this in my lab environment. Once again, this method is not officially supported by Microsoft.It’s a great way to save some disk space on your expensive SSD hard drive! Now you can deploy more virtual machines on the same hard drive, so happy automation and deployment!! 🙂
Working with System Center products is one of my favorite things!! A great solution I’m using is the Powershell Deployment Toolkit (PDT). The PowerShell Deployment Toolkit (PDT) is a set of scripts and knowledge for automated deployment of System Center 2012 SP1/R2, including SQL all prerequisites, and all automatable post-setup integration. PDT is written by Rob Willis.
Download the Powershell Deployment Toolkit (PDT) here.
Because Powershell Deployment Toolkit contains some Powershell scripts and XML files, this is not a easy thing for everyone! To make this powershell scripts just more powerfull, the Powershell Deployment Toolkit GUI is created!! This is a graphical user interface for the Powershell Deployment Toolkit. The original PDT is created and maintained by Rob Willis from Microsoft Corporation. The PDT GUI is created and maintained by German Microsoft Partner ‘Elanity Network Partner GmbH’ and is not an official Microsoft Product. The PDT GUI helps to create fast PDT Configuration-Files (Variable.xml) for Zero Touch System Center Deployments. PDT GUI creates and validates the configuration files for PDT, it does not alter the existing PDT in any way. An installed PDT is neccessary for a succesful PDT Deployment.
Download the Powershell Deployment Toolkit GUI here.
Benedict Berger (Hyper-V MVP and Hybrid Cloud Geek) and Kamil Kosek (Powershell Geek and Automation IT Pro) teamed up end created this free tool. Special credits to this guys, great job!!
If you want to save some time installing all the System Center 2012 R2 products within your production environment or demo lab environment, the HydrationKit is just the way to go!! System Center guru Johan Arwidmark has created a fully automated installation upon MDT 2013! Within just a few minutes, you’re ready to rock!!
Download the HydrationKit for System Center 2012 R2
Special thanks to Johan!! Please visit his blog at http://www.deploymentresearch.com and leave a message for him!!
In some cases I’ve to create multiple VM’s within my Hyper-V environment. You can choose to create and configure each VM manually, but you can also use PowerShell. Now you can see how powerfull PowerShell really is! I’ve created multiple VM’s within a few seconds and ready to rock! I’ve created the following script. The only thing you’ve to do, is changing some variables 🙂
In this example the script will create a new VM named RES-MGN01. The VM will be configured with 2 GB, using Dynamic Memory. The VM is using a differencing disk (VHDK) with a Windows Server 2012 R2 sysprepped parent VHDX, placed on an SSD disk (P: drive) in my server. The virtual switch the VM is connected to, is named NIC – WAN.
$VMName = “RES-MGN01”
$VMMemMaxBytes = 2048MB
$VHDXName = “OS.vhdx”
$VMMemStartup = 512MB
$VMMemMinBytes = 512MB
$VMPath = “E:\”
$VHDParent = “P:\Hyper-V Parents\TMPL-W2012R2DC\Virtual Hard Disks\TMPL-W2012R2DC.vhdx”
$VMSwitchName = “NIC – WAN”
New-VM -Name $VMName -Path $VMpath$VMName -Generation 2 -SwitchName $VMSwitchName
Set-VM -Name $VMName -DynamicMemory -MemoryStartupBytes 512MB -MemoryMinimumBytes $VMMemMinBytes -MemoryMaximumBytes $VMMemMaxBytes
New-VHD -ParentPath $VHDParent -Path $VMPath\$VMName\$VMName\$VHDXName -Differencing
Add-VMHardDiskDrive -VMName $VMName -Path $VMPath\$VMName\$VMName\$VHDXName
Add-VMDvdDrive -VMName $VMName
Start-VM -Name $VMName
Microsoft has published a free ebook “Microsoft System Center: Cloud Management with App Controller. This book gives all the capabilities of System Center App Controller and how you can implemend this great software in Cloud environments.
Download the free ebook here.