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

HYPER-V (2016/2019) Remove DDA device from VM

$
0
0

Hello HYPER-V experts,

I have the following problem in a HYPER-V environment.

On a HYPER-V Server 2016 I have several VMs, where a graphics card (NVIDIA Server Quadro) is assigned by DDA.

These are replicated by HYPER-V replicas. However, there is no NVIDIA on the target system. Therefore, I understandably cannot start the VM with the DDA-bound GPU (Event-ID 33900 - The PCI Express device with the Plug & Play device instance path "PCIP-VEN_10DE&DEV_1BB0&SUBSYS_11B210DE&REV_A1"4&2AF63274&0&001B" was not found.)

Hint: after event-id 33900 follows event-id 12010 and 12030.

Now I know the commands on how to remove a DDA device from a VM, but if the device is not physically there, I have no chance to remove the DDA from the VM.

How can I remove the DDA device from the VM so that the VM starts and runs without DDA?


Danke und liebe Grüße Oliver Richter


Validation cluster Hyper-V takes a long time to run

$
0
0

I have a Hyper-V clustered environment, a total of 7 nodes and presented an approximate 110 LUNs. The problem I am having is when making a "validation cluster", it takes too long and I have to cancel the process.
Upon reaching the "list all disks" option per node it takes about 25 minutes to process, which is a very long time.
  I have read in forums that this process in total should not take more than 30 minutes, but in my environment I am having a time of hours.
I would like to know if this behavior is normal in this type of environment or there is some remediation so that this time is less.

Thank you in advance for your help.

Julio Luzon

vm (copied to new host) has no network connectivity

$
0
0

The problem:

Yesterday we had a power outage.

Fried the system disk (c:) on the host machine.

I had configured all the virtual drives and virtual machines on a second, data disk (d:); thankfully this survived.

Everything was working fine prior to the incident.

I popped in a new c: drive, and re-installed server 2012 r2, and added hyper-v.

created a new machine, using the old drives, and hooray, the vm booted with all the software intact.

*however!* the vm doesn't have internet access, nor can it be pinged.

Salient Details

Once again everything was working prior to the power outage.

I have two physical nics (nic1 nic2) in the box.  Nic1 is dedicated to the host, and it's ip is statically allocated (192.168.1.25). Nic2 is supposed to be dedicated to the vm, and I didn't bother assigning an IP to it. Both are connected to the network.

When I first added the Hyper-V role though Server Manager, I noticed that the server name/ip it came up with was ServerName/[dynamically allocated IP of nic2]; that is, hyper-V seemed to be wanting to configure the server with nic2, rather than nic1.  Is this right?  There was no option to select 'ServerName/[nic1 IP]

In HyperV after the reboot, I created a virtual switch with nic 2.  Then I created a new VM, but used the vhx file which was on the surviving physical D: drive.  I attached the virtual switch tp the new VM.

The VM booted.  All the files were there.  However, the network icon in the system tray always indicates 'Unidentified network/limited' under 'Connections'

What I've Tried:

I found i had to reset the ipv4 static ip on the new virtual machine, as well as the dns host specification.

I tried removing the HyperV role, disabling nic2, and re-adding the HyperV role.  This time the server it came up with was ServerName/[NIC1 IP].  Then re-enabled nic2, used it to create a virtual switch, and attached that to yet another created VM.

My next try, as a diagnostic, is to create a completely new VM with a new install of the OS.  I'm doing this as a diagnostic, but forsaking the old disks has pretty unpleasant implications.

It's got to be something simple!  Any help would be truly appreciated.

thanks in advance



dmc_lat47

Hyper-V 2019 - Guest VM's shutdown unexpectedly

$
0
0

Hi,

Since upgrading my Hyper-V servers to Windows Server 2019, including KB4471332 from last night, my guest VM's do not power down on restart of the 2019 host.

I can confirm integration components are as up to date as possible, and each guest is configured to shutdown when the host restarts.

Each guest gets the "Why did I shutdown unexpectedly message".

The even viewer yields the following all within 30 seconds of restarting the host:

Shut down physical computer. Stopping/saving all virtual machines...

'ADFS' failed to perform the 'Shutting Down' operation. The virtual machine is currently performing the following operation: 'Shutting Down'. (Virtual machine ID 0CFDF648-EE9D-4141-9EBD-9A6D911C3442)
'ADFS' failed to shut down. (Virtual machine ID 0CFDF648-EE9D-4141-9EBD-9A6D911C3442)

The Update Orchestrator Service service terminated with the following error:
This operation returned because the timeout period expired.

Failed to restore configuration for port 59229EE2-C880-4BF2-9849-89A21EC17772 (Friendly Name: ) on switch 300C0E17-E123-4182-BE62-AAD1860BE841 (Friendly Name: ), status = Object Name not found..

Everything is configured as it was on the 2016 Hyper-V host.

The message ADFS failed to shut down because it is shutting down seems terribly odd to me.  Of course its shutting down, just need the host to wait. (Yes the registry is set to 120 as the default time for the host....)

Fairly simple to recreate....just spin up a 2019 server, install Hyper-V role, throw in a VM and test.

Any help would be appreciated, but my money is on it being another bug.

Hyper-V Replication & iSCSI connected disk (Quickstation 4 for Backup) - integration services

$
0
0

Hello,

is there a way to have a Hyper-V Replication setup where a VM has a direct connected iSCSI disk (Quickstation 4), while VSS and other integration services still work? currently we want to ignore the iSCSI disk for the replica, so we can have backups to Quickstation and still replicate the disk to another server, but unfortunatly when we try to start the Hyper-VM replication it says that there is a direct connected iSCSI disk

is there a solution around that?

Hyper-V 2012 Task Manager Resource Monitoring

$
0
0
I love the new Task Manager in Server 2012 and Windows 8. However in Hyper-V 2012 Standalone it does not show disk performance/usage. I've also noticed that the Disk graphs don't show up in Sever 2012 either. Does anyone know if it's possible to get them to show up? I'm using VMM 2012 right now and that reports on disk activity but I'd like a more active live feed of disk usage on the system. The "open resource monitor" option is in the task manager on Hyper-V standalone but doesn't work.

Vincent Sprague

Export VM fails

$
0
0

I recently created a new virtual machine in a 2012 R2 Hyper-V cluster.  The virtual machine has Windows server 2016 running with a total of 5 virtual hard drives assigned to it. The issue we are experiencing is when I try to export the VM on one of the Host servers in the cluster the export will fail and the VM will reboot and replicate to the other host server in the cluster(This also happens when the VM is on the other Host). Out of the 10 virtual machines in the cluster this is the only server that I'm unable to export.

i did receive the following error in event viewer:

A VSS writer has rejected an event with error 0x800423f3, The writer experienced a transient error.  If the backup process is retried,
the error may not reoccur.

event ID: 1069

Cluster resource 'Virtual Machine ----' of type 'Virtual Machine' in clustered role '----' failed.
Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

Event ID: 1205

The Cluster service failed to bring clustered role '----' completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered role.

I am able to successfully create a checkpoint of the VM in Hyper-v manager.

Any help will be greatly appreciated.




disk management, can not set drive (USB) offline

$
0
0

I'm trying to set up a Hyper-V Virtual machine of Windows XP on my windows 8 Pro Laptop.

My problem is getting the VM to recognize a USB drive. I found instructions that say to, on the host, use Disk Management to set the USB drive as Offline. I follow the instructions and first remove the drive letter and then right click to set if as Offline but there is no "Offline" option?

Just like this guy's problem

Anybody know why?

thanks


gj


When disabling hyper-v winhvr.sys causes a SYSTEM_THREAD_EXCEPTION_NOT_HANDLED

$
0
0

Hello,

I am in kind of a bind where I need to run Virtualbox (v6.0.0) for one of my classes and I also need docker for my work. I downloaded Virtualbox first and everything was going great then I downloaded Docker a few days later without thinking. Obviously, after docker was installed Virtualbox stopped working.

Virtualbox error: 

(VERR_NEM_MISSING_KERNEL_API).

VT-x is not available (VERR_VMX_NO_VMX).

After some digging around I realized hyper-v was the issue so, I decided to just disable hyper-v so that I can work in Virtualbox then switch it back when I need docker. Easy enough. I go through the UI to disable hyper-v and restart my computer then I get the BSOD.

BSOD error: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED

After downloading "WhoCrashed" and checking out the error I come to find that it's a driver issue, not surprising. However, what was surprising is that it's a hyper-v driver causing the error. I was trying to disable hyper-v why would one of their drivers give me an error?

Any help would be appreciated! I'm running a X1 Carbon Lenovo 6th Gen. 

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.

Windows Server Core (1809 and 1903) hang with AMD processor

$
0
0
  Hello to all!

Searched, but didn't find who faced the similar problem. Even two servers with one processor: AMD Ryazan 7 1700, but different motherboards: ASRock and Asus. If need I write models.

 So the problem exists when I use Windows Server (Core) 1809 and 1903 the server is about a day, maximum - two. No blue screen, not even Num Lock reacted, no signal was sent to VGA.

 I haven't tried it with motherboard of Asus, but with ASRock is working on 1803 without any problems. But I have to use last Windows upgrades.

 I read somewhere that built-in antivirus may be a reason - I removed it. The result is the same.

 Can someone faced with this? What can you suggest?

Hyper-V VM Generation 2 - How to boot from .ISO

$
0
0

Hi guys, 

Server OS: Windows Server 2012 R2

I have a VM Gen2 with following settings: 

I can boot fine from the same .iso from a Gen1 VM so the .iso is bootable. 

I know that the Gen2 VM uses SCSI instead of IDE, but I have no clue regarding how to boot from the .iso..

Any ideas?

Thanks in advance!

Best regards,

Kenny

Hyper-V VM Will Not Boot off Windows 10 ISO File

$
0
0
I'm running Hyper-V within my desktop's Windows 10 OS trying to follow along with an MCSE track Pluralsight series of videos and I am stuck at trying to boot up a Windows 10 vm in my small server farm. I got the 2016 domain controller up as well as a member server with no problems booting from those ISO files. I've tried downloading the ISO file twice now directly from Microsoft's site, and it simply will not boot from that file. Trying to understand what's wrong here.  It doesn't give me the option to press any key to boot from DVD, just skips right past and attempts to boot via network.

Failover Hyper-V without Shared Storage

$
0
0

Hi Guys

            I have two brand new servers with 6 drives. 2 in Mirror, 3 Raid 5 with 1 hot spare. Both servers are identical and running Windows 2019 Datacenter. Both servers are running Hyper-V. I do not have any NAS/SAN devices being shared between these servers. I will call these servers server1 and server2 (for this example)

Is there a way to make it so that if a virtual machine on server1 dies and shuts off the replicated virtual machine on server2 will boot up automatically? The whole purpose of these servers is for virtual machine failover, I would like to do it per VM versus entire physical server. I can also format the Hyper-V partition since these servers are new and not running anything just yet.

Is Storage Spaces Direct (S2D) the answer I'm looking for? If so, how? Looks like Clustering needs as a requirement shared disks (SAN/NAS).

What do you guys think?

Thank You

Eddie

 

Hyper V Host in a cluster rebooted automatically

$
0
0

Hello,

One of our hyper V machines got rebooted and i need some help figuring it out why. Here are the error from event viewer.

---------------15268

Failed to get the disk information.

----------------12240

The description for Event ID 12240 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: 

C:\ClusterStorage\Volume1\MRPV2\MRPV2.vhdx
%%2147942403
0x80070003

The locale specific resource for the desired message is not present

--------------------------

----------------------157

The hypervisor did not enable mitigations for CVE-2018-3646 for virtual machines because HyperThreading is enabled and the hypervisor core scheduler is not enabled. To enable mitigations for CVE-2018-3646 for virtual machines, enable the core scheduler by running "bcdedit /set hypervisorschedulertype core" from an elevated command prompt and reboot.

----------------------

Available processor sets of the underlying physical NICs belonging to the LBFO team NIC /DEVICE/{9B7F0FDA-BF87-43D3-8548-DE879D9F952E} (Friendly Name: Microsoft Network Adapter Multiplexor Driver) on switch 449421A3-CB90-4D47-B8E8-824DACB58C1C (Friendly Name: HYPERV PROD VSWITCH) are not configured correctly. Reason: The processor sets overlap when LBFO is configured with sum-queue mode.


ferouze



failover cluster Event - the error code is 0x57(the parameter is incorrect) what is the solution ?

$
0
0

Hi,

failedover cluster manager hyper-v virtual machine gave the following error, what is the solution for this situation

error code:

Cluster resource 'Virtual Machine Configuration -SF' of type 'Virtual Machine Configuration' in clustered role '-SF' failed. The error code was '0x57' ('The parameter is incorrect.').

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

what is the solution ?

Best Regards,

Encrypted replication configuration

$
0
0

Hello,

I am attempting to configure encrypted replication in a fairly large (10 hosts per site) HyperV environment.  I'm using the following article as a guide:

https://www.vkernel.ro/blog/configuring-hyper-v-replica-using-certificate-based-authentication-https#anchor009
https://www.vkernel.ro/blog/set-up-automatic-certificate-enrollment-autoenroll

From what I am understanding I will require a certificate on each host.  I will also need to add the broker's certificate to the trusted certificate store on each of the hosts that the broker will reside on. Due to the requirement of a certificate on each host it makes a lot more sense to use auto-enrollment to ensure we don't have to manually renew 20+ certificates on the regular basis.

I'm having a couple of challenges, for one our hosts are running W2K16 HyperV Core, so I cannot use the certificates MMC as described in the article.  Running the MMC remotely does not appear to give me the same options as described in the article.  Can this (or should this) be done in PowerShell instead?  What would the syntax of the certificate request be?

Are there any other (hopefully better) articles that can help me do this other than the one I found above?

Thanks.


Setup Storage Replication

$
0
0
I want to setup a cluster to cluster storage replication on existing clusters. The clusters are in different locations with storage systems that are direct attached to blade chassis on each one. I have selected a 560GB volume as the data drive and a 9GB SSD as the log drive on the primary cluster and provisioned 2 drives that are exactly the same on the destination cluster(all drives are cluster shared volumes). When I run the script Test-SRTopology using the cluster drives I get an error "log drives cannot be CSVFS" when I use non clustered log drives I get and error "storage replica does not support replication of non-clustered disks" What am I doing wrong?

How can I replicate two VMs from the same source server to two different drives on target server?

$
0
0

Hello all,

I have a fairly simple setup:  My source server has two VMs, one is one drive E: and the other is on drive F:.  I want to set up replication on a target server that is set up similarly (has a drive E: and F:).  When I try to configure replication,  I cannot figure out how to copy each to its own drive on the target server.  They won't both fit on either drive, so is there any way this can be done?  On the target server I tried:

1. selecting "Allow replication from specified servers" and defining the same server twice but it won't allow it.

2. selecting "Allow replication from any authenticated server" but it only gives me a single default location to store Replica files.

I'm fairly new to this, so please forgive me if I'm overlooking something that's obvious.

   

Lost menu and cmd creen

$
0
0
Hi after installing the 2016 Hyper-v standalone, I accidentally close both the menu and the command line screen. Now I only have a black screen. How can I get them back or at least the cmd  screen.
Viewing all 19461 articles
Browse latest View live