Hyper-V 2012 R2 Live Migration Failure

Hello Experts

I have been busy with server upgrades and migrations recently, splitting the roles and functions of servers and move these servers to VMs. Our company has a limited budget so I have had to make due with what is available.

What we had:

1. Setup 1

Windows 2012 Server Running SharePoint Server 2013, single drive C:- This server is a VM running on Windows Hyper-V Server 2012 R2, (Source Server: CSM-VH01) Intel Core i5 32GB RAM, SATA, SSD Drives

2. Setup 2

(CSMSRV) Windows Server 2008 running SQL, two drives / (CSM-Data) Windows Server 2012 R2 with File Server Role installed - Both servers are VMs running on Windows Hyper-V Server 2012 R2, (Source Server: CSM-VM02) Intel Core i7, 32GB RAM, SATA and SSD drives
The above setups were implemented as a temporary platform while a larger server was made available.

The Server (Destination Server: CSM-VH):
2x Intel Xeon E5520 CPUs
48GB RAM
2x 600GB SAS (RAID 1)
8x 300GB SAS (RAID 10)
2x 4TB SATA (RAID 1)
Windows Hyper-V Server 2012 R2

The server has been setup, installed, updated and is running.
Monday I migrated the VM mentioned in Setup 1, this went down without any issues. Yesterday I want to migrate the 2008 Server to the new hard but the migration failed, I then attempted the 2012 R2 server, this also failed. I then made sure all servers had the latest updates and restarted them all, tried the migration again but still both failed.

These event logs are present on the source server (CSM-VM02) in Setup 2:

Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
Source:        Microsoft-Windows-Hyper-V-VMMS
Date:          17/11/2015 4:52:31 PM
Event ID:      21026
Task Category: None
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      CSM-VM02.domain.za
Description:
Virtual machine migration operation for 'CSMSRV' failed at migration destination 'CSM-VH'. (Virtual machine ID 831C79A2-E155-4A12-B0BE-C12D76AA47B7)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
    <EventID>21026</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2015-11-17T14:52:31.332300500Z" />
    <EventRecordID>126</EventRecordID>
    <Correlation />
    <Execution ProcessID="1272" ThreadID="3012" />
    <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
    <Computer>CSM-VM02.domain.za</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <UserData>
    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
      <VmName>CSMSRV</VmName>
      <VmId>831C79A2-E155-4A12-B0BE-C12D76AA47B7</VmId>
      <Parameter0>CSM-VH</Parameter0>
    </VmlEventLog>
  </UserData>
</Event>

Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
Source:        Microsoft-Windows-Hyper-V-VMMS
Date:          17/11/2015 5:11:42 PM
Event ID:      20832
Task Category: None
Level:         Error
Keywords:      
User:          S-1-5-83-1-686381372-1090012907-3407575995-3409754633
Computer:      CSM-VM02.domain.za
Description:
Migration did not succeed. Could not start mirror operation for the VHD file 'F:\hyper-v\virtual hard disks\CSM-Data-E.vhdx' to '\\CSM-VH\CSM-VM02.1974252583$\E\CSM-Data-E.vhdx': 'General access denied error'('0x80070005').
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
    <EventID>20832</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2015-11-17T15:11:42.897748100Z" />
    <EventRecordID>131</EventRecordID>
    <Correlation />
    <Execution ProcessID="1272" ThreadID="572" />
    <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
    <Computer>CSM-VM02.domain.za</Computer>
    <Security UserID="S-1-5-83-1-686381372-1090012907-3407575995-3409754633" />
  </System>
  <UserData>
    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
      <Parameter0>F:\hyper-v\virtual hard disks\CSM-Data-E.vhdx</Parameter0>
      <Parameter1>\\CSM-VH\CSM-VM02.1974252583$\E\CSM-Data-E.vhdx</Parameter1>
      <Parameter2>%%2147942405</Parameter2>
      <Parameter3>0x80070005</Parameter3>
    </VmlEventLog>
  </UserData>
