Monthly archives "August 2014"

E-Book on Hyper-V from Altaro

Altaro Software has published a free E Book on Hyper-V written by Eric Siron. Its a well narrated and informative stuff which will be a great asset for any Hyper-V administrator. Eric also contributes for the Hyper-V blog which I always follow.

7 Key Areas of Hyper-V

Grab your copy of e book here.




Removing stale HostCluster and VMHost from SCVMM 2012 R2

I had seen few cases where deleting a VMHost from SCVMM console may fail. Even with the -Force switch in Powershell will not help. This was based on my experience with the previous versions.

This time also, I got a chance to try it with SCVMM 2012 R2. Worked well.

Here is the sequence.

1) Delete all VMs from this cluster

2) Delete each Host one by one.

Remove-VMHost -VMHost HyperVHostName -Force

3) Once all Hosts are removed, Remove the VMHostCluster

Get-VMHostCluster -Name HostClusterName |Remove-VMHostCluster


Just Remove-VMhostCluster will not help.



PS C:\Users\shaba> Remove-VMHostCluster -VMHostCluster HostClusterName
Remove-SCVMHostCluster : Cannot bind parameter ‘VMHostCluster’. Cannot convert the “HostClusterName” value of type
“System.String” to type “Microsoft.SystemCenter.VirtualMachineManager.HostCluster”.
At line:1 char:37
+ Remove-VMHostCluster -VMHostCluster HostClusterName
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Remove-SCVMHostCluster], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.RemoveHostClusterCmdlet


Ensure that you have a safe backup before playing around !

Good luck !


In-place Upgrading Windows Server 2012 Cluster Node to Windows Server 2012 R2

Last year, I wrote about upgrading a Windows Server 2012 Hyper-V server to Windows Server 2012 R2. That was an inplace upgrade and a direct shot.

After that, I was trying to see how this upgrade will happen if the Windows server 2012 is a member of a cluster.

Tried and here is the result.

Compatibility Report


Its something which is not possible. 😀

Though I shouldn’t be trying this keeping the thumb rule that cluster nodes must be unique. But this afternoon made me crazy thinking of different approach.

I wish if the systems are made in such a way that we can independently upgrade the cluster nodes one by one to the latest versions. May be – developers can think about having “Upgrade Mode” which will allow to have two versions of OS working together with limited functionality. so that we could quickly upgrade the nodes one by one and once finishing, switching back to the normal mode.




Update rollup 3 for System Center 2012 R2 Virtual Machine Manager released

RU3 for SCVMM 2012 R2 was released on July 29th.

I feel like this was a silent release. I couldnt find this information on any blog or forums.

Issues that are fixed in this update rollup
Total storage for a User role is reported incorrectly. For example, the User role can use only half of the allowed quota.
A host cluster update fails intermittently because of a locked job.
Virtual machine (VM) refreshers do not update highly available virtual machines (HAVMs) after failover to another node.
A cluster IP address for a guest cluster configuration in a Hyper-V Network Virtualization (HNV) environment is not updated correctly by using HNV policies during failover.
The cluster IP address in an HNV environment is updated incorrectly during failover
Server Message Block (SMB) shares may not be usable by high availability (HA) workloads if they are also connected to stand-alone hosts.
Storage objects discovery does not occur on a Virtual Machine Manager server if the discovery item is too big.
 A Virtual Machine Manager job that assigns network service backend connectivity fails.
Enable maintenance mode fails when you evacuate failed-state VMs.
The Virtual Machine Manager service cannot be restarted because of database corruption.
The ZH-TW language incorrectly appears in the tooltip of the VM Network icon.
Library refresher rewrites the alternative data stream on every file during every update.
For iSCSI hardware storage-based array, when the MaskingPortsPerView property option is set to "multi-port per view," the target endpoint is not obtained as the port address.
The virtual hard disk (VHD) is left in the source folder after storage migration is completed.
The addition of a bandwidth limitation to an existing virtual private network (VPN) connection is not added to the generated script.
A VM that is attached to an HNV VM network loses connectivity when it is live migrated to another node in the failover cluster that is not currently hostingother VMs that belong to the same VM network.
VM network shared access is lost after a service restart or an update interval.
The Remove-SCFileShare command fails for a network-attached storage SMI-S provider.
Setting the template time zone to UTC (GMT +0:00) is incorrectly displayed as "Magadan Standard Time."
The System Center 2012 R2 Virtual Machine Manager crashes when you add groups that contain the at sign (@) character in User roles.
VM deployment fails in a VMWare environment when you have virtual hard disk (.vmdk) files of the same size in your template.
Deployment of an application host on HAVMM fails and generates a 22570 error.
Live migration of an HAVM cross cluster creates a duplicate VM role in the target cluster.
An error occurs when you apply physical adapter network settings to a teamed adapter.
A VMM agent crashes continuously when the HvStats_HyperVHypervisorLogicalProcessor query returns a null value.
A host refresh does not update the VMHostGroup value of a VMWARE cluster after the cluster is moved from VCENTER.
VMM reports an incorrect Disk Allocation size for dynamic VHDs that are mapped to a virtual machine.
A VMM service template script application does not work for a self-service role.
VM creation fails if Virtual Machine Manager undergoes failover during the creation process.
The Access Status value of a file share is incorrect in the user interface.
The Virtual Machine Manager service crashes because of an invalid ClusterFlags value.
VMs cannot be deployed from a service template to a cloud across multiple host clusters (multiple datacenters).
Features that are added in this update rollup
This update includes a Linux guest agent upgrade to support the following new operating systems:
 Ubuntu Linux 14.04 (32-bit)
 Ubuntu Linux 14.04 (64-bit)
 This update also includes the following:
 Host DHCP extension driver upgrade
 Several performance improvements
 Several Management Pack package improvements