Quantcast
Channel: Hyper-V forum
Viewing all 19461 articles
Browse latest View live

Is it possible - mixed storage and hyper-v cluster.

$
0
0

Hello. I have a few strange questions.

I have one two-node Windows Storage Server cluster that is used only as failover SMB share for my two-node Hyper-V cluster. Storage cluster has sas drives connected to both nodes (Supermicro SSG-6037B-DE2R16L).

Is it possible to create a cluster of those four nodes when only two of them have access to shared sas storage and present that storage to all four servers as SMB share? I'd like to be able to use storage nodes for hyper-v VMs as they have plenty of cores/ram that could be used for that task.

Second question is on licensing matter. Is it possible to use Hyper-V Server 2019 instead of my old Storage Server 2012 R2 since it's only task is providing storage for Hyper-V? I've checked available roles on Hyper-V 2019 and file server is allowed there.



hyper v work group replica

$
0
0

I have hyper-v  work group replica enabled between 2 hosts which is working fine

Now if I need to use the replicated machines on the second host, how do I start them? shutting down the machines on the primary replication host and starting the machines on the secondary? 

or something else?

I want to test my replicated machine for functionality for the moment i'll really need them

I cannot start any VMs - "could not initialize" "failed to create partition" (error 0x800705AA)

$
0
0
I've installed Windows Server 2008 R2 and enabled the Hyper-V role, on a computer with a single NIC and 1GB of physical RAM. (Yes I know that's not recommended, but I haven't seen anything report that Hyper-V fails to work on such a system.)  Since I need to manage this system remotely, I did NOT select it for use with a virtual network.

I've enabled NX/DEP and VT (virtualization assist) in BIOS.

I've configured VM's successfully in a half-dozen or so combinations of initial settings (type of disk, type of networking support, amount of RAM, amount of disk space), but haven't ever been able to get any VM's started - i.e. not one of them has an installed OS.  I keep running into the error:

Failed to create partition: Insufficient system resources exist to complete the requested service. (0x800705AA)

I've even tried generating a new partition on my single disk, and pointing new VM's at the new partition, thinking there was either (a) a permissions error or (b) a problem in looping back all VM storage onto the same partition where Windows Server 2008 is installed (yes I've seen the recommendations that urge us to use a separate drive - but presumably for performance' sake, and not because Hyper-V will fail entirely).

I've found no errors in the Hyper-V-VMMS event log, but plenty of errors in the Hyper-V-Worker event log, two of each of the following errors for each occasion when I've tried and failed to Start the VM:
  • ID 3110: "Failed to create partition: Insufficient system resources exist to complete the requested service. (0x800705AA)"
  • ID 3040: "'New Virtual Machine' could not initialize. (Virtual machine ID C639CD93-DDA7-44B8-B3BB-53D26E898B41)"
