Archive for the ‘Windows Server 2008 R2’ Category
Did You know that you can add a VHD disk to your windows 2008 R2 Server and /or boot from it ?
You can easy edit the VHD and reuse it in hyper-v.
So go to disk manager and right click on disk management
You can create a new VHD. If you use dynamic make sure you have the disk space that u needed.
I use a fixed disk with windows 7 on it. that I use in hyper-v as golden Image for my desktops.
fill in the VHD location. You can make it read only if you need software install that is on a VHD, I have a VHD with all the ISO files on it that I can mount on every server if I need to install extra software or tools.
But now I use the Windows 7 VHD now that I mounted the disk I can use it.
I need a WallPaper on the windows 7
now I can do a offline or detach vhd , If I don;t I get this error in hyper-v
even if the disk is offline
You can also delete the VHD 😉
or You can boot from the VHD it is just like in windows 7 mount it and use bcdedit to change the boot string.
below are samples.
bcdedit /set {GUID} device file=[c:]vhdwin7.vhd
bcdedit /set {GUID} osdevice file=[c:]vhdwin7.vhd
Here are some articles and video about booting from VHD.
http://blogs.msdn.com/cesardelatorre/archive/2009/01/11/windows-7-natively-booting-from-a-vhd-virtual-pc-image-file.aspx
Inside Windows 2008 R2 Virtualization Improvements and Native VHD Support (Mark Russinovich)
http://www.microsoft.com/emea/teched2008/itpro/tv/default.aspx
Recently I saw some clusters that are not patched and or where not aware that there were hotfixes.
So here is a list of required and optional Windows 2008R2 SP1 hotfixes.
This list is found on several pages on the web and could be handy.
Windows & Hyper-V : Required Hotfixes
Validate SCSI Device Vital Product Data (VPD) test fails after you install Windows Server 2008 R2 SP1
http://support.microsoft.com/kb/2531907 (required for 3+ node Hyper-V clusters)
The network connection of a running Hyper-V virtual machine may be lost under heavy outgoing network traffic on a computer that is running Windows Server 2008 R2 SP1
http://support.microsoft.com/kb/2263829
The Cluster service stops unexpectedly on a Windows Server 2008 R2 failover cluster node when you perform multiple backup operations in parallel on a cluster shared volume
http://support.microsoft.com/kb/2494162
MPIO failover fails on a computer that is running Windows Server 2008 R2
http://support.microsoft.com/kb/2460971
The MPIO driver fails over all paths incorrectly when a transient single failure occurs in Windows Server 2008 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2522766
Performance decreases in Windows Server 2008 R2 when the Hyper-V role is installed on a computer that uses Intel Westmere or Sandy Bridge processors
http://support.microsoft.com/kb/2517329
Stop error 0x0000007a occurs on a virtual machine that is running on a Windows Server 2008 R2-based failover cluster with a cluster shared volume, and the state of the CSV is switched to redirected access.
http://support.microsoft.com/kb/2494016
Optional Hotfixes
An update is available for Hyper-V Best Practices Analyzer for Windows Server 2008 R2
http://support.microsoft.com/kb/2485986
“0x0000009E” Stop error when you add an extra storage disk to a failover cluster in Windows Server 2008 R2
http://support.microsoft.com/kb/2520235
A virtual machine online backup fails in Windows Server 2008 R2 when the SAN policy is set to Offline All
http://support.microsoft.com/kb/2521348
Cluster node cannot rejoin the cluster after the node is restarted or removed from the cluster in Windows Server 2008 R2
http://support.microsoft.com/kb/2549472
Cluster service stops when an error occurs in the registry replication process of a failover cluster in Windows Server 2008 R2 or in Windows Server 2008
http://support.microsoft.com/kb/2496034
0×20001 Stop error when you start a Linux VM in Windows Server 2008 R2 SP1
http://support.microsoft.com/kb/2550569
A heap memory leak occurs when an application or service queries the MSCluster_Resource WMI class in Windows Server 2008 R2
http://support.microsoft.com/kb/2580360
Cluster service initiates a failover after a delay of about 80 seconds when you shutdown the active node in Windows Server 2008 R2
http://support.microsoft.com/kb/2575625/en-us?sd=rss&spid=14134
New registration entries are added to the Persistent Reservation table when the physical disk resource that is associated with the CSV is taken offline on a Windows Server 2008 R2-based Failover Cluster
http://support.microsoft.com/kb/2579052/en-us?sd=rss&spid=14134
A transient communication failure causes a Windows Server 2008 R2 failover cluster to stop working
http://support.microsoft.com/kb/2550886
Cluster service leaks memory when the service handles state change notifications in Windows Server 2008 R2 or Windows Server 2008
http://support.microsoft.com/kb/2550894
Hyper-V Export function consumes all available memory in Windows Server 2008 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2547551
Microcode update for Intel processors in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2493989
Corrupted VSS snapshot
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=975688&kbln=en-us
FIX: The guest operating system may crash (STOP 0xd) when you perform a live migration of Hyper-V virtual machines in a Windows Server 2008 R2 environment
http://support.microsoft.com/kb/2636573
A lot of cluster errors starts here just because the cluster account has no access in the Active directory.
A sample of a DHCP server that is just created is failing.
Cluster network name resource ‘MVPDHCP79’ failed to create its associated computer object in domain ‘mvp.local’ during: Resource online.
The text for the associated error code is: A constraint violation occurred.
Please work with your domain administrator to ensure that:
– The cluster identity ‘CLUSTER12$’ has Create Computer Objects permissions. By default all computer objects are created in the same container as the cluster identity ‘CLUSTER12$’.
In the cluster manager you can see the just created resources and as you can see the DHCP resource is not online. Why ? well in the error screen you can see
Cluster network name resource ‘MVPDHCP79’ failed to create its associated computer object in domain ‘mvp.local’ during: Resource online.
The text for the associated error code is: A constraint violation occurred.
Please work with your domain administrator to ensure that:
– The cluster identity ‘CLUSTER12$’ has Create Computer Objects permissions. By default all computer objects are created in the same container as the cluster identity ‘CLUSTER12$’.
– The quota for computer objects has not been reached.
– If there is an existing computer object, verify the Cluster Identity ‘CLUSTER12$’ has ‘Full Control’ permission to that computer object using the Active Directory Users and Computers tool.
Cluster resource ‘MVPDHCP79’ of type ‘Network Name’ in clustered role ‘MVPDHCP79’ failed.
The cluster identity ‘CLUSTER12$’ has Create Computer Objects permissions. By default all computer objects are created in the same container as the cluster identity ‘CLUSTER12$’.
Ok seams clear to me the Cluster computer object has no access to create a object in the AD.
Easy to fix just give the account god mode and your done… Well yes but I do it different.
In the AD I created a OU where I placed My Cluster resources.
In my OU I do delegation of Control
I pick my cluster netbiosname and choose what to do with it. custom rule
and create object is this folder this way I have control over who and what is creating objects in my AD , all I need is that the cluster computer account can create objects in the AD.
And in my cluster I bring the DHCP online and yes is is online and in the AD there is my DHCP object
And it is creating the objects in the cluster OU