Tuesday, January 29, 2013

Live migration problem: General access denied error (0x80070005) windows server 2012

If you try to live migrate virtual machine between two hyper-v host and you faced the following error:

"Virtual machine migration operation for 'VMname' failed at migration source 'hyper-v'. (Virtual machine ID number)

The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration with host 'hyper-v': General access denied error (0x80070005).

The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration because the destination host rejected the request: General access denied error (0x80070005)"



Resolution:
Repair failover cluster in windows server 2012.

1- go to the name of cluster.
2- bring the source offline.
3- right click on the name and choose repair.
4- right click on  the name and choose properties, and check that the DNS status: OK


hope it can help someone 

Monday, January 28, 2013

SQL 2008 R2 SP2 clustered over windows server 2012



If you happen to install SQL 2008 R2 SP2 clustered over windows server 2012, the “ cluster service verification “ rule on the initial setup wizard will fail and shows the following error:




Resolution:
-       
        Run the following Windows PowerShell cmdlet on each node to enable the Failover Cluster Automation Server feature:


add-windowsfeature RSAT-Clustering-AutomationServer 






Reference:



Saturday, January 26, 2013

Virtual Disk Manager, The requested resource is in use, windows server 2012 cluster

recently i faced an issue with attaching EMC symmetrix and Windows server 2012 failover cluster manager. suddenly all disks shows "RAW" file system and when you try to format the disk the following error appears: "the requested resource is in use".

to resolve the issue use the following command:

This command clears the persistent reservation on Disk 1


Clear-ClusterDiskReservation -Disk 1




run the command to all disks that shows RAW .. enjoy :)







Sunday, January 6, 2013

Error 0x80070569 in Hyper-V 2012

when you create a new virtual machine or use live migration over Hyper-V windows server 2012 sometimes you got the following error:

Failed to create Planned Virtual Machine at migration destination: Logon failure: the user has not been granted the requested logon type at this computer. (0x80070569)

to work around this issue:

1- open cmd as administrator
2- type
gpupdate /force


then create again the virtual machine :) 

http://support.microsoft.com/kb/2779204

Thursday, January 3, 2013

storage limit on windows 2012

Nowadays storage is getting much bigger day after day, when you represent LUNs to windows server 2012 and exceeds 2 TB you can't initialize disk as MBR. The limit in windows 2012 for MBR is 2 TB.

The only option you have is to initialize disk as GPT which can take up to 16 EB!

  • 1024MB = 1GB (gigabyte)
  • 1024GB = 1TB (terabyte)
  • 1024TB = 1PB (petabyte)
  • 1024PB = 1EB (exabyte)

windows server 2012 cluster issue


If you happened to install windows failover cluster 2012 and you get the following error in the event viewer:

EVENT ID 1228
Cluster network name resource 'Cluster Name' encountered an error enabling the network name on this node. The reason for the failure was: 
 'Unable to obtain a logon token'.
 The error code was '1326'. 
 You may take the network name resource offline and online again to retry.

EVENT ID 1196
Cluster network name resource 'Cluster Name' failed registration of one or more associated DNS name(s) for the following reason:
The handle is invalid.
Ensure that the network adapters associated with dependent IP address resources are configured with at least one accessible DNS server


This error probably because DNS issue, cluster service cannot register the name to DNS. The work around to solve this:

1- Restart the server that hold the cluster right now.
2- Open Failover Cluster Manager.
3- Navigate to Cluster Core Resource.
4- Right click on the cluster network name and take it offline.
5- Right click on the cluster name and navigate to more actions, choose repair
6- Right click on the cluster network name and check DNS: OK




Enable Multiple Remote Desktop Sessions on Windows Server 2012

In windows 2012, you can't enable multiple remote desktop sessions using GUI. Instead use registry key as following:
  1. open run.
  2. type regeidt.
  3. browse to the following key:
HKLM\system\cuurentcontrolset\control\terminalserver

    4.  open fsinglesessionperuser value and set 0.
    5. click ok

now you can able to connect RDP to windows server 2012 with multiple sessions.