I uninstalled and reinstalled Hyper-V role:
- selected the only NIC on my device for virtual networking (so this server won't be remotely manageable)
- install & reboot completed
- looked into the Hyper-V events summary - found a few errors and warnings around the time I uninstalled and/or installed the Hyper-V role:
- "The Integration Services Setup Disk image could not be updated: The system cannot find the path specified. (0x80070003)"
- "The Virtual Machine Management Service could not register update notifications for the Integration Services Setup Disk image: Illegal operation attempted on a registry key that has been marked for deletion. (0x800703FA)"
- I reconfigured the Hyper-V manager to point the Virtual Hard Disks *and* Virtual Machines default directory to the new data partition

I've done a ton of tracing analysis with ProcMon to see what is going on under the covers (i.e. what raw error messages are being generated, that the Hyper-V console is interpreting on my behalf).  The only potentially related errors I've seen are two INVALID_DEVICE_REQUEST errors, generated when the VMWP.EXE process performs an "" operation on the following two file paths:
  • J:\Shared VMs\Virtual Machines\C639CD93-DDA7-44B8-B3BB-53D26E898B41\C639CD93-DDA7-44B8-B3BB-53D26E898B41.vsv
  • J:\Shared VMs\Virtual Machines\C639CD93-DDA7-44B8-B3BB-53D26E898B41\C639CD93-DDA7-44B8-B3BB-53D26E898B41.bin
Q: Does anyone have any clue what is going wrong here?
ParanoidMike (Intel)

Hyper V Replication issue

$
0
0

i have a Hyper v replica server sitting offsite, and a site to site VPN connection between the 2 sites. i had disconnection for quite some time, and most of my machine went out of sync and went into critical state. after i restored the connection, i still can't sync all my machines. even when they sync, they seem to loose connection and go into critical state again (Replication Status). below is the event i'm getting under even viewer -> Applications and Services Logs -> Microsoft -> Windows -> Hyper-V-VMMS -> Admin

Hyper-V failed to apply changes on target for virtual machine 'VM11'. Possible reasons are loss of network connection with the primary, the replication was suspended or cancelled on the primary: An unexpected network error occurred. (0x8007003B).

note the networking team confirmed there is no issue with the connection and i'm able to copy and paste files manually from one server to the other.

Unable to delete checkpoint Windows Hyper-V

$
0
0

So were unable to delete a checkpoint off of one of our VMs. When we click the option to remove the checkpoint we are prompted with the error. I ran a search and did find a file matching the name 2DB9DBF4-BB54-422D-B8E4-A49B0D3721BB but they are .VMRS and .VMCX files and are also found in another directory. I was going to just export the current VM and then recreate it from the export but I cant do that either.... the export error says that it cannot find the file specified either. Any and all assistance would be appreciated. Thanks.

Can't delete a virtual machine

$
0
0
 Hi,

THis is the first time I've come across this error and am not sure what to do, when I right click a virtual machine in hyper-v manager and click delete it says... "An error occurred while attempting to delete the selected virtual machine(s).  You might not have permission to perform this task." 

I know I have permission because I can delete others ( I am domain/enterprise admin)

Is there a "backdoor" way to delete it, or what can I do?

Thanks

Hyper-V 2019 - replica issues

$
0
0

We just moved from 2012R2 to 2019 for Hyper-V hosts.

Trying to enable Hyper-V replica for the guests, but it is failing when I deselect the paging drive (didn't replicate them on 2012R2 to ease burden on network/WAN, etc).

If I include the paging drive, Hyper-V replica is established just fine.  But I can't go back and deselect it since that is defined at the time of replication being enabled.

Errors seen on source host & destination host are below.

I'm assuming this is a bug, just wasn't sure if known and on a roadmap to be fixed or if some other workaround exists.

Source Host:
Error 6/11/2019 11:14:40 PM Hyper-V-VMMS 32000 None
Hyper-V failed to enable replication for virtual machine 'GuestVM': Not found (0x80041002). (Virtual machine ID xxxx)

Destination Host:
Error 6/11/2019 11:14:40 PM Hyper-V-VMMS 33490 None
Hyper-V failed to remove virtual hard disk 'E:\Hyper-V\GuestVM\GuestVM-P.vhdx' from the virtual machine 'GuestVM': Not found (0x80041002). (Virtual machine ID xxxx)
Error 6/11/2019 11:14:40 PM Hyper-V-VMMS 33684 None
Hyper-V failed to enable replication for Replica virtual machine 'GuestVM': Not found (0x80041002). (Virtual machine ID xxxx)

Thanks

Hyper-V Failover Cluster in Windows Server 2019: Formatting Cluster Shared Volumes with ReFS or NTFS?

$
0
0

Hi Guys,

I had a conversation with my colleague this morning about formatting CSVs for a Hyper-V Failover Cluster. According to my personal knowledge, formatting a CSV by using NTFS was the way to go. I had some restricions for ReFS in my mind and this seemed to be correct for Windows Server 2016 at least:

"Always use NTFS for your Cluster Shared Volumes even though Hyper-V VMs are now supported on ReFS in Windows Server 2016. The only exception is when using Storage Spaces Direct in which case you should use ReFS. A big reason for using NTFS is that when using ReFS for Cluster Shared Volumes it always runs in file system redirection mode which means all I/O is sent over the cluster network to the coordinator node for the volume (this is why RDMA network adapters are recommended with Storage Spaces Direct for the cluster network) rather than nodes using Direct IO to access disks directly. Also remember that with Storage Spaces Direct there is no shared storage anyway so all access is essentially redirected."

Source: https://www.itprotoday.com/windows-8/ntfs-or-refs-cluster-shared-volumes-windows-server-2016 - But also seen in many other blogs.

But now I'm curious: Whilst finding so many smart blog entries to Server 2016 - I can't find any reliable source that is either reassuring or negating this statement for Windows Server 2019. There were improvements for both, ReFS and Hyper-V - so it sounds quite promising - yet i don't get any information regarding that CSV-topic. 

Are there any experiences you'd like to share?


Carsten Brenner IT-Engineer at cloud4you GmbH (Germany)


Server AVHDX file is corrupt and i am unable to recover the recent 6 month data.

$
0
0

Hi Support,

I have physical server 2016 and installed hyper-v role & 2 VMs. VMs snapshot is corrupt and i am unable to recovery recent user file and folder backup from AVDHX file.

Please suggest any best tool so that i can recovery my data after purchase the services.

my parant VHD file working fine it is showing only old data but my recent 6 month data is missing. 

Windows Server 2019 Hyper-V Guest on Windows Server 2019 Hyper-V Host

$
0
0

Hi,

Short version: Hyper-V role installed on Windows 2019 with gen2 Win 2019 VM. File share created on that Win 2019 VM. File open (200Mb) or copy from share with Win 10 client machine is realy slow.

Please check detailed issue description: https://social.msdn.microsoft.com/Forums/en-US/3248a691-d32f-4ac6-9175-94524afc35ba/windows-server-2019-hyperv-guest-on-windows-server-2019-hyperv-host-networking-performance-error?forum=servervirtualization .  

I guess we have posted it on the wrong place..


Hyper-V Production Checkpoint - "Application state wasn't included..." & Veeam Backups Failing

$
0
0

I have been working with Veeam support on an issue that is causing our backups to fail due to VSS issues. Veeam fails the job because it sees failures in the VSS writers.

When I run a "production" backup in Hyper-V, which should grab the "application state" I receive the below message, which to mean contradicts what a "production" backup is supposed to do, backup up the application state.

When I run: "vssadmin list writers", I do see a few that say "Timed out"

The issue is across W2K12R2, W10, W2K16 and W2K19 guest systems.

We have also looked over the event log and nothing stands out as well as what is causing the issue. I created a clone of one of the VMs and re-registered the .DLLs but that did not fix it as well. 

Production Checkpoint -  Application State Wasn't Included

Coming from VMware I am still working on learning some of the different technologies in Hyper-V. Any help is greatly appreciated. 

Thank you

Microsoft Hyper-V Server 2019 - RD Virtualization Host feature missing

$
0
0

I'm trying to use Hyper-V Server 2019 as a virtualization host; This fails.

I have 3 computers;

  1. domain controller
  2. Windows Server 2019, which will be RD Connection Broker and RD Web Access
  3. Hyper-V Server 2019, which will be RD Virtualization Host

When I attempt to install this using Server Manager, RD Connection Broker and RD Web Access installation succeeds, but RD Virtualization Host fails.

Investigating further, the feature is missing! Here's some PowerShell, confirming I am running Hyper-V Server 2019 (downloaded today, 3 July 2019), and the Remote Desktop Virtualization Host feature simply not there!

Get-ComputerInfo | select OSName,OSVersion

OsName                   OsVersion
------                   ---------
Microsoft Hyper-V Server 10.0.17763


Get-WindowsFeature

Display Name                                            Name                       Install State
------------                                            ----                       -------------
[X] File and Storage Services                           FileAndStorage-Services        Installed
    [ ] File and iSCSI Services                         File-Services                  Available
        [ ] File Server                                 FS-FileServer                  Available
    [X] Storage Services                                Storage-Services               Installed
[X] Hyper-V                                             Hyper-V                        Installed
[ ] Remote Desktop Services                             Remote-Desktop-Services        Available
[ ] .NET Framework 3.5 Features                         NET-Framework-Features         Available
    [ ] .NET Framework 3.5 (includes .NET 2.0 and 3.0)  NET-Framework-Core               Removed
[X] .NET Framework 4.7 Features                         NET-Framework-45-Fea...        Installed
    [X] .NET Framework 4.7                              NET-Framework-45-Core          Installed
    [ ] ASP.NET 4.7                                     NET-Framework-45-ASPNET        Available
    [X] WCF Services                                    NET-WCF-Services45             Installed
        [X] TCP Port Sharing                            NET-WCF-TCP-PortShar...        Installed
[ ] Background Intelligent Transfer Service (BITS)      BITS                           Available
    [ ] Compact Server                                  BITS-Compact-Server            Available
[ ] BitLocker Drive Encryption                          BitLocker                      Available
[ ] Data Center Bridging                                Data-Center-Bridging           Available
[ ] Enhanced Storage                                    EnhancedStorage                Available
[ ] Failover Clustering                                 Failover-Clustering            Available
[ ] I/O Quality of Service                              DiskIo-QoS                     Available
[ ] Media Foundation                                    Server-Media-Foundation        Available
[ ] Multipath I/O                                       Multipath-IO                   Available
[ ] Remote Server Administration Tools                  RSAT                           Available
    [ ] Feature Administration Tools                    RSAT-Feature-Tools             Available
        [ ] BitLocker Drive Encryption Administratio... RSAT-Feature-Tools-B...        Available
        [ ] DataCenterBridging LLDP Tools               RSAT-DataCenterBridg...        Available
        [ ] Failover Clustering Tools                   RSAT-Clustering                Available
            [ ] Failover Cluster Module for Windows ... RSAT-Clustering-Powe...        Available
            [ ] Failover Cluster Automation Server      RSAT-Clustering-Auto...        Available
            [ ] Failover Cluster Command Interface      RSAT-Clustering-CmdI...        Available
    [ ] Role Administration Tools                       RSAT-Role-Tools                Available
        [ ] Hyper-V Management Tools                    RSAT-Hyper-V-Tools             Available
            [ ] Hyper-V Module for Windows PowerShell   Hyper-V-PowerShell             Available
[ ] SMB 1.0/CIFS File Sharing Support                   FS-SMB1                        Available
    [ ] SMB 1.0/CIFS Client                             FS-SMB1-CLIENT                 Available
    [ ] SMB 1.0/CIFS Server                             FS-SMB1-SERVER                 Available
[ ] SMB Bandwidth Limit                                 FS-SMBBW                       Available
[ ] SNMP Service                                        SNMP-Service                   Available
    [ ] SNMP WMI Provider                               SNMP-WMI-Provider              Available
[ ] Telnet Client                                       Telnet-Client                  Available
[X] Windows Defender                                    Windows-Defender               Installed
[X] Windows PowerShell                                  PowerShellRoot                 Installed
    [X] Windows PowerShell 5.1                          PowerShell                     Installed
    [ ] Windows PowerShell 2.0 Engine                   PowerShell-V2                  Available
[ ] Windows Server Backup                               Windows-Server-Backup          Available
[ ] Windows Standards-Based Storage Management          WindowsStorageManage...        Available
[ ] Windows Subsystem for Linux                         Microsoft-Windows-Su...        Available
[X] WoW64 Support                                       WoW64-Support                  Installed

According to Using Hyper-V Server 2008 R2 for VDI – Matthijs's blog I would have expected to something like this, clearly showing "Remote Desktop Virtualization Host" as a component;

But that doesn't appear on Hyper-V Server 2019.

Hence...

Add-WindowsFeature –Name RDS-Virtualization

...simply doesn't work.

How do install "Remote Desktop Virtualization Host" on Hyper-V Server 2019?

Hyper-V 2016 VMs stuck 'Creating checkpoint 9%' while starting backups

$
0
0

We have a two clustered W2016 Hyper-V hosts, every couple of days one of the hosts gets stuck when the backup kicks off. In Hyper-V manager the VMs all say 'Creating checkpoint 9%' It's always the same percentage 9%. You can't cancel the operation and the VMMS service refuses to stop, the only way to get out of the mess is to shutdown the VMs, and hard reset the effected node. The backup works for a few days then it all starts again.

The only events I can see on the effected node is:

Event ID: 19060 source: Hyper-V-VMMS

'VMName' failed to perform the 'Creating Checkpoint' operation. The virtual machine is currently performing the following operation: 'Creating Checkpoint'.

Can anybody help please? Cluster validation is clean. Hosts and guests are patched up.

Action SAVE to Hyper v to merge avhdx to VHDX

$
0
0
Question .. it is okie if I can just simply add action "SAVE" to my Hyper V, then delete the checkpoint subtree! u think it will automatically merge the avhdx to the VHDX?

Reverse replication failed

$
0
0

I currently do unplanned failover, vm successfully up and run.

1. got an error when do reverse replication, Unable to Enable Replication.

2. Got the following Event Id error when i initiate the reverse replication from replica host.

- Event Id 16300 and 33686 – Primary Host

- Event Id 32070 – Replica Host 

Can someone help me to solve.

Description:
The description for Event ID32070 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

%%2147942413
0x8007000D

The locale specific resource for the desired message is not present

The error not giving to much information to solve.

 


Hyper-V / Windows Core 2016 device management

$
0
0
Spent several hours getting Windows Device Management to remotely connect to Hyper-V Core 2016. Only to discover later, after searching the web, this isn't going to work. Never. Device management is to be done with PNPUtil and / or DevCon. Not exactly the most user-friendly tools. So I wonder how you out there manage devices and drivers on Windows Core?

Simon Weel


HyperV Cluster Replica Broker error - "object could not be found" from Enable-VMReplication Powershell

$
0
0

Ok I admit it. This one is driving me crazy ;)

1) I have two Server2016 (Standard) HyperV Clusters - Source01 and DR01. Both part of same forest/domain.