</Event>

Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
Source:        Microsoft-Windows-Hyper-V-VMMS
Date:          17/11/2015 5:11:42 PM
Event ID:      21024
Task Category: None
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      CSM-VM02.domain.za
Description:
Virtual machine migration operation for 'CSM-Data' failed at migration source 'CSM-VM02'. (Virtual machine ID 28E9593C-46EB-40F8-BB7B-1BCB09BA3CCB)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
    <EventID>21024</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2015-11-17T15:11:42.928999700Z" />
    <EventRecordID>132</EventRecordID>
    <Correlation />
    <Execution ProcessID="1272" ThreadID="572" />
    <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
    <Computer>CSM-VM02.domain.za</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <UserData>
    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
      <VmName>CSM-Data</VmName>
      <VmId>28E9593C-46EB-40F8-BB7B-1BCB09BA3CCB</VmId>
      <Parameter0>CSM-VM02</Parameter0>
    </VmlEventLog>
  </UserData>
</Event>

Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
Source:        Microsoft-Windows-Hyper-V-VMMS
Date:          17/11/2015 5:25:57 PM
Event ID:      20810
Task Category: None
Level:         Error
Keywords:      
User:          S-1-5-83-1-686381372-1090012907-3407575995-3409754633
Computer:      CSM-VM02.domain.za
Description:
Migration did not succeed. Failed to copy file 'F:\hyper-v\virtual hard disks\CSM-Data-E.vhdx' to '\\CSM-VH\CSM-VM02.2678626986$\E\CSM-Data-E.vhdx': 'General access denied error'('0x80070005').
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
    <EventID>20810</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2015-11-17T15:25:57.492464300Z" />
    <EventRecordID>135</EventRecordID>
    <Correlation />
    <Execution ProcessID="1272" ThreadID="2592" />
    <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
    <Computer>CSM-VM02.domain.za</Computer>
    <Security UserID="S-1-5-83-1-686381372-1090012907-3407575995-3409754633" />
  </System>
  <UserData>
    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
      <Parameter0>F:\hyper-v\virtual hard disks\CSM-Data-E.vhdx</Parameter0>
      <Parameter1>\\CSM-VH\CSM-VM02.2678626986$\E\CSM-Data-E.vhdx</Parameter1>
      <Parameter2>%%2147942405</Parameter2>
      <Parameter3>0x80070005</Parameter3>
    </VmlEventLog>
  </UserData>
</Event>

I also tried shutting down the VMs and exporting them to the destination server but the result was the same.
Google hasn't returned any useful information.

Please assist
LVL 1
DJMohrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Muhammad BurhanManager I.T.Commented:
seems NTFS or Share permissions requires attention to the location:
\\CSM-VH\CSM-VM02.2678626986$\E\CSM-Data-E.vhdx

set appropriate NTFS/Share then try with removing old files from the location.
0
DJMohrAuthor Commented:
Is that on the destination or source server? The name displays both servers

\CSM-VH\CSM-VM02.2678626986$\E\CSM-Data-E.vhdx

Or is the actual VMs E: drive?

And what would the permissions need to be?
0
Muhammad BurhanManager I.T.Commented:
on CSM-VH server.
first verify applied permissions, make corrections if you found something which is not supposed to be there.
then, navigate to the above location from CS-VM02 server and verify the permissions by creating/deleting something there.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

DJMohrAuthor Commented:
I just checked the permission on both servers' E: drives, their permission are exactly the same.
0
Muhammad BurhanManager I.T.Commented:
have you tried with deleting old files from the destination server ?
0
DJMohrAuthor Commented:
The destination server is newly setup, the destination drives are empty
0
Muhammad BurhanManager I.T.Commented:
refer to error
Migration did not succeed. Failed to copy file 'F:\hyper-v\virtual hard disks\CSM-Data-E.vhdx' to '\\CSM-VH\CSM-VM02.2678626986$\E\CSM-Data-E.vhdx': General access denied
CSM-vm02 is trying to copy CSM-Data-E.vhdx to CSM-VH\CSM.......location
please verify the hyper-v settings is properly set to store VM files in valid location and give that location full control rights in NTFS and Share permissions to the account which you are using in migration.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DJMohrAuthor Commented:
Is it possible that I am getting the access denied error due to the fact that the .vhdx is being placed in the root of E:?
0
DJMohrAuthor Commented:
I feel really sheepish now, turns out the vhd needs to be placed in a folder, I created Hyper-V\Virtual Hard Disks on the target drive and kicked the migration off again, working without issues now.

Thanks Muhammad
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hyper-V

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.