Recent Article: Hyper-V Replica: New VM replication tool for cost-conscious IT shops
A walkthrough and my views of use cases for the new Hyper-V 3.0 Replica feature. I have been impressed with its stability so far and for the price it has great potential in providing a cold copy of your VMs in an alternate location across the room or across the world for organizations unable to afford larger enterprise solutions. Where do you see Hyper-V Replica fitting in? As always feel free to leave comments below.
-Rob
“
The pre-beta version of Hyper-V 3.0 boasts a number of new and improved features, including a virtual machine replication technology known as Hyper-V Replica. It uses the Hyper-V Volume Shadow Copy Service (VSS) writer to prepare a snapshot of the virtual machine (VM) on the primary host (which can remain active) and moves the data to the secondary host. This capability adds disaster recovery capabilities to Hyper-V 3.0, allowing a virtualization administrator to have cold, ready copies of VMs anywhere in the world.
Hyper-V Replica creates copies on a VM-by-VM basis.While it is possible to replicate every VM to an alternate host with Hyper-V Replica, in my experience, the tool is better suited to replicating one-off line-of-business VMs that provide important infrastructure fault tolerance, rather than full virtual environments. As such, Hyper-V Replica may be impractical for large enterprises with hundreds or thousands of VMs. In these situations, administrators can use PowerShell to configure multiple VMs at once.
“
Read the rest of the article HERE.