2) Both Source01 and DR01 clusters have a HyperV Replica Broker installed and replication settings configured for Kerberos, Port80 and allow from any server.

3) I can initiate VM Replica successfully in both directions using the FailoverClusterManager UI. It creates the replica, transfers the initial data and everything appears to work.

However....

I need to create the replica using Powershell, but when I try to do it using the Enable-VMReplication powershell command it fails with:

I must be doing something wrong as the UI works. Perhaps some remote permissions not enabled? Remote WMI? something? hopefully some rookie mistake...

1) I've turned the firewall of DR01 off (just in case, just until figure out this issue)

2) The hyperV virtual machine management service is running correctly on both Source01 and DR01

3) the HyperV console on Source01 can correctly connect to DR01 and view/manage the VMs in the console - and vice versa.

Anyone got any ideas? Or seen this behaviour before?

thanks

Joe.

Data recover from snapshot file - AVHDX

$
0
0

Hello All

I have a problem in that my Hyper-V server crashed corrupting one of my client VM's. Luckily I had done an export recently and was able to get this back online quickly. My problem is data recovery. I'd like to get some data off the VM client that didn't boot but it appears to have snapshots (mixture of VHDX and AVHDX files). Im not aware of taking any and none were and are shown in the snapshot area of the Hyper_v manager.

Is there any way I can mount these files (at present I can't right click and mount as I can with a normal VHDX) to get the data?

Also I'd like to be rid of the AVHDX file and revert to the basic VHDX but how can I when the system does not show it has any snapshots??

Hope that makes sense!

thanks!!!

AVHDX files without existing snapshots (Hyper-V 2016)

$
0
0

Hi guys, 

I accidentally found out some AVHDX files for one of the virtual machine drives. 

I inspected SQL-CPH2-OS.vhdx and got this. 

 

So as you can see it is not referring to any of AVHDX files.

I also checked whether a snapshot or snapshots exist for this server but found nothing.

If someone ever had the similar situation please advise if it is safe to delete those AVHDX files.

Regards,  

hyper v work group replica

$
0
0

I have hyper-v  work group replica enabled between 2 hosts which is working fine

Now if I need to use the replicated machines on the second host, how do I start them? shutting down the machines on the primary replication host and starting the machines on the secondary? 

or something else?

I want to test my replicated machine for functionality for the moment i'll really need them

Viewing all 19461 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>