SCVMM Console Showing Incorrect VM Performance Stats
Every once in a while I see something in a product that just doesn’t seem right. I have used SCVMM every day for years but somehow overlooked this this minor bug that caught my eye the other day.
In the screen shot below I am viewing all VMs sorted by CPU usage. As you can see there are some VMs that seem out of place. XP_Test is listed at 0% in the GUI, but in the number 4 position of heaviest CPU usage. It is also off which makes sense that it would be 0%, but not the 4th highest CPU usage.
This got me thinking about where all the data for SCVMM comes from, SQL. I have edited SCVMM SQL tables many times to correct other issues so it makes sense that this is where I might be able to dig into why XP_Test is reporting as it is.
Within the SCVMM SQL tables performance data is not listed under its VM name, but instead is associated with its VMID. In order to find the data I want, I need to first get the VMID. The SCVMM PowerShell command below will get this VMID.
Once you have the VMID, it all comes down to knowing what table the SCVMM VM performance data lives (WLC_VMInstance), and using a SQL SELECT statement from within the SQL Management Console to find the information.
Looking at the results section from the SQL query, you can see that my XP_Test VM is reporting 31% CPU utilization, which, if that value was valid, would have put it 4th overall in my CPU Utilization. Since the system is off, something went wrong with reporting correctly to SQL even though the GUI has the value correct at 0%, but incorrectly sorted due to the incorrect value in SQL.
By no means is this a large bug and the correction would be to manually modify table entry , but this is a good example of where the real data for SCVMM resides and why you should be knowledgeable about SQL if you use SCVMM. Knowing how the tables are laid out and where specific data resides will help you tremendously in understanding the product and correcting occasional incorrect statuses or performance data.
Recent Article: Using SCVMM PowerShell Cmdlets To Customize Hyper-V Live Migrations
As the sequel to my previous article "Overcoming Hyper-V Live Migration limitations with PowerShell cmdlets,” here are some creative ways to exploit the SCVMM PowerShell cmdlet to make Hyper-V Live Migrations more friendly.
“
For small IT shops, PowerShell cmdlets improve on Hyper-V Live Migration functionality. But, with the addition of System Center Virtual Machine Manager and its PowerShell capabilities, those shops can precisely coordinate live migrations between nodes and Cluster Shared Volumes.
Microsoft System Center Virtual Machine Manager (SCVMM) includes a robust graphical user interface (GUI) from which administrators can perform Hyper-V live migrations. Even so, you may feel that SCVMM lacks the granular control needed to administer a complex, Hyper-V virtual infrastructure.
SCVMM PowerShell cmdlets, however, provide increased flexibility when managing Live Migration, far beyond what is possible with the GUI. With the following SCVMM PowerShell cmdlets and scripts, for example, you can live migrate an entire host’s worth of virtual machines (VMs) to a specific node, or transfer VMs based on their Cluster Shared Volumes assignments.
”
For the rest of the article click HERE
Vendor Spotlight: Veeam Backup & Replication v6 Released
Veeam released their Backup & Replication v6 product today (Note to Veeam; time to change the URL http://www.veeam.com/vmware-esx-backup.html?ad=menu).
It is good to see the number of Hyper-V application vendors starting to increase. I hope we see more from Veeam and others soon.
-Rob
Blog Highlight: Add Possible Owner to a Cluster Shared Volume
Came across this Post for an issue when adding a new node to and existing Hyper-V R2 SP1 cluster where the new node did not get added as a possible owner of the CSV disks or of the Quorum. The presenting symptoms for me was DPMs inability to backup VMs that resided on a particular node since the ownership of the CSV could not be transferred to a node that was not allowed as a possible owner.
Running Cluster Validation returns these warnings.
(Click Picture for Larger View)
For the Quorum, the change is easy. Just open the properties of the Quorum disk resource and on the Advanced Policies tab check the check mark next to the node to make it a Possible Owner.
(Click Picture for Larger View)
CSV disks this can be a bit more challenging however since you can not add or change the Possible Owner of a CSV from the GUI. Luckily you can do this using the CLUSTER.EXE utility as outlined in Gustavo’s Post.
CLUSTER.EXE . RES “Cluster Disk 1″ /ADDOWNER:<nodename>
You could also use a PowerShell command to do the same thing.
- Open PowerShell
- Load the FailoverClusters Module
- Import-Modules FailoverClusters
- Run the Set-ClusterOwnerNode command:
- Get-ClusterResource "Cluster Disk 1" | Set-ClusterOwnerNode -Owners <nodename>
Looking at the Cluster Validation report again now will show that there are no problems with incomplete disk ownership.
(Click Picture for Larger View)
Advisory Board Question of the Month: Which new server virtualization technology are you most thankful for?
For the annual SearchServerVirtualization.com Thanksgiving Advisory Board question, the simple snapshot makes a repeat appearance for my Hyper-V feature I am most thankful for, but this time it is because of its new live merging capabilities in Hyper-V 3.0.
“
I am thankful for a Hyper-V 3.0 feature, but it’s not the flashier, increased number of virtual CPUs, the mammoth amounts of virtual machine (VM) memory, the concurrent Live Migration capabilities, or even the new VM replication feature.
Building on last year, I am thankful for the updated snapshot feature. The ability to roll back to a previous point in time after a botched application upgrade has always been a welcomed feature. But it came with a caveat: After you deleted a snapshot, you needed to shut down the VM to merge the AVHD file changes into the parent Virtual Hard Disk.
This requirement caused unwanted downtime for the application. Hyper-V 3.0 snapshots still provide the same valuable rollback method as before. But now the merging process happens live, without the necessary downtime. Thus, it eases the direct administrator interaction during application upgrades.
”
See the responses from the other Search Server Virtualization Advisory Board members here.
Windows Server 8 Quick Tip: Hyper-V 3.0 Replication
Came across this and thought I would share.
If you are trying to replicate a VM from one Hyper-V 3.0 host to another, you must make sure the the appropriate Network Resource Pools have been configured exactly the same on each node. If your VM is part of a Network Resource Pool that does not exist on the replica server, you will get the message below.
- Rob
Recent Article: Overcoming Hyper-V Live Migration Limitations with PowerShell CMDLets
With Windows Server 2008 R2, Microsoft lessened the feature gap between Hyper-V’s Live Migration and competitors’, but it still has some limitations. Thankfully, you can work around the shortcomings in Hyper-V Live Migration using Windows PowerShell cmdlets.
Hyper-V Live Migration allows admins to move a virtual machine (VM) from one Hyper-V cluster node to another with no noticeable downtime, but some shortcomings still remain, include the inability to live migrate multiple VMs at one time, the lack of scheduling capabilities for live migration, and the inability to migrate VMs based on specific criteria. Hyper-V 3.0, slated for some time in 2012, promises to improve on Hyper-V Live Migration’s limitations, but for now, there are viable workarounds with the help of PowerShell cmdlets.
Using the PowerShell Failover Cluster cmdlet
Most large Hyper-V clustered installations implement System Center Virtual Machine Manager (SCVMM), but for organizations with only one or a few Hyper-V clusters, PowerShell cmdlets can automate and orchestrate the live migration process, while avoiding the additional cost of SCVMM. Most Windows cluster administrators are familiar with Cluster.exe for managing cluster resources, but the PowerShell Failover Cluster cmdlet can accomplish even more live migration functions.
To read the rest of the article see the scripts go HERE.
Blog Highlight: VMM 2008 R2: Hyper-V Host is in Perpetual “Pending” State & VMM Service Crashes
I had an issue with SCVMM today that was new where with trying to remove a host cluster on of the Hosts became stuck in a pending state and would not finish the process of removing itself. The agent removed itself from the host correctly, but the entry within VMM would not.
After trying a more an more common task of modifying the host status within VMM database with SQL Management Studio without luck, I came across Chris’s Blog who had the solution to the same problem and I wanted to highlight his work.
After a bit of VMM database surgery, the Host entry was cleaned up perfectly and all is now stable and working perfectly. Thanks Chris.
Go HERE for the detail of this solution.
-Rob
GREAT BIG HYPER-V SURVEY of 2011
MVPs Aidan Finn, Damian Flynn, and Hans Vredevoort have put together a survey on your uses of Hyper-V and various System Center products. If you get a chance, take a few minutes and fill it out. No personal information is gathered and results will be displayed on their sites. Help continue the growth of Hyper-V and share your honest answers with the community. Just finished mine.
GREAT BIG HYPER-V SURVEY of 2011
UPDATE: Results are in. Below is a link to the report and raw data from Aidan Finn’s site.
http://www.aidanfinn.com/?p=11531
Rob


